Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001556/0.001556, 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.001899/0.001899, allocations: 217.7 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.558/1.558, allocations: 230.7 MB / 256.9 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.8895/0.8895, allocations: 94.63 MB / 407.9 MB, free: 8.781 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/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_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_ThermofluidStream.Examples.Utilities.Tests.Piston") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.697e-05/2.697e-05, allocations: 5.672 kB / 0.5562 GB, free: 38.19 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.Utilities.Tests.Piston): time 0.7436/0.7436, allocations: 207 MB / 0.7584 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.06011/0.8037, allocations: 39.08 MB / 0.7966 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005622/0.8093, allocations: 96.47 kB / 0.7967 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.009676/0.819, allocations: 2.32 MB / 0.7989 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01636/0.8354, allocations: 3.271 MB / 0.8021 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0338/0.8692, allocations: 7.898 MB / 0.8099 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0147/0.8839, allocations: 6.527 MB / 0.8162 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003642/0.8875, allocations: 0.8974 MB / 0.8171 GB, free: 18.36 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01204/0.8996, allocations: 4.342 MB / 0.8213 GB, free: 17.57 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006355/0.9059, allocations: 2.149 MB / 0.8234 GB, free: 17.15 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001914/0.9078, allocations: 430.5 kB / 0.8239 GB, free: 17.15 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02635/0.9342, allocations: 9.03 MB / 0.8327 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of combineBinaries: time 0.01312/0.9473, allocations: 7.815 MB / 0.8403 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.006869/0.9542, allocations: 4.932 MB / 0.8451 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0029/0.9571, allocations: 399.9 kB / 0.8455 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of FrontEnd: time 0.0008438/0.9579, allocations: 167 kB / 0.8457 GB, free: 9.422 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.0412/0.9991, allocations: 23.85 MB / 0.8689 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of [SIM] FunctionAlias: time 0.006169/1.005, allocations: 2.572 MB / 0.8715 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of [SIM] Early Inline: time 0.02619/1.031, allocations: 14.9 MB / 0.886 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of [SIM] Simplify 1: time 0.00578/1.037, allocations: 1.676 MB / 0.8876 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of [SIM] Alias: time 0.02437/1.062, allocations: 12.06 MB / 0.8994 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of [SIM] Simplify 2: time 0.004665/1.066, allocations: 1.541 MB / 0.9009 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of [SIM] Remove Stream: time 0.002203/1.069, allocations: 1.108 MB / 0.902 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of [SIM] Detect States: time 0.005751/1.074, allocations: 2.969 MB / 0.9049 GB, free: 8.508 MB / 0.6387 GB Notification: Performance of [SIM] Events: time 0.001997/1.076, allocations: 0.8699 MB / 0.9058 GB, free: 7.672 MB / 0.6387 GB Notification: Performance of [SIM] Partitioning: time 0.009451/1.086, allocations: 4.992 MB / 0.9106 GB, free: 2.566 MB / 0.6387 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: 4.904916726984084] Failed to read output from testmodel.py, exit status != 0: 1.1152878809953108 1.131598989 0.169573431 Calling exit ...