Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase.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.001562/0.001562, 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.001588/0.001588, allocations: 217.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.512/1.512, 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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.8391/0.8391, allocations: 100.9 MB / 414.2 MB, free: 2.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 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.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="PI.x|Time|conductionElementHEX_twoPhase.h|conductionElementHEX_twoPhase.rear.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase") translateModel(ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="PI.x|Time|conductionElementHEX_twoPhase.h|conductionElementHEX_twoPhase.rear.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.101e-05/2.101e-05, allocations: 5.781 kB / 0.5654 GB, free: 35.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase): time 0.03899/0.03901, allocations: 34.18 MB / 0.5987 GB, free: 12.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.04479/0.0838, allocations: 34.93 MB / 0.6328 GB, free: 11.38 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001284/0.08509, allocations: 35.69 kB / 0.6329 GB, free: 11.35 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002166/0.08725, allocations: 481.1 kB / 0.6333 GB, free: 10.88 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01525/0.1025, allocations: 3.787 MB / 0.637 GB, free: 7.07 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01335/0.1159, allocations: 4.033 MB / 0.641 GB, free: 3.023 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002903/0.1188, allocations: 1.607 MB / 0.6425 GB, free: 1.406 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004498/0.1192, allocations: 149.1 kB / 0.6427 GB, free: 1.242 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001563/0.1208, allocations: 0.685 MB / 0.6433 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000786/0.1216, allocations: 465.6 kB / 0.6438 GB, free: 100 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001318/0.1217, allocations: 68 kB / 0.6438 GB, free: 32 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03771/0.1594, allocations: 15.17 MB / 0.6587 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.002537/0.1619, allocations: 1.782 MB / 0.6604 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of replaceArrayConstructors: time 0.001107/0.163, allocations: 1.201 MB / 0.6616 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002892/0.1633, allocations: 88 kB / 0.6617 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of FrontEnd: time 0.0002997/0.1636, allocations: 59.7 kB / 0.6617 GB, free: 13.66 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 (148) * Number of variables: 188 (188) Notification: Performance of [SIM] Bindings: time 0.006745/0.1704, allocations: 4.859 MB / 0.6665 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of [SIM] FunctionAlias: time 0.001132/0.1715, allocations: 0.731 MB / 0.6672 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of [SIM] Early Inline: time 0.004207/0.1757, allocations: 3.323 MB / 0.6704 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of [SIM] Simplify 1: time 0.0009483/0.1767, allocations: 454.2 kB / 0.6709 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of [SIM] Alias: time 0.004809/0.1815, allocations: 2.939 MB / 0.6737 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of [SIM] Simplify 2: time 0.0008227/0.1823, allocations: 424.5 kB / 0.6741 GB, free: 292 kB / 0.4981 GB Notification: Performance of [SIM] Remove Stream: time 0.0003819/0.1827, allocations: 272.2 kB / 0.6744 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of [SIM] Detect States: time 0.0008974/0.1836, allocations: 0.642 MB / 0.675 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of [SIM] Events: time 0.0004558/0.184, allocations: 271.4 kB / 0.6753 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of [SIM] Partitioning: time 0.001645/0.1857, allocations: 1.22 MB / 0.6765 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of [SIM] Causalize: time 0.005515/0.1912, allocations: 3.353 MB / 0.6797 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002936/0.1941, allocations: 2.502 MB / 0.6822 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of [INI] Simplify: time 0.002164/0.1963, allocations: 1.024 MB / 0.6832 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of [INI] Inline: time 0.004502/0.2008, allocations: 3.69 MB / 0.6868 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of [INI] Partitioning: time 0.0002251/0.201, allocations: 64.06 kB / 0.6869 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of [INI] Cleanup: time 0.0009942/0.202, allocations: 0.7493 MB / 0.6876 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of [INI] Causalize: time 0.01421/0.2162, allocations: 8.594 MB / 0.696 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of [INI] Tearing: time 0.0002718/0.2165, allocations: 252.5 kB / 0.6962 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of [SIM] Initialization: time 1.373e-06/0.2165, allocations: 0 / 0.6962 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of [SIM] DAE-Mode: time 0.002055/0.2186, allocations: 1.403 MB / 0.6976 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of [SIM] Remove Dummies: time 1.55e-05/0.2186, allocations: 1.312 kB / 0.6976 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of [SIM] Tearing: time 0.000157/0.2187, allocations: 199.9 kB / 0.6978 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of [SIM] Categorize: time 2.24e-05/0.2188, allocations: 8 kB / 0.6978 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of [SIM] Solve: time 0.00634/0.2251, allocations: 3.973 MB / 0.7017 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of [SIM] Jacobian: time 0.003187/0.2283, allocations: 2.126 MB / 0.7037 GB, free: 1.57 MB / 0.5294 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 3 (3) {conductionElementHEX_twoPhase.h_rear_out, conductionElementHEX_twoPhase.m_flow, PI.x} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 47 (47) {conductionElementHEX_twoPhase.fore.state_rearwards.phase, conductionElementHEX_twoPhase.fore.state_forwards.phase, conductionElementHEX_twoPhase.rear.state_rearwards.phase, conductionElementHEX_twoPhase.rear.state_forwards.phase, conductionElementHEX_twoPhase.state.phase, boundary_rear.fore.state_rearwards.phase, boundary_rear.fore.state_forwards.phase, boundary_fore.rear.state_rearwards.phase, boundary_fore.rear.state_forwards.phase, flowResistance.fore.state_rearwards.phase, flowResistance.fore.state_forwards.phase, flowResistance.rear.state_rearwards.phase, flowResistance.rear.state_forwards.phase, multiSensor_Tpm.rear.state_rearwards.phase, multiSensor_Tpm.rear.state_forwards.phase, multiSensor_Tpm.fore.state_rearwards.phase, multiSensor_Tpm.fore.state_forwards.phase, multiSensor_Tpm.state.phase, $FUN_2.phase, $FUN_3.phase, $FUN_4.phase, $FUN_5.phase, $FUN_8.phase, $FUN_9.phase, $FUN_15.phase, $FUN_16.phase, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 154 (scalar:154, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:10) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 176 (scalar:176, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:10) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 176 (scalar:176, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:10) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 0.0001562/0.2284, allocations: 125.3 kB / 0.7039 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of SimCode: time 0.5042/0.7326, allocations: 71.46 MB / 0.7737 GB, free: 94.64 MB / 0.5762 GB Notification: Performance of Templates: time 0.07087/0.8035, allocations: 57.4 MB / 0.8297 GB, free: 52.07 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase.pipe 2>&1) [Timeout 1200] [Calling os._exit(0), Time elapsed: 8.956974180007819] Failed to read output from testmodel.py, exit status != 0: 0.8122151549905539 0.822607957 0.656191826 Calling exit ...