Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Media.Tests.TestXRGMedia.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.001692/0.001692, 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.001789/0.001789, allocations: 219.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.551/1.551, allocations: 230.7 MB / 256.9 MB, free: 7.738 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.8653/0.8653, allocations: 94.63 MB / 407.9 MB, free: 8.883 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.Media.Tests.TestXRGMedia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|conductionElement.h|conductionElement1.h|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|counterFlowNTU.inletA.m_flow|discretizedHEX.thermalElementA.1..h|discretizedHEX.thermalElementA.2..h|discretizedHEX.thermalElementA.3..h|discretizedHEX.thermalElementB.1..h|discretizedHEX.thermalElementB.2..h|discretizedHEX.thermalElementB.3..h|discretizedHEX1.thermalElementA.1..h|discretizedHEX1.thermalElementA.2..h|discretizedHEX1.thermalElementA.3..h|discretizedHEX1.thermalElementB.1..h|discretizedHEX1.thermalElementB.2..h|discretizedHEX1.thermalElementB.3..h|discretizedHEX2.thermalElementA.1..h|discretizedHEX2.thermalElementA.2..h|discretizedHEX2.thermalElementA.3..h|discretizedHEX2.thermalElementB.1..h|discretizedHEX2.thermalElementB.2..h|discretizedHEX2.thermalElementB.3..h|discretizedHEX4.thermalElementA.1..h|discretizedHEX4.thermalElementA.2..h|discretizedHEX4.thermalElementA.3..h|discretizedHEX4.thermalElementB.1..h|discretizedHEX4.thermalElementB.2..h|discretizedHEX4.thermalElementB.3..h|pump.m_flow|receiver.M|receiver.U_med|sink2.inlet.m_flow|sink3.inlet.m_flow|sink4.inlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow|volume.M|volume.U_med|volume.m_flow_out|volumeFlex.M|volumeFlex.U_med",fileNamePrefix="ThermofluidStream_ThermofluidStream.Media.Tests.TestXRGMedia") translateModel(ThermofluidStream.Media.Tests.TestXRGMedia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|conductionElement.h|conductionElement1.h|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|counterFlowNTU.inletA.m_flow|discretizedHEX.thermalElementA.1..h|discretizedHEX.thermalElementA.2..h|discretizedHEX.thermalElementA.3..h|discretizedHEX.thermalElementB.1..h|discretizedHEX.thermalElementB.2..h|discretizedHEX.thermalElementB.3..h|discretizedHEX1.thermalElementA.1..h|discretizedHEX1.thermalElementA.2..h|discretizedHEX1.thermalElementA.3..h|discretizedHEX1.thermalElementB.1..h|discretizedHEX1.thermalElementB.2..h|discretizedHEX1.thermalElementB.3..h|discretizedHEX2.thermalElementA.1..h|discretizedHEX2.thermalElementA.2..h|discretizedHEX2.thermalElementA.3..h|discretizedHEX2.thermalElementB.1..h|discretizedHEX2.thermalElementB.2..h|discretizedHEX2.thermalElementB.3..h|discretizedHEX4.thermalElementA.1..h|discretizedHEX4.thermalElementA.2..h|discretizedHEX4.thermalElementA.3..h|discretizedHEX4.thermalElementB.1..h|discretizedHEX4.thermalElementB.2..h|discretizedHEX4.thermalElementB.3..h|pump.m_flow|receiver.M|receiver.U_med|sink2.inlet.m_flow|sink3.inlet.m_flow|sink4.inlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow|volume.M|volume.U_med|volume.m_flow_out|volumeFlex.M|volumeFlex.U_med",fileNamePrefix="ThermofluidStream_ThermofluidStream.Media.Tests.TestXRGMedia") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.395e-05/2.395e-05, allocations: 2.281 kB / 0.5562 GB, free: 38.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Media.Tests.TestXRGMedia): time 0.9418/0.9418, allocations: 442 MB / 0.9879 GB, free: 8.633 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.8974/1.839, allocations: 313.7 MB / 1.294 GB, free: 4.742 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008519/1.848, allocations: 233.9 kB / 1.294 GB, free: 4.512 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01433/1.862, allocations: 3.871 MB / 1.298 GB, free: 0.6133 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.1061/1.968, allocations: 31.25 MB / 1.329 GB, free: 1.238 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.1191/2.087, allocations: 31.9 MB / 1.36 GB, free: 1.238 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.7168/2.804, allocations: 17.38 MB / 1.377 GB, free: 22.44 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004138/2.808, allocations: 1.453 MB / 1.378 GB, free: 22.1 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1747/2.983, allocations: 125.1 MB / 1.5 GB, free: 9.004 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01517/2.998, allocations: 9.137 MB / 1.509 GB, free: 4.305 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.003658/3.002, allocations: 0.7109 MB / 1.51 GB, free: 3.594 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2701/3.272, allocations: 102.4 MB / 1.61 GB, free: 13.46 MB / 1.014 GB Notification: Performance of combineBinaries: time 0.02594/3.298, allocations: 16.49 MB / 1.626 GB, free: 1.676 MB / 1.014 GB Notification: Performance of replaceArrayConstructors: time 0.0141/3.312, allocations: 10.53 MB / 1.637 GB, free: 8.41 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.004748/3.317, allocations: 0.6797 MB / 1.637 GB, free: 7.73 MB / 1.029 GB Notification: Performance of FrontEnd: time 0.001945/3.319, allocations: 388.7 kB / 1.638 GB, free: 7.434 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2090 (1300) * Number of variables: 2096 (1372) Notification: Performance of [SIM] Bindings: time 0.0899/3.409, allocations: 50.08 MB / 1.686 GB, free: 1.469 MB / 1.061 GB Notification: Performance of [SIM] FunctionAlias: time 0.01514/3.424, allocations: 6.661 MB / 1.693 GB, free: 13.51 MB / 1.076 GB Notification: Performance of [SIM] Early Inline: time 0.07565/3.499, allocations: 35.6 MB / 1.728 GB, free: 11.56 MB / 1.107 GB Notification: Performance of [SIM] Simplify 1: time 0.01413/3.514, allocations: 4.076 MB / 1.732 GB, free: 7.402 MB / 1.107 GB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.05569/3.569, allocations: 23.39 MB / 1.755 GB, free: 15.43 MB / 1.139 GB Notification: Performance of [SIM] Simplify 2: time 0.01422/3.583, allocations: 3.796 MB / 1.758 GB, free: 11.55 MB / 1.139 GB Notification: Performance of [SIM] Remove Stream: time 0.00829/3.592, allocations: 2.584 MB / 1.761 GB, free: 8.93 MB / 1.139 GB Notification: Performance of [SIM] Detect States: time 0.01603/3.608, allocations: 6.785 MB / 1.767 GB, free: 2.199 MB / 1.139 GB Notification: Performance of [SIM] Events: time 0.008823/3.617, allocations: 3.654 MB / 1.771 GB, free: 14.7 MB / 1.154 GB Notification: Performance of [SIM] Partitioning: time 0.03766/3.654, allocations: 11.87 MB / 1.783 GB, free: 3.023 MB / 1.154 GB Error: Internal error NBResolveSingularities.indexReduction failed because slicing during index reduction is not yet supported. needed sliced dummy: [STAT] (2) flow Real[2] splitterT2_1.splitterN.outlets.m_flow slice: {1} " [Timeout remaining time 656] [Calling sys.exit(0), Time elapsed: 8.168985747965053] Failed to read output from testmodel.py, exit status != 0: 4.461649247969035 4.476645411 1.153059021 Calling exit ...