--
Tasks are instanciations of TaskModels. At instanciation, tasks must have all their resources connected.
exemple_inst = Task( exemple_task_model, "exemple_task_name", portmap = { "port1" : resourceA, "port2" : resourceB } )