Heat olive oil. Add onion and carrots and saute for a couple of minutes. Add a bit of water, cover and simmer over low heat until vegetables are tender.
Add the tomatoes, and simmer, covered for 15 minutes. Strain through a food mill or puree in a food processor and then pass sauce through a sieve to remove lumps. Season with salt and pepper.