Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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.001392/0.001392, 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.001622/0.001622, allocations: 212.5 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.516/1.516, allocations: 230.7 MB / 258.4 MB, free: 7.727 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.2197/0.2197, allocations: 44.94 MB / 359.7 MB, free: 5.992 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.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.335e-05/2.335e-05, allocations: 2.281 kB / 0.4943 GB, free: 10.01 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.4699/0.4699, allocations: 160 MB / 0.6506 GB, free: 4.52 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.007617/0.4775, allocations: 4.257 MB / 0.6547 GB, free: 256 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009015/0.4784, allocations: 27.75 kB / 0.6547 GB, free: 228 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001124/0.4796, allocations: 329.9 kB / 0.6551 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005583/0.4851, allocations: 1.834 MB / 0.6569 GB, free: 14.06 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00281/0.488, allocations: 0.9735 MB / 0.6578 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003173/0.4911, allocations: 2.057 MB / 0.6598 GB, free: 11.04 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009699/0.4921, allocations: 467.4 kB / 0.6603 GB, free: 10.57 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002528/0.4946, allocations: 1.079 MB / 0.6613 GB, free: 9.492 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001032/0.4957, allocations: 0.5799 MB / 0.6619 GB, free: 8.91 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001733/0.4958, allocations: 60 kB / 0.6619 GB, free: 8.852 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002644/0.4985, allocations: 0.9907 MB / 0.6629 GB, free: 7.859 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.00157/0.5, allocations: 1.53 MB / 0.6644 GB, free: 6.316 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.0007923/0.5008, allocations: 0.9509 MB / 0.6653 GB, free: 5.355 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001742/0.501, allocations: 76 kB / 0.6654 GB, free: 5.281 MB / 494.1 MB Notification: Performance of FrontEnd: time 0.0001541/0.5012, allocations: 19.94 kB / 0.6654 GB, free: 5.262 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 (106) * Number of variables: 112 (112) Notification: Performance of [SIM] Bindings: time 0.004238/0.5054, allocations: 3.731 MB / 0.6691 GB, free: 1.387 MB / 494.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0004451/0.5058, allocations: 339.5 kB / 0.6694 GB, free: 1.039 MB / 494.1 MB Notification: Performance of [SIM] Early Inline: time 0.003768/0.5096, allocations: 3.043 MB / 0.6724 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of [SIM] Simplify 1: time 0.0008662/0.5105, allocations: 0.5035 MB / 0.6729 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of [SIM] Alias: time 0.003798/0.5143, allocations: 2.175 MB / 0.675 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of [SIM] Simplify 2: time 0.0008987/0.5152, allocations: 0.6181 MB / 0.6756 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of [SIM] Remove Stream: time 0.0003232/0.5155, allocations: 248 kB / 0.6758 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of [SIM] Detect States: time 0.0006184/0.5161, allocations: 0.5352 MB / 0.6763 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of [SIM] Events: time 0.0005213/0.5166, allocations: 355.2 kB / 0.6767 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of [SIM] Partitioning: time 0.001275/0.5179, allocations: 1.07 MB / 0.6777 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of [SIM] Causalize: time 0.002625/0.5205, allocations: 1.814 MB / 0.6795 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002513/0.5231, allocations: 2.435 MB / 0.6819 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of [INI] Simplify: time 0.002386/0.5254, allocations: 1.416 MB / 0.6833 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of [INI] Inline: time 0.004141/0.5296, allocations: 4.07 MB / 0.6872 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of [INI] Partitioning: time 0.0001137/0.5297, allocations: 56 kB / 0.6873 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of [INI] Cleanup: time 0.0006606/0.5304, allocations: 0.5034 MB / 0.6878 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of [INI] Causalize: time 0.003484/0.5338, allocations: 2.445 MB / 0.6902 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of [INI] Tearing: time 0.0002164/0.5341, allocations: 164.7 kB / 0.6903 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of [SIM] Initialization: time 7.71e-07/0.5341, allocations: 0 / 0.6903 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of [SIM] DAE-Mode: time 0.002166/0.5362, allocations: 1.879 MB / 0.6922 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of [SIM] Remove Dummies: time 1.4e-05/0.5362, allocations: 5 kB / 0.6922 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of [SIM] Tearing: time 0.0001798/0.5364, allocations: 193.9 kB / 0.6923 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of [SIM] Categorize: time 2.922e-05/0.5364, allocations: 8 kB / 0.6924 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of [SIM] Solve: time 0.007372/0.5438, allocations: 5.624 MB / 0.6978 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of [SIM] Jacobian: time 0.002303/0.5461, allocations: 2.101 MB / 0.6999 GB, free: 0.7539 MB / 0.5137 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 2 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 7 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 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: ................. 24 (24) {$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_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: ........... 100 (scalar:100, 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: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 126 (scalar:124, array:2, 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: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 0.0001771/0.5463, allocations: 53.2 kB / 0.6999 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of SimCode: time 0.01043/0.5567, allocations: 5.627 MB / 0.7054 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of Templates: time 0.3512/0.9079, allocations: 27.26 MB / 0.7321 GB, free: 62.16 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.6540341670042835] Failed to read output from testmodel.py, exit status != 0: ['time', 'input_mflow.y', 'input_p.y', 'IN_p.ports[1].m_flow', 'IN_p.ports[1].p', 'IN_p.ports[1].h_outflow', 'OUT_dp.ports[1].m_flow', 'OUT_dp.ports[1].p', 'OUT_dp.ports[1].h_outflow', 'OUT_mflow.ports[1].m_flow', 'OUT_mflow.ports[1].p', 'OUT_mflow.ports[1].h_outflow', 'IN_mflow.ports[1].m_flow', 'IN_mflow.ports[1].p', 'IN_mflow.ports[1].h_outflow', 'from_dp.port_b.m_flow', 'from_dp.port_b.p', 'from_dp.port_b.h_outflow', 'from_mflow.port_b.m_flow', 'from_mflow.port_b.p', 'from_mflow.port_b.h_outflow'] 0.9164790170034394 0.92949207 0.425243994 Calling exit ...