Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001587/0.001587, allocations: 95.66 kB / 21.25 MB, free: 428 kB / 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.001753/0.001753, allocations: 211.2 kB / 24.55 MB, free: 3.746 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.438/1.438, allocations: 230.7 MB / 258.3 MB, free: 7.754 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2334/0.2334, allocations: 44.94 MB / 359.7 MB, free: 6.004 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.564e-05/2.564e-05, allocations: 6.219 kB / 0.4943 GB, free: 10.01 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics): time 0.2962/0.2962, allocations: 75.32 MB / 0.5679 GB, free: 7.285 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04624/0.3424, allocations: 25.76 MB / 0.593 GB, free: 76 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002418/0.3449, allocations: 71.25 kB / 0.5931 GB, free: 4 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003382/0.3482, allocations: 0.8848 MB / 0.594 GB, free: 15.11 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01603/0.3643, allocations: 5.143 MB / 0.599 GB, free: 9.973 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01778/0.3821, allocations: 5.609 MB / 0.6045 GB, free: 4.371 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008366/0.3904, allocations: 4.933 MB / 0.6093 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00297/0.3934, allocations: 1.262 MB / 0.6105 GB, free: 14.15 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004559/0.3979, allocations: 2.111 MB / 0.6126 GB, free: 12.03 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003591/0.4015, allocations: 1.14 MB / 0.6137 GB, free: 10.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005256/0.4021, allocations: 140 kB / 0.6138 GB, free: 10.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01739/0.4195, allocations: 7.578 MB / 0.6212 GB, free: 3.164 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.004553/0.424, allocations: 3.504 MB / 0.6247 GB, free: 15.63 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.002354/0.4264, allocations: 2.198 MB / 0.6268 GB, free: 13.41 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004638/0.4268, allocations: 176 kB / 0.627 GB, free: 13.24 MB / 462.1 MB Notification: Performance of FrontEnd: time 0.0003388/0.4272, allocations: 67.7 kB / 0.627 GB, free: 13.17 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.01002/0.4372, allocations: 8.694 MB / 0.6355 GB, free: 4.176 MB / 462.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001151/0.4383, allocations: 0.8738 MB / 0.6364 GB, free: 3.281 MB / 462.1 MB Notification: Performance of [SIM] Early Inline: time 0.01064/0.449, allocations: 8.351 MB / 0.6445 GB, free: 10.86 MB / 478.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001787/0.4508, allocations: 0.8148 MB / 0.6453 GB, free: 9.945 MB / 478.1 MB Notification: Performance of [SIM] Alias: time 0.008231/0.459, allocations: 5.565 MB / 0.6508 GB, free: 3.828 MB / 478.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001412/0.4604, allocations: 0.7925 MB / 0.6515 GB, free: 2.973 MB / 478.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0008006/0.4612, allocations: 0.5311 MB / 0.6521 GB, free: 2.402 MB / 478.1 MB Notification: Performance of [SIM] Detect States: time 0.00152/0.4627, allocations: 1.25 MB / 0.6533 GB, free: 1.09 MB / 478.1 MB Notification: Performance of [SIM] Events: time 0.001727/0.4645, allocations: 1.138 MB / 0.6544 GB, free: 15.93 MB / 494.1 MB Notification: Performance of [SIM] Partitioning: time 0.003663/0.4681, allocations: 2.817 MB / 0.6571 GB, free: 12.77 MB / 494.1 MB Notification: Performance of [SIM] Causalize: time 0.008469/0.4766, allocations: 5.356 MB / 0.6624 GB, free: 7.059 MB / 494.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.007801/0.4844, allocations: 6.198 MB / 0.6684 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of [INI] Simplify: time 0.005331/0.4897, allocations: 2.216 MB / 0.6706 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of [INI] Inline: time 0.009973/0.4997, allocations: 7.495 MB / 0.6779 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of [INI] Partitioning: time 0.0005479/0.5002, allocations: 111.3 kB / 0.678 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of [INI] Cleanup: time 0.002849/0.5031, allocations: 1.5 MB / 0.6795 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of [INI] Causalize: time 0.02042/0.5235, allocations: 12.3 MB / 0.6915 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of [INI] Tearing: time 0.0002458/0.5238, allocations: 355.9 kB / 0.6918 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of [SIM] Initialization: time 4.288e-06/0.5238, allocations: 8 kB / 0.6918 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of [SIM] DAE-Mode: time 0.002518/0.5263, allocations: 2.055 MB / 0.6938 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of [SIM] Remove Dummies: time 2.253e-05/0.5263, allocations: 10.44 kB / 0.6938 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of [SIM] Tearing: time 0.0001785/0.5265, allocations: 263.8 kB / 0.6941 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of [SIM] Categorize: time 6.805e-05/0.5265, allocations: 31.8 kB / 0.6941 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of [SIM] Solve: time 0.01113/0.5377, allocations: 7.638 MB / 0.7016 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of [SIM] Jacobian: time 0.004752/0.5424, allocations: 6.361 MB / 0.7078 GB, free: 6.852 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.0002753/0.5427, allocations: 183.3 kB / 0.708 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of SimCode: time 0.03339/0.5761, allocations: 16.82 MB / 0.7244 GB, free: 5.652 MB / 0.545 GB Notification: Performance of Templates: time 0.3255/0.9016, allocations: 67.32 MB / 0.7901 GB, free: 72.18 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.05476503999671] 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.9096104369964451 0.91771207 0.48801550600000004 Calling exit ...