Preheat the oven to 180°C (fan forced).
In a baking tray, line the tomatoes, onions and garlic. Season with thyme, salt and pepper; drizzle with olive oil.
Roast the tomatoes for about 15 minutes or till done. Remove from oven, cool and blend; keep aside.
In a deep pan, heat more olive oil and add the squid rings. Cook for about 1 minute on high heat and then add the mushrooms. Cook for another minute and season with chilli flakes, paprika, oregano and salt. Sauté till the squid rings are almost done.
Add the roasted tomato sauce; mix well to combine and remove from heat.
Cook the penne in salted boiling water till al dente, drain but reserve a bit of the water in which the pasta was cooked.
Add the penne to the sauce and mix well to combine. Add a few spoons of the pasta water if you want to loosen the sauce; this is an optional step.
Garnish with chopped parsley leaves
Serve warm with grated parmesan.