Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.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.001333/0.001333, allocations: 104.3 kB / 19.76 MB, free: 1.906 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.0015/0.0015, allocations: 218.5 kB / 23.07 MB, free: 4.984 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.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.8888/0.8888, allocations: 94.64 MB / 407.9 MB, free: 8.789 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.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.779e-05/2.779e-05, allocations: 2.281 kB / 0.5562 GB, free: 38.09 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.243/0.243, allocations: 176 MB / 0.7281 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01948/0.2625, allocations: 13.68 MB / 0.7414 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001551/0.2641, allocations: 59.44 kB / 0.7415 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001899/0.266, allocations: 468.7 kB / 0.7419 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006887/0.2728, allocations: 1.372 MB / 0.7433 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005794/0.2786, allocations: 1.49 MB / 0.7447 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003109/0.2817, allocations: 1.714 MB / 0.7464 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005243/0.2823, allocations: 164.8 kB / 0.7465 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003283/0.2855, allocations: 1.23 MB / 0.7478 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007377/0.2863, allocations: 477.3 kB / 0.7482 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001594/0.2864, allocations: 84 kB / 0.7483 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006562/0.293, allocations: 2.606 MB / 0.7508 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.4144/0.7074, allocations: 2.168 MB / 0.7529 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.002106/0.7095, allocations: 1.452 MB / 0.7544 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004969/0.71, allocations: 88.09 kB / 0.7545 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of FrontEnd: time 0.0004747/0.7105, allocations: 97.33 kB / 0.7545 GB, free: 8.27 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 (173) * Number of variables: 183 (183) Notification: Performance of [SIM] Bindings: time 0.006146/0.7166, allocations: 5.038 MB / 0.7595 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of [SIM] FunctionAlias: time 0.0009848/0.7176, allocations: 0.5568 MB / 0.76 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of [SIM] Early Inline: time 0.002956/0.7206, allocations: 2.933 MB / 0.7629 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of [SIM] Simplify 1: time 0.0008796/0.7215, allocations: 458.5 kB / 0.7633 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of [SIM] Alias: time 0.005475/0.7269, allocations: 3.18 MB / 0.7664 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of [SIM] Simplify 2: time 0.000701/0.7276, allocations: 342.4 kB / 0.7667 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of [SIM] Remove Stream: time 0.0003024/0.7279, allocations: 214.2 kB / 0.7669 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of [SIM] Detect States: time 0.0008415/0.7288, allocations: 0.5243 MB / 0.7675 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of [SIM] Events: time 0.000299/0.7291, allocations: 131 kB / 0.7676 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of [SIM] Partitioning: time 0.001325/0.7304, allocations: 0.8726 MB / 0.7684 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of [SIM] Causalize: time 0.004367/0.7348, allocations: 2.103 MB / 0.7705 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002448/0.7372, allocations: 1.85 MB / 0.7723 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of [INI] Simplify: time 0.002482/0.7397, allocations: 1.057 MB / 0.7733 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of [INI] Inline: time 0.003583/0.7433, allocations: 2.903 MB / 0.7762 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of [INI] Partitioning: time 0.0001809/0.7435, allocations: 54.84 kB / 0.7762 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of [INI] Cleanup: time 0.0005298/0.744, allocations: 442.9 kB / 0.7766 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of [INI] Causalize: time 0.00488/0.7489, allocations: 2.852 MB / 0.7794 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of [INI] Tearing: time 0.0003021/0.7492, allocations: 181.1 kB / 0.7796 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of [SIM] Initialization: time 2.305e-06/0.7492, allocations: 4.75 kB / 0.7796 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of [SIM] DAE-Mode: time 0.001748/0.7509, allocations: 0.8772 MB / 0.7805 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of [SIM] Remove Dummies: time 1.489e-05/0.7509, allocations: 3.781 kB / 0.7805 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of [SIM] Tearing: time 0.0002668/0.7512, allocations: 240 kB / 0.7807 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of [SIM] Categorize: time 3.848e-05/0.7512, allocations: 5.469 kB / 0.7807 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of [SIM] Solve: time 0.006115/0.7574, allocations: 3.045 MB / 0.7837 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of [SIM] Jacobian: time 0.003942/0.7613, allocations: 3.076 MB / 0.7867 GB, free: 2.43 MB / 0.5762 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: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 4 (4) {counterFlowNTU.h_out_A, counterFlowNTU.h_out_B, counterFlowNTU.m_flow_B, counterFlowNTU.m_flow_A} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 5 (5) {$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: ........... 107 (scalar:107, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:4) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 3 (linear: 3, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 139 (scalar:139, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:4) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 3 (linear: 3, nonlinear:0) Notification: Performance of backend: time 0.0001071/0.7614, allocations: 71.42 kB / 0.7867 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of SimCode: time 0.01132/0.7727, allocations: 5.974 MB / 0.7926 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of Templates: time 0.03603/0.8087, allocations: 20.7 MB / 0.8128 GB, free: 12.03 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1) [Timeout 1200] [Calling os._exit(0), Time elapsed: 7.451862880028784] Failed to read output from testmodel.py, exit status != 0: 0.8171773520298302 0.830263933 0.11692076400000001 Calling exit ...