Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001618/0.001618, 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.001764/0.001764, allocations: 219.4 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.53/1.53, allocations: 230.7 MB / 256.9 MB, free: 7.715 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.9194/0.9194, allocations: 100.9 MB / 414.2 MB, free: 2.832 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.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_dev_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_dev_ThermofluidStream.Media.Tests.TestXRGMedia") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.101e-05/2.101e-05, allocations: 2.281 kB / 0.5654 GB, free: 35.28 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Media.Tests.TestXRGMedia): time 0.9225/0.9225, allocations: 442 MB / 0.997 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.9174/1.84, allocations: 313.7 MB / 1.303 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008135/1.848, allocations: 237.9 kB / 1.304 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.01493/1.863, allocations: 3.882 MB / 1.307 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.1097/1.973, allocations: 31.26 MB / 1.338 GB, free: 12.37 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.115/2.088, allocations: 31.9 MB / 1.369 GB, free: 12.37 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.02517/2.113, allocations: 17.42 MB / 1.386 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004297/2.117, allocations: 1.457 MB / 1.388 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.8917/3.009, allocations: 125.1 MB / 1.51 GB, free: 21.11 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01853/3.027, allocations: 9.141 MB / 1.519 GB, free: 18.77 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.004588/3.032, allocations: 0.707 MB / 1.519 GB, free: 18.06 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2903/3.322, allocations: 102.4 MB / 1.619 GB, free: 14.7 MB / 1.014 GB Notification: Performance of combineBinaries: time 0.02757/3.35, allocations: 16.51 MB / 1.635 GB, free: 3.016 MB / 1.014 GB Notification: Performance of replaceArrayConstructors: time 0.0157/3.365, allocations: 10.54 MB / 1.646 GB, free: 9.746 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.004567/3.37, allocations: 0.6797 MB / 1.646 GB, free: 9.066 MB / 1.029 GB Notification: Performance of FrontEnd: time 0.001976/3.372, allocations: 387.7 kB / 1.647 GB, free: 8.77 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: 2094 (1304) * Number of variables: 2100 (1376) Notification: Performance of [SIM] Bindings: time 0.0848/3.457, allocations: 50.08 MB / 1.696 GB, free: 2.797 MB / 1.061 GB Notification: Performance of [SIM] FunctionAlias: time 0.01359/3.47, allocations: 6.668 MB / 1.702 GB, free: 14.83 MB / 1.076 GB Notification: Performance of [SIM] Early Inline: time 0.06946/3.54, allocations: 35.57 MB / 1.737 GB, free: 14.38 MB / 1.107 GB Notification: Performance of [SIM] Simplify 1: time 0.01444/3.554, allocations: 4.068 MB / 1.741 GB, free: 10.24 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.05095/3.605, allocations: 23.46 MB / 1.764 GB, free: 2.18 MB / 1.123 GB Notification: Performance of [SIM] Simplify 2: time 0.01165/3.617, allocations: 3.804 MB / 1.768 GB, free: 14.29 MB / 1.139 GB Notification: Performance of [SIM] Remove Stream: time 0.007054/3.624, allocations: 2.585 MB / 1.77 GB, free: 11.67 MB / 1.139 GB Notification: Performance of [SIM] Detect States: time 0.01329/3.637, allocations: 6.796 MB / 1.777 GB, free: 4.93 MB / 1.139 GB Notification: Performance of [SIM] Events: time 0.007216/3.644, allocations: 3.656 MB / 1.78 GB, free: 1.426 MB / 1.139 GB Notification: Performance of [SIM] Partitioning: time 0.03172/3.676, allocations: 11.87 MB / 1.792 GB, free: 5.754 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 655] [Calling sys.exit(0), Time elapsed: 8.184733580972534] Failed to read output from testmodel.py, exit status != 0: 4.502614649012685 4.518669877 1.141607277 Calling exit ...