sub.connect(subinAction, hscInAct);
//hscInPz.link(rSubPz);
//hscInV.link(rSubOutV);
//hscInR.link(rSubOutR);
Iterator entities = sub.entityList().iterator();
while (entities.hasNext()) {
Entity ent = (Entity) entities.next();
Port p = ent.getPort("inputPx");