Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.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.001398/0.001398, 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.00167/0.00167, allocations: 211 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.448/1.448, allocations: 230.7 MB / 258.3 MB, free: 7.773 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.2256/0.2256, allocations: 44.94 MB / 359.7 MB, free: 6.129 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.Sensors.TestFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|massFlowRate.m_flow|volumeFlowRate.V_flow|simpleGenericOrifice.port_b.m_flow|simpleGenericOrifice.port_b.p|simpleGenericOrifice.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|massFlowRate.m_flow|volumeFlowRate.V_flow|simpleGenericOrifice.port_b.m_flow|simpleGenericOrifice.port_b.p|simpleGenericOrifice.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.751e-05/2.751e-05, allocations: 2.281 kB / 0.4943 GB, free: 10.07 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate): time 0.2991/0.2991, allocations: 38.98 MB / 0.5324 GB, free: 14.56 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01788/0.317, allocations: 13.9 MB / 0.546 GB, free: 7.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006706/0.3177, allocations: 19.53 kB / 0.546 GB, free: 7.668 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009414/0.3186, allocations: 278.9 kB / 0.5462 GB, free: 7.516 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01494/0.3336, allocations: 4.653 MB / 0.5508 GB, free: 5.332 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006459/0.34, allocations: 2.12 MB / 0.5529 GB, free: 3.793 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001948/0.342, allocations: 1.539 MB / 0.5544 GB, free: 2.902 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005702/0.3425, allocations: 414.5 kB / 0.5548 GB, free: 2.609 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001202/0.3437, allocations: 0.7202 MB / 0.5555 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004526/0.3442, allocations: 384.3 kB / 0.5558 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.097e-05/0.3443, allocations: 44.12 kB / 0.5559 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0121/0.3564, allocations: 6.596 MB / 0.5623 GB, free: 14.72 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.001586/0.358, allocations: 1.129 MB / 0.5634 GB, free: 13.95 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005286/0.3585, allocations: 0.7147 MB / 0.5641 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.3586, allocations: 62.78 kB / 0.5642 GB, free: 13.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 0.0001453/0.3588, allocations: 15.59 kB / 0.5642 GB, free: 13.45 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 (91) * Number of variables: 99 (99) Notification: Performance of [SIM] Bindings: time 0.003419/0.3622, allocations: 2.895 MB / 0.567 GB, free: 10.81 MB / 398.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003662/0.3626, allocations: 299.5 kB / 0.5673 GB, free: 10.5 MB / 398.1 MB Notification: Performance of [SIM] Early Inline: time 0.003522/0.3661, allocations: 2.802 MB / 0.57 GB, free: 7.672 MB / 398.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0007052/0.3668, allocations: 351.2 kB / 0.5704 GB, free: 7.285 MB / 398.1 MB Notification: Performance of [SIM] Alias: time 0.00317/0.37, allocations: 2.117 MB / 0.5724 GB, free: 4.953 MB / 398.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0005236/0.3705, allocations: 344.9 kB / 0.5728 GB, free: 4.57 MB / 398.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002302/0.3707, allocations: 202.8 kB / 0.573 GB, free: 4.344 MB / 398.1 MB Notification: Performance of [SIM] Detect States: time 0.0005382/0.3712, allocations: 470.9 kB / 0.5734 GB, free: 3.828 MB / 398.1 MB Notification: Performance of [SIM] Events: time 0.0004619/0.3717, allocations: 325.8 kB / 0.5737 GB, free: 3.535 MB / 398.1 MB Notification: Performance of [SIM] Partitioning: time 0.001032/0.3727, allocations: 0.8973 MB / 0.5746 GB, free: 2.559 MB / 398.1 MB Notification: Performance of [SIM] Causalize: time 0.002427/0.3752, allocations: 1.639 MB / 0.5762 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002168/0.3773, allocations: 2.029 MB / 0.5782 GB, free: 14.79 MB / 414.1 MB Notification: Performance of [INI] Simplify: time 0.001439/0.3788, allocations: 0.7951 MB / 0.5789 GB, free: 13.93 MB / 414.1 MB Notification: Performance of [INI] Inline: time 0.002517/0.3813, allocations: 2.507 MB / 0.5814 GB, free: 11.42 MB / 414.1 MB Notification: Performance of [INI] Partitioning: time 7.631e-05/0.3814, allocations: 43.94 kB / 0.5814 GB, free: 11.37 MB / 414.1 MB Notification: Performance of [INI] Cleanup: time 0.0004843/0.3818, allocations: 0.4956 MB / 0.5819 GB, free: 10.87 MB / 414.1 MB Notification: Performance of [INI] Causalize: time 0.005518/0.3874, allocations: 3.919 MB / 0.5858 GB, free: 6.918 MB / 414.1 MB Notification: Performance of [INI] Tearing: time 0.0005326/0.3879, allocations: 445.4 kB / 0.5862 GB, free: 6.504 MB / 414.1 MB Notification: Performance of [SIM] Initialization: time 1.853e-06/0.3879, allocations: 0 / 0.5862 GB, free: 6.504 MB / 414.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0009645/0.3889, allocations: 0.6782 MB / 0.5868 GB, free: 5.785 MB / 414.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.628e-06/0.3889, allocations: 4.5 kB / 0.5868 GB, free: 5.781 MB / 414.1 MB Notification: Performance of [SIM] Tearing: time 0.0003954/0.3893, allocations: 345.9 kB / 0.5872 GB, free: 5.449 MB / 414.1 MB Notification: Performance of [SIM] Categorize: time 2.842e-05/0.3893, allocations: 15.91 kB / 0.5872 GB, free: 5.434 MB / 414.1 MB Notification: Performance of [SIM] Solve: time 0.003574/0.3929, allocations: 2.646 MB / 0.5898 GB, free: 2.852 MB / 414.1 MB Notification: Performance of [SIM] Jacobian: time 0.02699/0.4199, allocations: 24.83 MB / 0.614 GB, free: 8.48 MB / 446.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 4 * 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: ....... 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: ................. 27 (27) {simpleGenericOrifice.state_a.phase, simpleGenericOrifice.state_b.phase, massFlowRate1.medium.state.phase, massFlowRate1.medium.phase, boundary_fixed.medium.state.phase, boundary_fixed.medium.phase, $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: ........... 69 (scalar:69, 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: ........... 93 (scalar:91, 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: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 107 (scalar:105, 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: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0002252/0.4201, allocations: 74.64 kB / 0.6141 GB, free: 8.406 MB / 446.1 MB Notification: Performance of SimCode: time 0.03947/0.4596, allocations: 16.79 MB / 0.6305 GB, free: 7.504 MB / 462.1 MB Notification: Performance of Templates: time 0.09989/0.5595, allocations: 68.33 MB / 0.6972 GB, free: 3.062 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.402149008994456] Failed to read output from testmodel.py, exit status != 0: ['time', 'massFlowRate.m_flow', 'volumeFlowRate.V_flow', 'simpleGenericOrifice.port_b.m_flow', 'simpleGenericOrifice.port_b.p', 'simpleGenericOrifice.port_b.h_outflow'] 0.5677772400085814 0.5818008459999999 0.21990752899999996 Calling exit ...