Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.ProcessComponents.Thermal.DistrictHeating.TwinPipeSubstation_PriValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Running command: translateModel(AES.ProcessComponents.Thermal.DistrictHeating.TwinPipeSubstation_PriValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Thermal.DistrictHeating.TwinPipeSubstation_PriValve") translateModel(AES.ProcessComponents.Thermal.DistrictHeating.TwinPipeSubstation_PriValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Thermal.DistrictHeating.TwinPipeSubstation_PriValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.119/0.119, allocations: 17.69 MB / 33.64 MB, free: 1.734 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002355/0.002355, allocations: 178.2 kB / 38.92 MB, free: 8.25 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.746/1.746, allocations: 205.4 MB / 249.5 MB, free: 2.414 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008043/0.0008046, allocations: 95.56 kB / 302.2 MB, free: 4.414 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004058/0.000406, allocations: 8 kB / 366.9 MB, free: 3.613 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.293, allocations: 51.99 MB / 418.9 MB, free: 24.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1565/0.4495, allocations: 80.41 MB / 499.3 MB, free: 7.855 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003296/0.4499, allocations: 75.95 kB / 499.4 MB, free: 7.781 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowTwoTwinPorts_pwh.mo:4:3-4:45:writable] Warning: No corresponding 'inner' declaration found for component .AES.ProcessComponents.Thermal.System_settings.System_liquid system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: AES.ProcessComponents.Thermal.DistrictHeating.TwinPipeSubstation_PriValve. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/pwhTwinPort.mo:3:1-8:16:writable] Error: Invalid stream connector .AES.ProcessComponents.Thermal.Interfaces.pwhTwinPort: A stream connector must have exactly one flow variable, this connector has 2 flow variables. Error: Error occurred while flattening model AES.ProcessComponents.Thermal.DistrictHeating.TwinPipeSubstation_PriValve Notification: Performance of FrontEnd: time 0.00213/0.4521, allocations: 0.6676 MB / 0.4884 GB, free: 7.113 MB / 362.7 MB