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.001756/0.001756, allocations: 107.6 kB / 21.2 MB, free: 0.6641 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.001602/0.001602, allocations: 210.3 kB / 24.49 MB, free: 3.961 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.651/1.651, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.2567/0.2567, allocations: 46.95 MB / 361.6 MB, free: 4.043 MB / 286.1 MB " [Timeout remaining time 179] 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 2.94e-05/2.94e-05, allocations: 2.281 kB / 0.4973 GB, free: 7.277 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics): time 0.3671/0.3672, allocations: 75.32 MB / 0.5708 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04033/0.4075, allocations: 25.75 MB / 0.596 GB, free: 12.02 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003147/0.4106, allocations: 71.25 kB / 0.5961 GB, free: 11.95 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003519/0.4142, allocations: 0.8808 MB / 0.5969 GB, free: 11.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01891/0.4331, allocations: 5.138 MB / 0.6019 GB, free: 5.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02387/0.4569, allocations: 5.611 MB / 0.6074 GB, free: 332 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008833/0.4658, allocations: 4.949 MB / 0.6122 GB, free: 11.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003384/0.4691, allocations: 1.277 MB / 0.6135 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005241/0.4744, allocations: 2.099 MB / 0.6155 GB, free: 7.961 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003149/0.4775, allocations: 1.198 MB / 0.6167 GB, free: 6.758 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005428/0.4781, allocations: 140 kB / 0.6168 GB, free: 6.621 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01817/0.4962, allocations: 7.883 MB / 0.6245 GB, free: 14.73 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.005231/0.5015, allocations: 3.504 MB / 0.628 GB, free: 11.19 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.002927/0.5044, allocations: 2.207 MB / 0.6301 GB, free: 8.969 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008087/0.5052, allocations: 176 kB / 0.6303 GB, free: 8.797 MB / 462.1 MB Notification: Performance of FrontEnd: time 0.0004977/0.5057, allocations: 63.77 kB / 0.6304 GB, free: 8.734 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.01234/0.518, allocations: 8.615 MB / 0.6388 GB, free: 15.81 MB / 478.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001389/0.5194, allocations: 0.8582 MB / 0.6396 GB, free: 14.94 MB / 478.1 MB Notification: Performance of [SIM] Early Inline: time 0.0112/0.5306, allocations: 7.139 MB / 0.6466 GB, free: 7.727 MB / 478.1 MB Notification: Performance of [SIM] Simplify 1: time 0.002332/0.533, allocations: 0.8919 MB / 0.6474 GB, free: 6.73 MB / 478.1 MB Notification: Performance of [SIM] Alias: time 0.009449/0.5424, allocations: 5.28 MB / 0.6526 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001803/0.5442, allocations: 0.8071 MB / 0.6534 GB, free: 36 kB / 478.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0008097/0.545, allocations: 499.9 kB / 0.6539 GB, free: 15.51 MB / 494.1 MB Notification: Performance of [SIM] Detect States: time 0.001522/0.5466, allocations: 1.144 MB / 0.655 GB, free: 14.3 MB / 494.1 MB Notification: Performance of [SIM] Events: time 0.001995/0.5485, allocations: 1.106 MB / 0.6561 GB, free: 13.16 MB / 494.1 MB Notification: Performance of [SIM] Partitioning: time 0.003727/0.5523, allocations: 2.63 MB / 0.6586 GB, free: 10.18 MB / 494.1 MB Notification: Performance of [SIM] Causalize: time 0.00887/0.5611, allocations: 5.371 MB / 0.6639 GB, free: 4.457 MB / 494.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.006834/0.568, allocations: 5.46 MB / 0.6692 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of [INI] Simplify: time 0.005236/0.5732, allocations: 2.333 MB / 0.6715 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of [INI] Inline: time 0.01202/0.5852, allocations: 8.822 MB / 0.6801 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of [INI] Partitioning: time 0.0005286/0.5858, allocations: 111.3 kB / 0.6802 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of [INI] Cleanup: time 0.003771/0.5895, allocations: 1.633 MB / 0.6818 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of [INI] Causalize: time 0.02235/0.6119, allocations: 12.58 MB / 0.6941 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of [INI] Tearing: time 0.0002747/0.6122, allocations: 360 kB / 0.6944 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of [SIM] Initialization: time 2.304e-06/0.6122, allocations: 0 / 0.6944 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of [SIM] Remove Dummies: time 9.167e-05/0.6123, allocations: 18.38 kB / 0.6944 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of [SIM] Tearing: time 0.0001068/0.6124, allocations: 151.9 kB / 0.6946 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of [SIM] Categorize: time 0.0001009/0.6125, allocations: 19.86 kB / 0.6946 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of [SIM] Solve: time 0.007955/0.6204, allocations: 4.429 MB / 0.6989 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of [SIM] Jacobian: time 3.264e-05/0.6204, allocations: 7.938 kB / 0.6989 GB, free: 15.95 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.0002718/0.6207, allocations: 191.9 kB / 0.6991 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of SimCode: time 0.03783/0.6586, allocations: 14.9 MB / 0.7137 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of Templates: time 0.4601/1.119, allocations: 63.38 MB / 0.7756 GB, free: 85.15 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: 10.448375233914703] 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.1284762448631227 1.144345894 0.6352413459999999 Calling exit ...