Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.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.001411/0.001411, allocations: 103.6 kB / 21.25 MB, free: 0.5664 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.001502/0.001502, allocations: 211 kB / 24.55 MB, free: 3.824 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.449/1.449, allocations: 230.6 MB / 258.3 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2204/0.2204, allocations: 46.97 MB / 361.7 MB, free: 3.977 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/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(ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|valve_linear.port_b.m_flow|valve_linear.port_b.p|valve_linear.port_b.h_outflow|valve_linear.minLimiter.y|sink1.ports.1..m_flow|sink1.ports.1..p|sink1.ports.1..h_outflow|opening.y|valve_constant.port_b.m_flow|valve_constant.port_b.p|valve_constant.port_b.h_outflow|valve_constant.minLimiter.y|valve_quadratic.port_b.m_flow|valve_quadratic.port_b.p|valve_quadratic.port_b.h_outflow|valve_quadratic.minLimiter.y|sink2.ports.1..m_flow|sink2.ports.1..p|sink2.ports.1..h_outflow|sink3.ports.1..m_flow|sink3.ports.1..p|sink3.ports.1..h_outflow|valve_equalPercentage.port_b.m_flow|valve_equalPercentage.port_b.p|valve_equalPercentage.port_b.h_outflow|valve_equalPercentage.minLimiter.y|sink4.ports.1..m_flow|sink4.ports.1..p|sink4.ports.1..h_outflow",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|valve_linear.port_b.m_flow|valve_linear.port_b.p|valve_linear.port_b.h_outflow|valve_linear.minLimiter.y|sink1.ports.1..m_flow|sink1.ports.1..p|sink1.ports.1..h_outflow|opening.y|valve_constant.port_b.m_flow|valve_constant.port_b.p|valve_constant.port_b.h_outflow|valve_constant.minLimiter.y|valve_quadratic.port_b.m_flow|valve_quadratic.port_b.p|valve_quadratic.port_b.h_outflow|valve_quadratic.minLimiter.y|sink2.ports.1..m_flow|sink2.ports.1..p|sink2.ports.1..h_outflow|sink3.ports.1..m_flow|sink3.ports.1..p|sink3.ports.1..h_outflow|valve_equalPercentage.port_b.m_flow|valve_equalPercentage.port_b.p|valve_equalPercentage.port_b.h_outflow|valve_equalPercentage.minLimiter.y|sink4.ports.1..m_flow|sink4.ports.1..p|sink4.ports.1..h_outflow",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.546e-05/3.546e-05, allocations: 4.812 kB / 0.4974 GB, free: 7.191 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics): time 0.3113/0.3113, allocations: 75.32 MB / 0.571 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04244/0.3538, allocations: 25.75 MB / 0.5961 GB, free: 11.91 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002952/0.3567, allocations: 71.25 kB / 0.5962 GB, free: 11.84 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003344/0.3601, allocations: 0.8847 MB / 0.5971 GB, free: 10.95 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01528/0.3753, allocations: 5.135 MB / 0.6021 GB, free: 5.816 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01667/0.392, allocations: 5.615 MB / 0.6075 GB, free: 212 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006924/0.3989, allocations: 4.933 MB / 0.6124 GB, free: 11.26 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003259/0.4022, allocations: 1.258 MB / 0.6136 GB, free: 9.988 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004925/0.4071, allocations: 2.119 MB / 0.6157 GB, free: 7.863 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002705/0.4098, allocations: 1.136 MB / 0.6168 GB, free: 6.723 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006154/0.4104, allocations: 140 kB / 0.6169 GB, free: 6.586 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0166/0.4271, allocations: 7.586 MB / 0.6243 GB, free: 14.99 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.00514/0.4322, allocations: 3.5 MB / 0.6277 GB, free: 11.46 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.002433/0.4346, allocations: 2.202 MB / 0.6299 GB, free: 9.238 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007429/0.4354, allocations: 176 kB / 0.6301 GB, free: 9.066 MB / 462.1 MB Notification: Performance of FrontEnd: time 0.0003622/0.4357, allocations: 63.77 kB / 0.6301 GB, free: 9.004 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 (269) * Number of variables: 301 (301) Notification: Performance of [SIM] Bindings: time 0.01004/0.4458, allocations: 8.695 MB / 0.6386 GB, free: 4 kB / 462.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0009587/0.4467, allocations: 0.8622 MB / 0.6394 GB, free: 15.13 MB / 478.1 MB Notification: Performance of [SIM] Early Inline: time 0.009657/0.4564, allocations: 8.361 MB / 0.6476 GB, free: 6.703 MB / 478.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001468/0.4579, allocations: 0.8139 MB / 0.6484 GB, free: 5.777 MB / 478.1 MB Notification: Performance of [SIM] Alias: time 0.007672/0.4655, allocations: 5.561 MB / 0.6538 GB, free: 15.66 MB / 494.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001253/0.4668, allocations: 0.7905 MB / 0.6546 GB, free: 14.82 MB / 494.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0006746/0.4675, allocations: 0.535 MB / 0.6551 GB, free: 14.25 MB / 494.1 MB Notification: Performance of [SIM] Detect States: time 0.001287/0.4687, allocations: 1.253 MB / 0.6564 GB, free: 12.93 MB / 494.1 MB Notification: Performance of [SIM] Events: time 0.001506/0.4702, allocations: 1.139 MB / 0.6575 GB, free: 11.76 MB / 494.1 MB Notification: Performance of [SIM] Partitioning: time 0.00331/0.4736, allocations: 2.814 MB / 0.6602 GB, free: 8.605 MB / 494.1 MB Notification: Performance of [SIM] Causalize: time 0.007843/0.4814, allocations: 5.363 MB / 0.6655 GB, free: 2.879 MB / 494.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.006885/0.4883, allocations: 6.186 MB / 0.6715 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of [INI] Simplify: time 0.004149/0.4924, allocations: 2.219 MB / 0.6737 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of [INI] Inline: time 0.008479/0.5009, allocations: 7.499 MB / 0.681 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of [INI] Partitioning: time 0.0003545/0.5013, allocations: 111.3 kB / 0.6811 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of [INI] Cleanup: time 0.002046/0.5033, allocations: 1.5 MB / 0.6826 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of [INI] Causalize: time 0.01842/0.5217, allocations: 12.28 MB / 0.6945 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of [INI] Tearing: time 0.0002484/0.522, allocations: 356 kB / 0.6949 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of [SIM] Initialization: time 1.633e-06/0.522, allocations: 0 / 0.6949 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of [SIM] DAE-Mode: time 0.002662/0.5246, allocations: 2.066 MB / 0.6969 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of [SIM] Remove Dummies: time 2.265e-05/0.5247, allocations: 14.44 kB / 0.6969 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of [SIM] Tearing: time 0.0001737/0.5248, allocations: 267.8 kB / 0.6972 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of [SIM] Categorize: time 7.229e-05/0.5249, allocations: 19.86 kB / 0.6972 GB, free: 1.656 MB / 0.5137 GB Notification: Performance of [SIM] Solve: time 0.01153/0.5364, allocations: 7.644 MB / 0.7047 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of [SIM] Jacobian: time 0.004871/0.5413, allocations: 6.365 MB / 0.7109 GB, free: 2.691 MB / 0.5294 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 16 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 26 * 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: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 91 (91) {source1.medium.state.phase, source1.medium.phase, valve_linear.state_a.phase, valve_linear.state_b.phase, sink1.medium.state.phase, sink1.medium.phase, valve_constant.state_a.phase, valve_constant.state_b.phase, valve_quadratic.state_a.phase, valve_quadratic.state_b.phase, source2.medium.state.phase, source2.medium.phase, sink2.medium.state.phase, sink2.medium.phase, source3.medium.state.phase, source3.medium.phase, sink3.medium.state.phase, sink3.medium.phase, valve_equalPercentage.state_a.phase, valve_equalPercentage.state_b.phase, source4.medium.state.phase, source4.medium.phase, sink4.medium.state.phase, sink4.medium.phase, $SEV_64, $SEV_63, $SEV_62, $SEV_61, $SEV_60, $SEV_59, $SEV_58, $SEV_57, $SEV_56, $SEV_55, $SEV_54, $SEV_53, $SEV_52, $SEV_51, $SEV_50, $SEV_49, $SEV_48, $SEV_47, $SEV_46, $SEV_45, $SEV_44, $SEV_43, $SEV_42, $SEV_41, $SEV_40, $SEV_39, $SEV_38, $SEV_37, $SEV_36, $SEV_35, $SEV_34, $SEV_33, $SEV_32, $SEV_31, $SEV_30, $SEV_29, $SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $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: ........... 278 (scalar:278, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 353 (scalar:345, array:8, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 353 (scalar:345, array:8, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0002788/0.5416, allocations: 188.8 kB / 0.7111 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of SimCode: time 0.03685/0.5784, allocations: 16.81 MB / 0.7275 GB, free: 1.488 MB / 0.545 GB Notification: Performance of Templates: time 0.3708/0.9493, allocations: 67.32 MB / 0.7932 GB, free: 64.51 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.176583121006843] Failed to read output from testmodel.py, exit status != 0: ['time', 'valve_linear.port_b.m_flow', 'valve_linear.port_b.p', 'valve_linear.port_b.h_outflow', 'valve_linear.minLimiter.y', 'sink1.ports[1].m_flow', 'sink1.ports[1].p', 'sink1.ports[1].h_outflow', 'opening.y', 'valve_constant.port_b.m_flow', 'valve_constant.port_b.p', 'valve_constant.port_b.h_outflow', 'valve_constant.minLimiter.y', 'valve_quadratic.port_b.m_flow', 'valve_quadratic.port_b.p', 'valve_quadratic.port_b.h_outflow', 'valve_quadratic.minLimiter.y', 'sink2.ports[1].m_flow', 'sink2.ports[1].p', 'sink2.ports[1].h_outflow', 'sink3.ports[1].m_flow', 'sink3.ports[1].p', 'sink3.ports[1].h_outflow', 'valve_equalPercentage.port_b.m_flow', 'valve_equalPercentage.port_b.p', 'valve_equalPercentage.port_b.h_outflow', 'valve_equalPercentage.minLimiter.y', 'sink4.ports[1].m_flow', 'sink4.ports[1].p', 'sink4.ports[1].h_outflow'] 0.9571801889687777 0.966211107 0.5280130110000001 Calling exit ...