Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001386/0.001386, allocations: 99.64 kB / 21.25 MB, free: 424 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001558/0.001558, allocations: 214.5 kB / 24.55 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.503/1.503, allocations: 230.5 MB / 258.2 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2389/0.2389, allocations: 46.94 MB / 361.6 MB, free: 3.902 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.068e-05, allocations: 2.281 kB / 0.4974 GB, free: 7.078 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics): time 0.3169/0.3169, allocations: 75.33 MB / 0.571 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0383/0.3552, allocations: 25.76 MB / 0.5961 GB, free: 11.74 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002512/0.3577, allocations: 67.31 kB / 0.5962 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003073/0.3608, allocations: 0.8847 MB / 0.5971 GB, free: 10.78 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01569/0.3765, allocations: 5.141 MB / 0.6021 GB, free: 5.641 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01864/0.3951, allocations: 5.6 MB / 0.6076 GB, free: 48 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00888/0.404, allocations: 4.933 MB / 0.6124 GB, free: 11.1 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003977/0.408, allocations: 1.269 MB / 0.6136 GB, free: 9.816 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005671/0.4136, allocations: 2.115 MB / 0.6157 GB, free: 7.695 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002829/0.4165, allocations: 1.136 MB / 0.6168 GB, free: 6.555 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004119/0.4169, allocations: 140 kB / 0.6169 GB, free: 6.418 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01732/0.4342, allocations: 7.582 MB / 0.6243 GB, free: 14.83 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.004576/0.4388, allocations: 3.5 MB / 0.6278 GB, free: 11.29 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.002387/0.4412, allocations: 2.193 MB / 0.6299 GB, free: 9.082 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005592/0.4417, allocations: 180 kB / 0.6301 GB, free: 8.906 MB / 462.1 MB Notification: Performance of FrontEnd: time 0.0003603/0.4421, allocations: 67.7 kB / 0.6301 GB, free: 8.84 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.01033/0.4524, allocations: 8.702 MB / 0.6386 GB, free: 15.83 MB / 478.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001083/0.4535, allocations: 0.8544 MB / 0.6395 GB, free: 14.96 MB / 478.1 MB Notification: Performance of [SIM] Early Inline: time 0.0115/0.465, allocations: 8.359 MB / 0.6476 GB, free: 6.539 MB / 478.1 MB Notification: Performance of [SIM] Simplify 1: time 0.002042/0.467, allocations: 0.8106 MB / 0.6484 GB, free: 5.617 MB / 478.1 MB Notification: Performance of [SIM] Alias: time 0.008646/0.4757, allocations: 5.554 MB / 0.6538 GB, free: 15.51 MB / 494.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001388/0.4771, allocations: 0.8058 MB / 0.6546 GB, free: 14.65 MB / 494.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0006237/0.4777, allocations: 0.5272 MB / 0.6551 GB, free: 14.09 MB / 494.1 MB Notification: Performance of [SIM] Detect States: time 0.001256/0.479, allocations: 1.261 MB / 0.6564 GB, free: 12.76 MB / 494.1 MB Notification: Performance of [SIM] Events: time 0.001499/0.4805, allocations: 1.132 MB / 0.6575 GB, free: 11.58 MB / 494.1 MB Notification: Performance of [SIM] Partitioning: time 0.003229/0.4837, allocations: 2.814 MB / 0.6602 GB, free: 8.426 MB / 494.1 MB Notification: Performance of [SIM] Causalize: time 0.007794/0.4915, allocations: 5.364 MB / 0.6655 GB, free: 2.699 MB / 494.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.006831/0.4983, allocations: 6.186 MB / 0.6715 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of [INI] Simplify: time 0.004566/0.5029, allocations: 2.221 MB / 0.6737 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of [INI] Inline: time 0.008779/0.5117, allocations: 7.495 MB / 0.681 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of [INI] Partitioning: time 0.000584/0.5122, allocations: 111.3 kB / 0.6811 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of [INI] Cleanup: time 0.002324/0.5146, allocations: 1.496 MB / 0.6826 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of [INI] Causalize: time 0.01939/0.534, allocations: 12.3 MB / 0.6946 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of [INI] Tearing: time 0.0002618/0.5342, allocations: 356 kB / 0.6949 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of [SIM] Initialization: time 1.413e-06/0.5342, allocations: 4 kB / 0.6949 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of [SIM] DAE-Mode: time 0.002904/0.5371, allocations: 2.058 MB / 0.6969 GB, free: 1.758 MB / 0.5137 GB Notification: Performance of [SIM] Remove Dummies: time 2.915e-05/0.5371, allocations: 18.44 kB / 0.6969 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of [SIM] Tearing: time 0.0001684/0.5373, allocations: 259.8 kB / 0.6972 GB, free: 1.488 MB / 0.5137 GB Notification: Performance of [SIM] Categorize: time 8.546e-05/0.5374, allocations: 19.88 kB / 0.6972 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of [SIM] Solve: time 0.01198/0.5494, allocations: 7.643 MB / 0.7047 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of [SIM] Jacobian: time 0.005368/0.5547, allocations: 6.362 MB / 0.7109 GB, free: 2.488 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.0003061/0.5551, allocations: 176.5 kB / 0.7111 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of SimCode: time 0.03916/0.5942, allocations: 16.83 MB / 0.7275 GB, free: 1.281 MB / 0.545 GB Notification: Performance of Templates: time 0.4313/1.025, allocations: 67.31 MB / 0.7932 GB, free: 64.37 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.519091099034995] 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'] 1.0336391869932413 1.04217651 0.5974651599999999 Calling exit ...