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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 112.4 kB / 16.39 MB, free: 6.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 190.2 kB / 17.32 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08723/0.08723, allocations: 22.33 MB / 313.5 MB, free: 8.918 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 59.91 kB / 437.7 MB, free: 11.8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1113, allocations: 54.96 MB / 492.6 MB, free: 4.801 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowTwoTwinPorts_pwh.mo:4:3-4:45:writable] Error: The model can't be instantiated due to top-level outer element 'system', it may only be used as part of a simulation model. Notification: Performance of FrontEnd: time 0.003844/0.1152, allocations: 3.018 MB / 495.7 MB, free: 1.762 MB / 366.1 MB