Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Examples.Utilities.Tests.Piston.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.001756/0.001756, 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.002037/0.002037, allocations: 215.5 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.609/1.609, allocations: 230.7 MB / 256.9 MB, free: 7.781 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 1.002/1.002, allocations: 100.9 MB / 414.2 MB, free: 2.828 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.Utilities.Tests.Piston,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|firstOrder.y|flowResistance.m_flow|flowResistance1.m_flow|flowResistance2.m_flow|flowResistance3.m_flow|piston2_1.M_left|piston2_1.M_right|piston2_1.l|piston2_1.medium_left.u|piston2_1.medium_right.u|pulse.T_start|pulse.count|steamSink.x",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Examples.Utilities.Tests.Piston") translateModel(ThermofluidStream.Examples.Utilities.Tests.Piston,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|firstOrder.y|flowResistance.m_flow|flowResistance1.m_flow|flowResistance2.m_flow|flowResistance3.m_flow|piston2_1.M_left|piston2_1.M_right|piston2_1.l|piston2_1.medium_left.u|piston2_1.medium_right.u|pulse.T_start|pulse.count|steamSink.x",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Examples.Utilities.Tests.Piston") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.701e-05/2.701e-05, allocations: 2.281 kB / 0.5654 GB, free: 35.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.Utilities.Tests.Piston): time 0.7848/0.7848, allocations: 207.1 MB / 0.7676 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.06614/0.851, allocations: 39.09 MB / 0.8057 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005397/0.8564, allocations: 92.28 kB / 0.8058 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.008989/0.8653, allocations: 2.322 MB / 0.8081 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.013/0.8783, allocations: 3.258 MB / 0.8113 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03333/0.9117, allocations: 7.91 MB / 0.819 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01204/0.9237, allocations: 6.519 MB / 0.8254 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002957/0.9267, allocations: 0.904 MB / 0.8262 GB, free: 18.07 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01163/0.9383, allocations: 4.339 MB / 0.8305 GB, free: 17.28 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006146/0.9444, allocations: 2.146 MB / 0.8326 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001784/0.9462, allocations: 431.7 kB / 0.833 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02739/0.9736, allocations: 9.042 MB / 0.8418 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of combineBinaries: time 0.01464/0.9883, allocations: 7.803 MB / 0.8494 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.007503/0.9958, allocations: 4.935 MB / 0.8543 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003239/0.999, allocations: 403.6 kB / 0.8546 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of FrontEnd: time 0.001052/1, allocations: 150 kB / 0.8548 GB, free: 8.043 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 878 (711) * Number of variables: 878 (806) Notification: Performance of [SIM] Bindings: time 0.03927/1.039, allocations: 23.84 MB / 0.8781 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of [SIM] FunctionAlias: time 0.005764/1.045, allocations: 2.578 MB / 0.8806 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of [SIM] Early Inline: time 0.02755/1.073, allocations: 14.89 MB / 0.8951 GB, free: 6.453 MB / 0.6231 GB Notification: Performance of [SIM] Simplify 1: time 0.005989/1.079, allocations: 1.672 MB / 0.8968 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of [SIM] Alias: time 0.02484/1.103, allocations: 12.05 MB / 0.9085 GB, free: 8.188 MB / 0.6387 GB Notification: Performance of [SIM] Simplify 2: time 0.00464/1.108, allocations: 1.557 MB / 0.91 GB, free: 6.508 MB / 0.6387 GB Notification: Performance of [SIM] Remove Stream: time 0.002836/1.111, allocations: 1.104 MB / 0.9111 GB, free: 5.332 MB / 0.6387 GB Notification: Performance of [SIM] Detect States: time 0.006202/1.117, allocations: 2.979 MB / 0.914 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of [SIM] Events: time 0.002291/1.119, allocations: 0.8652 MB / 0.9149 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of [SIM] Partitioning: time 0.01204/1.131, allocations: 4.986 MB / 0.9198 GB, free: 12.36 MB / 0.6544 GB Error: Internal error NBResolveSingularities.indexReduction failed because slicing during index reduction is not yet supported. needed sliced dummy: [STAT] (2) flow Real[2] switchConnector1.junctionRFF2_1.junctionMN.fores.m_flow slice: {0} " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 5.107105294009671] Failed to read output from testmodel.py, exit status != 0: 1.165146736020688 1.180288513 0.175704448 Calling exit ...