In a medium pot over medium heat, slowly sauté the onions with oil, rosemary and thyme until onions are soft and translucent. Stir continually.
Add water, cover with lid and steam onions for 10 minutes.
Add balsamic vinegar and stir continually until liquid is absorbed.
Season with salt and pepper (to taste).