Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Examples.SimpleEngine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001924/0.001924, allocations: 104.3 kB / 19.77 MB, free: 2.051 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 218.2 kB / 23.07 MB, free: 4.844 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.47/1.47, allocations: 230.6 MB / 256.9 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.8581/0.8581, allocations: 100.9 MB / 414.2 MB, free: 2.824 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Examples.SimpleEngine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="PI1.I.y|Time|boiler.M|boiler.U_med|conductionElement.h|crankDrive.omega|crankDrive.phi|firstOrder.y|flowResistance3.m_flow|flowResistance4.m_flow|flowResistance5.m_flow|flowResistance6.m_flow|piston.M_left|piston.M_right|piston.medium_left.u|piston.medium_right.u|steamSink.x|terminalSource.p",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Examples.SimpleEngine") translateModel(ThermofluidStream.Examples.SimpleEngine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="PI1.I.y|Time|boiler.M|boiler.U_med|conductionElement.h|crankDrive.omega|crankDrive.phi|firstOrder.y|flowResistance3.m_flow|flowResistance4.m_flow|flowResistance5.m_flow|flowResistance6.m_flow|piston.M_left|piston.M_right|piston.medium_left.u|piston.medium_right.u|steamSink.x|terminalSource.p",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Examples.SimpleEngine") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.367e-05/2.367e-05, allocations: 5.781 kB / 0.5653 GB, free: 35.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleEngine): time 0.7114/0.7114, allocations: 224.5 MB / 0.7846 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.06577/0.7772, allocations: 49.88 MB / 0.8333 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006378/0.7836, allocations: 111.2 kB / 0.8334 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01142/0.795, allocations: 2.62 MB / 0.8359 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.03479/0.8298, allocations: 7.255 MB / 0.843 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02613/0.8559, allocations: 6.462 MB / 0.8493 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01779/0.8737, allocations: 7.942 MB / 0.8571 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003333/0.877, allocations: 1.047 MB / 0.8581 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02205/0.8991, allocations: 8.2 MB / 0.8661 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007354/0.9064, allocations: 2.534 MB / 0.8686 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002595/0.909, allocations: 498.4 kB / 0.8691 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03233/0.9414, allocations: 10.14 MB / 0.879 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of combineBinaries: time 0.01535/0.9567, allocations: 9.527 MB / 0.8883 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of replaceArrayConstructors: time 0.007932/0.9646, allocations: 5.919 MB / 0.8941 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00288/0.9675, allocations: 475.9 kB / 0.8945 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of FrontEnd: time 0.001133/0.9687, allocations: 198.1 kB / 0.8947 GB, free: 2.66 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1040 (853) * Number of variables: 1042 (970) Notification: Performance of [SIM] Bindings: time 0.0437/1.012, allocations: 27.71 MB / 0.9218 GB, free: 7.414 MB / 0.6387 GB Notification: Performance of [SIM] FunctionAlias: time 0.006536/1.019, allocations: 3.121 MB / 0.9248 GB, free: 4.395 MB / 0.6387 GB Notification: Performance of [SIM] Early Inline: time 0.03454/1.053, allocations: 17.33 MB / 0.9417 GB, free: 3.344 MB / 0.6544 GB Notification: Performance of [SIM] Simplify 1: time 0.006721/1.06, allocations: 1.928 MB / 0.9436 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of [SIM] Alias: time 0.03073/1.091, allocations: 14.41 MB / 0.9577 GB, free: 2.129 MB / 0.67 GB Notification: Performance of [SIM] Simplify 2: time 0.005184/1.096, allocations: 1.726 MB / 0.9594 GB, free: 296 kB / 0.67 GB Notification: Performance of [SIM] Remove Stream: time 0.002994/1.099, allocations: 1.251 MB / 0.9606 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of [SIM] Detect States: time 0.006813/1.106, allocations: 3.367 MB / 0.9639 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of [SIM] Events: time 0.002374/1.108, allocations: 0.9772 MB / 0.9648 GB, free: 10.63 MB / 0.6856 GB Notification: Performance of [SIM] Partitioning: time 0.01249/1.121, allocations: 5.746 MB / 0.9705 GB, free: 4.762 MB / 0.6856 GB Error: Internal error NBDifferentiate.differentiateComponentRef failed for: switchConnector1.connectRearOutlet.outlet.state " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 4.752026510017458] Failed to read output from testmodel.py, exit status != 0: 1.1638097960385494 1.179691604 0.2066619 Calling exit ...