Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.HeatExchangers.Tests.TestDiscretizedHEX.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.001583/0.001583, 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.001729/0.001729, allocations: 216.3 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.537/1.537, allocations: 230.6 MB / 256.9 MB, free: 7.742 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.8641/0.8641, allocations: 94.64 MB / 407.9 MB, free: 8.82 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.Undirected.HeatExchangers.Tests.TestDiscretizedHEX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="PI.x|PI1.x|Time|boundary_fore1.rear.m_flow|boundary_rear.fore.m_flow|discretizedHEX.thermalElementA.10..h|discretizedHEX.thermalElementA.1..h|discretizedHEX.thermalElementA.2..h|discretizedHEX.thermalElementA.3..h|discretizedHEX.thermalElementA.4..h|discretizedHEX.thermalElementA.5..h|discretizedHEX.thermalElementA.6..h|discretizedHEX.thermalElementA.7..h|discretizedHEX.thermalElementA.8..h|discretizedHEX.thermalElementA.9..h|discretizedHEX.thermalElementB.10..h|discretizedHEX.thermalElementB.1..h|discretizedHEX.thermalElementB.2..h|discretizedHEX.thermalElementB.3..h|discretizedHEX.thermalElementB.4..h|discretizedHEX.thermalElementB.5..h|discretizedHEX.thermalElementB.6..h|discretizedHEX.thermalElementB.7..h|discretizedHEX.thermalElementB.8..h|discretizedHEX.thermalElementB.9..h",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.HeatExchangers.Tests.TestDiscretizedHEX") translateModel(ThermofluidStream.Undirected.HeatExchangers.Tests.TestDiscretizedHEX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="PI.x|PI1.x|Time|boundary_fore1.rear.m_flow|boundary_rear.fore.m_flow|discretizedHEX.thermalElementA.10..h|discretizedHEX.thermalElementA.1..h|discretizedHEX.thermalElementA.2..h|discretizedHEX.thermalElementA.3..h|discretizedHEX.thermalElementA.4..h|discretizedHEX.thermalElementA.5..h|discretizedHEX.thermalElementA.6..h|discretizedHEX.thermalElementA.7..h|discretizedHEX.thermalElementA.8..h|discretizedHEX.thermalElementA.9..h|discretizedHEX.thermalElementB.10..h|discretizedHEX.thermalElementB.1..h|discretizedHEX.thermalElementB.2..h|discretizedHEX.thermalElementB.3..h|discretizedHEX.thermalElementB.4..h|discretizedHEX.thermalElementB.5..h|discretizedHEX.thermalElementB.6..h|discretizedHEX.thermalElementB.7..h|discretizedHEX.thermalElementB.8..h|discretizedHEX.thermalElementB.9..h",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.HeatExchangers.Tests.TestDiscretizedHEX") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.19e-05, allocations: 5.453 kB / 0.5562 GB, free: 38.22 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.HeatExchangers.Tests.TestDiscretizedHEX): time 0.7661/0.7661, allocations: 236.2 MB / 0.7869 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.06978/0.8359, allocations: 55.43 MB / 0.841 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004969/0.8409, allocations: 84.69 kB / 0.8411 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005736/0.8466, allocations: 1.456 MB / 0.8425 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.03144/0.8781, allocations: 8.672 MB / 0.851 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03057/0.9086, allocations: 8.129 MB / 0.8589 GB, free: 452 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009919/0.9186, allocations: 6.317 MB / 0.8651 GB, free: 14 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002328/0.9209, allocations: 0.9535 MB / 0.866 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008874/0.9298, allocations: 3.586 MB / 0.8695 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004961/0.9347, allocations: 2.22 MB / 0.8717 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001194/0.9359, allocations: 340.1 kB / 0.872 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05999/0.9959, allocations: 23.15 MB / 0.8946 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of combineBinaries: time 0.01135/1.007, allocations: 6.182 MB / 0.9007 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of replaceArrayConstructors: time 0.007002/1.014, allocations: 3.89 MB / 0.9045 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002495/1.017, allocations: 279.9 kB / 0.9047 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of FrontEnd: time 0.0007983/1.018, allocations: 148.3 kB / 0.9049 GB, free: 13.04 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1667 (634) * Number of variables: 1667 (504) Notification: Performance of [SIM] Bindings: time 0.03467/1.052, allocations: 19.81 MB / 0.9242 GB, free: 9.707 MB / 0.6387 GB Notification: Performance of [SIM] FunctionAlias: time 0.005481/1.058, allocations: 2.514 MB / 0.9267 GB, free: 7.301 MB / 0.6387 GB Notification: Performance of [SIM] Early Inline: time 0.02857/1.086, allocations: 15.29 MB / 0.9416 GB, free: 8.203 MB / 0.6544 GB Notification: Performance of [SIM] Simplify 1: time 0.005486/1.092, allocations: 1.668 MB / 0.9432 GB, free: 6.422 MB / 0.6544 GB Notification: Performance of [SIM] Alias: time 0.0193/1.111, allocations: 9.634 MB / 0.9527 GB, free: 12.4 MB / 0.67 GB Notification: Performance of [SIM] Simplify 2: time 0.004097/1.115, allocations: 1.587 MB / 0.9542 GB, free: 10.71 MB / 0.67 GB Notification: Performance of [SIM] Remove Stream: time 0.002297/1.117, allocations: 1.116 MB / 0.9553 GB, free: 9.527 MB / 0.67 GB Notification: Performance of [SIM] Detect States: time 0.004816/1.122, allocations: 2.707 MB / 0.9579 GB, free: 6.801 MB / 0.67 GB Notification: Performance of [SIM] Events: time 0.002029/1.124, allocations: 0.9848 MB / 0.9589 GB, free: 5.82 MB / 0.67 GB Notification: Performance of [SIM] Partitioning: time 0.01063/1.135, allocations: 5.121 MB / 0.9639 GB, free: 0.6758 MB / 0.67 GB Error: Internal error NBResolveSingularities.indexReduction failed because slicing during index reduction is not yet supported. needed sliced dummy: [STAT] (10) flow Real[10] discretizedHEX.thermalElementB.rear.m_flow slice: {0, 1, 2, 3, 4, 5, 6, 7, 9} " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 4.860460381023586] Failed to read output from testmodel.py, exit status != 0: 1.1710898110177368 1.188350331 0.16634125900000002 Calling exit ...