Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.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.00147/0.00147, allocations: 103.6 kB / 21.25 MB, free: 416 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.001678/0.001678, allocations: 211.3 kB / 24.55 MB, free: 3.715 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.534/1.534, allocations: 230.5 MB / 258.2 MB, free: 7.754 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.2866/0.2866, allocations: 46.95 MB / 361.6 MB, free: 3.898 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.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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.389e-05/2.389e-05, allocations: 2.281 kB / 0.4974 GB, free: 7.074 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate): time 0.3138/0.3139, allocations: 38.98 MB / 0.5355 GB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01748/0.3313, allocations: 13.9 MB / 0.5491 GB, free: 4.387 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005875/0.3319, allocations: 19.03 kB / 0.5491 GB, free: 4.375 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008895/0.3328, allocations: 280.4 kB / 0.5493 GB, free: 4.219 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01363/0.3464, allocations: 4.655 MB / 0.5539 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007719/0.3542, allocations: 2.117 MB / 0.556 GB, free: 124 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002538/0.3567, allocations: 1.535 MB / 0.5575 GB, free: 15.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007313/0.3574, allocations: 417.6 kB / 0.5579 GB, free: 14.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001339/0.3588, allocations: 0.7265 MB / 0.5586 GB, free: 14.51 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004977/0.3593, allocations: 384.4 kB / 0.5589 GB, free: 14.3 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.869e-05/0.3593, allocations: 42.94 kB / 0.559 GB, free: 14.3 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01203/0.3714, allocations: 6.593 MB / 0.5654 GB, free: 11.05 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.001087/0.3724, allocations: 1.128 MB / 0.5665 GB, free: 10.21 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005024/0.3729, allocations: 0.7128 MB / 0.5672 GB, free: 9.488 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.3731, allocations: 64 kB / 0.5673 GB, free: 9.426 MB / 398.1 MB Notification: Performance of FrontEnd: time 0.0001435/0.3732, allocations: 19.92 kB / 0.5673 GB, free: 9.406 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.002993/0.3762, allocations: 2.891 MB / 0.5701 GB, free: 6.367 MB / 398.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003215/0.3765, allocations: 295.5 kB / 0.5704 GB, free: 6.066 MB / 398.1 MB Notification: Performance of [SIM] Early Inline: time 0.003082/0.3796, allocations: 2.806 MB / 0.5731 GB, free: 3.238 MB / 398.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0005321/0.3801, allocations: 351.6 kB / 0.5735 GB, free: 2.852 MB / 398.1 MB Notification: Performance of [SIM] Alias: time 0.002915/0.3831, allocations: 2.113 MB / 0.5755 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0004663/0.3835, allocations: 342.7 kB / 0.5759 GB, free: 148 kB / 398.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002206/0.3837, allocations: 198.8 kB / 0.576 GB, free: 15.93 MB / 414.1 MB Notification: Performance of [SIM] Detect States: time 0.0004675/0.3842, allocations: 462.9 kB / 0.5765 GB, free: 15.42 MB / 414.1 MB Notification: Performance of [SIM] Events: time 0.0004581/0.3847, allocations: 340 kB / 0.5768 GB, free: 15.09 MB / 414.1 MB Notification: Performance of [SIM] Partitioning: time 0.0009913/0.3857, allocations: 0.8895 MB / 0.5777 GB, free: 14.11 MB / 414.1 MB Notification: Performance of [SIM] Causalize: time 0.002212/0.3879, allocations: 1.64 MB / 0.5793 GB, free: 12.38 MB / 414.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002051/0.3899, allocations: 2.033 MB / 0.5813 GB, free: 10.35 MB / 414.1 MB Notification: Performance of [INI] Simplify: time 0.001269/0.3912, allocations: 0.8011 MB / 0.5821 GB, free: 9.477 MB / 414.1 MB Notification: Performance of [INI] Inline: time 0.002555/0.3937, allocations: 2.511 MB / 0.5845 GB, free: 6.961 MB / 414.1 MB Notification: Performance of [INI] Partitioning: time 7.335e-05/0.3938, allocations: 40 kB / 0.5845 GB, free: 6.914 MB / 414.1 MB Notification: Performance of [INI] Cleanup: time 0.0004752/0.3943, allocations: 0.4956 MB / 0.585 GB, free: 6.414 MB / 414.1 MB Notification: Performance of [INI] Causalize: time 0.005427/0.3997, allocations: 3.923 MB / 0.5889 GB, free: 2.465 MB / 414.1 MB Notification: Performance of [INI] Tearing: time 0.0005503/0.4003, allocations: 438.8 kB / 0.5893 GB, free: 2.043 MB / 414.1 MB Notification: Performance of [SIM] Initialization: time 1.673e-06/0.4003, allocations: 0 / 0.5893 GB, free: 2.043 MB / 414.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0009569/0.4012, allocations: 0.6767 MB / 0.5899 GB, free: 1.332 MB / 414.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.019e-05/0.4012, allocations: 4.5 kB / 0.5899 GB, free: 1.328 MB / 414.1 MB Notification: Performance of [SIM] Tearing: time 0.0004062/0.4017, allocations: 349.8 kB / 0.5903 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of [SIM] Categorize: time 2.472e-05/0.4017, allocations: 7.938 kB / 0.5903 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of [SIM] Solve: time 0.003911/0.4056, allocations: 2.649 MB / 0.5929 GB, free: 14.39 MB / 430.1 MB Notification: Performance of [SIM] Jacobian: time 0.02855/0.4341, allocations: 24.82 MB / 0.6171 GB, free: 4.148 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.0003328/0.4345, allocations: 72.16 kB / 0.6172 GB, free: 4.074 MB / 446.1 MB Notification: Performance of SimCode: time 0.04696/0.4814, allocations: 16.8 MB / 0.6336 GB, free: 3.168 MB / 462.1 MB Notification: Performance of Templates: time 0.09817/0.5796, allocations: 68.33 MB / 0.7003 GB, free: 14.77 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.884894811024424] 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.5884196570259519 0.6022141249999999 0.22575626699999995 Calling exit ...