Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_StateGraph2_Modelica_StateGraph2.Examples.Applications.ControlledTanks.ControlledTanks2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_StateGraph2.Examples.Applications.ControlledTanks.ControlledTanks2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2.Examples.Applications.ControlledTanks.ControlledTanks2") translateModel(Modelica_StateGraph2.Examples.Applications.ControlledTanks.ControlledTanks2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2.Examples.Applications.ControlledTanks.ControlledTanks2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001445/0.001446, allocations: 169.2 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 221.5 MB / 229.6 MB, free: 7.52 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008687/0.0008688, allocations: 85.72 kB / 280.5 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo): time 0.08858/0.08858, allocations: 13.57 MB / 344.8 MB, free: 1.492 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.569e-05/1.571e-05, allocations: 1.891 kB / 404.7 MB, free: 45.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.12, allocations: 53.73 MB / 458.5 MB, free: 11.96 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8639/0.984, allocations: 301.1 MB / 0.7418 GB, free: 155.4 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001604/0.9842, allocations: 49.17 kB / 0.7418 GB, free: 155.4 MB / 474.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:4572:11-4575:37:writable] Warning: Connecting two signal sources while connecting shutTank1.inPort[1].checkUnaryConnection to entry[1].checkUnaryConnection. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:4576:11-4579:37:writable] Warning: Connecting two signal sources while connecting shutTank2.inPort[1].checkUnaryConnection to entry[2].checkUnaryConnection. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:4580:11-4583:37:writable] Warning: Connecting two signal sources while connecting tank1Empty.outPort[1].available to exit[1].available. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:4580:11-4583:37:writable] Warning: Connecting two signal sources while connecting tank1Empty.outPort[1].checkOneDelayedTransitionPerLoop to exit[1].checkOneDelayedTransitionPerLoop. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:4585:11-4588:37:writable] Warning: Connecting two signal sources while connecting tank2Empty.outPort[1].available to exit[2].available. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:4585:11-4588:37:writable] Warning: Connecting two signal sources while connecting tank2Empty.outPort[1].checkOneDelayedTransitionPerLoop to exit[2].checkOneDelayedTransitionPerLoop. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:13027:3-13027:32:writable] Warning: Connecting two signal sources while connecting inPort[1].checkOneDelayedTransitionPerLoop to local_inPort[1].checkOneDelayedTransitionPerLoop. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:13027:3-13027:32:writable] Warning: Connecting two signal sources while connecting inPort[1].fire to local_inPort[1].fire. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:13028:3-13028:34:writable] Warning: Connecting two signal sources while connecting outPort[1].fire to local_outPort[1].fire. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:13029:3-13029:34:writable] Warning: Connecting two signal sources while connecting suspend[1].fire to local_suspend[1].fire. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:13030:3-13030:32:writable] Warning: Connecting two signal sources while connecting resume[1].checkOneDelayedTransitionPerLoop to local_resume[1].checkOneDelayedTransitionPerLoop. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:13030:3-13030:32:writable] Warning: Connecting two signal sources while connecting resume[1].fire to local_resume[1].fire. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:13031:3-13031:30:writable] Warning: Connecting two signal sources while connecting entry[1].checkUnaryConnection to local_entry[1].checkUnaryConnection. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:13031:3-13031:30:writable] Warning: Connecting two signal sources while connecting entry[2].checkUnaryConnection to local_entry[2].checkUnaryConnection. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:13033:5-13033:30:writable] Warning: Connecting two signal sources while connecting exit[1].available to local_exit[1].available. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:13033:5-13033:30:writable] Warning: Connecting two signal sources while connecting exit[1].checkOneDelayedTransitionPerLoop to local_exit[1].checkOneDelayedTransitionPerLoop. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:13033:5-13033:30:writable] Warning: Connecting two signal sources while connecting exit[2].available to local_exit[2].available. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:13033:5-13033:30:writable] Warning: Connecting two signal sources while connecting exit[2].checkOneDelayedTransitionPerLoop to local_exit[2].checkOneDelayedTransitionPerLoop. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:15020:7-15026:3:writable] Warning: Usage of non-standard operator (not specified in the Modelica specification): Connections.uniqueRoot. Functionality might be partially supported but is not guaranteed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:15028:7-15035:4:writable] Warning: Usage of non-standard operator (not specified in the Modelica specification): Connections.uniqueRootIndices. Functionality might be partially supported but is not guaranteed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:15028:7-15035:4:writable] Error: Wrong type or wrong number of arguments to Connections.uniqueRootIndices(local_entry.node, local_exit.node, " The connection structure in a Parallel component is not correct: There must be exactly one unique path from every exit port to every entry port. This is not the case here. "). (in component tankController.shutStep). Error: Error occurred while flattening model Modelica_StateGraph2.Examples.Applications.ControlledTanks.ControlledTanks2 Notification: Performance of FrontEnd: time 0.6454/1.63, allocations: 200.8 MB / 0.9379 GB, free: 98.5 MB / 474.7 MB