Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001368/0.001368, allocations: 100.4 kB / 20.52 MB, free: 1.148 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.00142/0.00142, allocations: 215.6 kB / 23.82 MB, free: 4.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.595/1.595, allocations: 207.7 MB / 234.7 MB, free: 9.773 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2317/0.2317, allocations: 44.27 MB / 331.2 MB, free: 9.371 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.192e-05/2.192e-05, allocations: 5.797 kB / 468.8 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics): time 0.08426/0.08429, allocations: 75.1 MB / 0.5312 GB, free: 8.508 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2539/0.3381, allocations: 25.71 MB / 0.5563 GB, free: 10.26 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002278/0.3404, allocations: 70.62 kB / 0.5564 GB, free: 10.26 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00267/0.3431, allocations: 0.889 MB / 0.5572 GB, free: 10.24 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01512/0.3582, allocations: 5.095 MB / 0.5622 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01432/0.3725, allocations: 5.609 MB / 0.5677 GB, free: 9.953 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007265/0.3798, allocations: 4.921 MB / 0.5725 GB, free: 9.691 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003261/0.3831, allocations: 1.273 MB / 0.5737 GB, free: 9.641 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005004/0.3881, allocations: 2.106 MB / 0.5758 GB, free: 9.414 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002444/0.3905, allocations: 1.142 MB / 0.5769 GB, free: 9.184 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000319/0.3908, allocations: 137.8 kB / 0.577 GB, free: 9.184 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01479/0.4056, allocations: 7.568 MB / 0.5844 GB, free: 7.844 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.003512/0.4091, allocations: 3.494 MB / 0.5878 GB, free: 5.738 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.001338/0.4105, allocations: 2.177 MB / 0.59 GB, free: 4.32 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005436/0.411, allocations: 178.8 kB / 0.5901 GB, free: 4.316 MB / 414.1 MB Notification: Performance of FrontEnd: time 0.0003159/0.4113, allocations: 63.22 kB / 0.5902 GB, free: 4.301 MB / 414.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.007532/0.4189, allocations: 8.668 MB / 0.5987 GB, free: 14.78 MB / 430.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0009752/0.4198, allocations: 0.8652 MB / 0.5995 GB, free: 14.14 MB / 430.1 MB Notification: Performance of [SIM] Early Inline: time 0.009662/0.4295, allocations: 8.351 MB / 0.6077 GB, free: 8.152 MB / 430.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001712/0.4312, allocations: 0.824 MB / 0.6085 GB, free: 7.273 MB / 430.1 MB Notification: Performance of [SIM] Alias: time 0.00808/0.4393, allocations: 5.548 MB / 0.6139 GB, free: 1.379 MB / 430.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001353/0.4406, allocations: 0.8138 MB / 0.6147 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0006756/0.4413, allocations: 0.5212 MB / 0.6152 GB, free: 16 MB / 446.1 MB Notification: Performance of [SIM] Detect States: time 0.00132/0.4426, allocations: 1.257 MB / 0.6164 GB, free: 14.74 MB / 446.1 MB Notification: Performance of [SIM] Events: time 0.001606/0.4442, allocations: 1.126 MB / 0.6175 GB, free: 13.58 MB / 446.1 MB Notification: Performance of [SIM] Partitioning: time 0.003275/0.4475, allocations: 2.825 MB / 0.6203 GB, free: 10.49 MB / 446.1 MB Notification: Performance of [SIM] Causalize: time 0.008181/0.4557, allocations: 5.361 MB / 0.6255 GB, free: 4.848 MB / 446.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.007467/0.4632, allocations: 6.183 MB / 0.6315 GB, free: 14.84 MB / 462.1 MB Notification: Performance of [INI] Simplify: time 0.005154/0.4683, allocations: 2.225 MB / 0.6337 GB, free: 12.49 MB / 462.1 MB Notification: Performance of [INI] Inline: time 0.009714/0.478, allocations: 7.495 MB / 0.641 GB, free: 5.129 MB / 462.1 MB Notification: Performance of [INI] Partitioning: time 0.0004464/0.4785, allocations: 119.2 kB / 0.6411 GB, free: 4.988 MB / 462.1 MB Notification: Performance of [INI] Cleanup: time 0.002198/0.4807, allocations: 1.497 MB / 0.6426 GB, free: 3.523 MB / 462.1 MB Notification: Performance of [INI] Causalize: time 0.01992/0.5006, allocations: 12.3 MB / 0.6546 GB, free: 7.008 MB / 478.1 MB Notification: Performance of [INI] Tearing: time 0.0002519/0.5008, allocations: 360 kB / 0.655 GB, free: 6.656 MB / 478.1 MB Notification: Performance of [SIM] Initialization: time 1.853e-06/0.5008, allocations: 0 / 0.655 GB, free: 6.656 MB / 478.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.003276/0.5041, allocations: 2.055 MB / 0.657 GB, free: 4.355 MB / 478.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.4e-05/0.5042, allocations: 14.44 kB / 0.657 GB, free: 4.344 MB / 478.1 MB Notification: Performance of [SIM] Tearing: time 0.0002556/0.5044, allocations: 263.8 kB / 0.6572 GB, free: 4.086 MB / 478.1 MB Notification: Performance of [SIM] Categorize: time 0.0001115/0.5045, allocations: 22.69 kB / 0.6573 GB, free: 4.066 MB / 478.1 MB Notification: Performance of [SIM] Solve: time 0.01281/0.5173, allocations: 7.645 MB / 0.6647 GB, free: 12.59 MB / 494.1 MB Notification: Performance of [SIM] Jacobian: time 0.004776/0.5221, allocations: 6.358 MB / 0.6709 GB, free: 5.133 MB / 494.1 MB 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.0002741/0.5224, allocations: 186.8 kB / 0.6711 GB, free: 4.957 MB / 494.1 MB Notification: Performance of SimCode: time 0.03623/0.5586, allocations: 16.79 MB / 0.6875 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of Templates: time 0.1021/0.6607, allocations: 67.23 MB / 0.7532 GB, free: 1.289 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.267364033032209] 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.8655950360116549 0.8767005330000001 0.462339037 Calling exit ...