Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 104 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 192.2 kB / 24.53 MB, free: 3.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.6/1.6, allocations: 225.7 MB / 253.4 MB, free: 12.78 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|suddenExpansion1.dp|suddenExpansion1.m_flow|suddenExpansion1.port_b_T|suddenExpansion2.dp|suddenExpansion2.m_flow|suddenExpansion2.port_b_T",fileNamePrefix="Modelica_4.0.0_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings") translateModel(Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|suddenExpansion1.dp|suddenExpansion1.m_flow|suddenExpansion1.port_b_T|suddenExpansion2.dp|suddenExpansion2.m_flow|suddenExpansion2.port_b_T",fileNamePrefix="Modelica_4.0.0_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.279e-05/2.279e-05, allocations: 2.281 kB / 371.7 MB, free: 9.145 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings): time 0.3123/0.3123, allocations: 57.37 MB / 429.1 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03181/0.3441, allocations: 20.09 MB / 449.2 MB, free: 9.234 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002546/0.3467, allocations: 43.56 kB / 449.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002583/0.3493, allocations: 0.6674 MB / 449.9 MB, free: 8.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02002/0.3693, allocations: 5.805 MB / 455.7 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01168/0.381, allocations: 3.417 MB / 459.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01942/0.4004, allocations: 9.895 MB / 469 MB, free: 5.289 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002125/0.4025, allocations: 0.8421 MB / 469.8 MB, free: 4.43 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003401/0.4059, allocations: 1.445 MB / 471.3 MB, free: 2.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01439/0.4203, allocations: 7.13 MB / 478.4 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004463/0.4208, allocations: 92 kB / 478.5 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01576/0.4365, allocations: 6.88 MB / 485.4 MB, free: 4.762 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.004126/0.4406, allocations: 3.059 MB / 488.5 MB, free: 1.676 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.002172/0.4428, allocations: 1.925 MB / 490.4 MB, free: 15.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003973/0.4432, allocations: 148 kB / 490.5 MB, free: 15.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 0.0002667/0.4435, allocations: 39.86 kB / 490.6 MB, free: 15.55 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: 256 (192) * Number of variables: 256 (256) Notification: Performance of [SIM] Bindings: time 0.009786/0.4533, allocations: 7.783 MB / 498.3 MB, free: 7.543 MB / 398.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.000981/0.4543, allocations: 0.7215 MB / 499.1 MB, free: 6.805 MB / 398.1 MB Notification: Performance of [SIM] Early Inline: time 0.01121/0.4655, allocations: 8.055 MB / 0.4952 GB, free: 14.69 MB / 414.1 MB Notification: Performance of [SIM] Simplify 1: time 0.002107/0.4676, allocations: 0.9016 MB / 0.4961 GB, free: 13.75 MB / 414.1 MB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.007702/0.4753, allocations: 4.333 MB / 0.5003 GB, free: 9.023 MB / 414.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001606/0.4769, allocations: 0.9265 MB / 0.5013 GB, free: 8.066 MB / 414.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0007038/0.4776, allocations: 455.9 kB / 0.5017 GB, free: 7.582 MB / 414.1 MB Notification: Performance of [SIM] Detect States: time 0.001555/0.4791, allocations: 1.101 MB / 0.5028 GB, free: 6.422 MB / 414.1 MB Notification: Performance of [SIM] Events: time 0.0008245/0.48, allocations: 498.8 kB / 0.5032 GB, free: 5.93 MB / 414.1 MB Notification: Performance of [SIM] Partitioning: time 0.00347/0.4834, allocations: 2.603 MB / 0.5058 GB, free: 2.938 MB / 414.1 MB Notification: Performance of [SIM] Causalize: time 0.009634/0.4931, allocations: 4.874 MB / 0.5105 GB, free: 13.66 MB / 430.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.008495/0.5016, allocations: 5.054 MB / 0.5155 GB, free: 8.602 MB / 430.1 MB Notification: Performance of [INI] Simplify: time 0.005392/0.507, allocations: 2.347 MB / 0.5178 GB, free: 6.105 MB / 430.1 MB Notification: Performance of [INI] Inline: time 0.01158/0.5185, allocations: 8.85 MB / 0.5264 GB, free: 13.26 MB / 446.1 MB Notification: Performance of [INI] Partitioning: time 0.000393/0.5189, allocations: 102.1 kB / 0.5265 GB, free: 13.13 MB / 446.1 MB Notification: Performance of [INI] Cleanup: time 0.001771/0.5207, allocations: 1.081 MB / 0.5276 GB, free: 12.05 MB / 446.1 MB Notification: Performance of [INI] Causalize: time 0.0113/0.532, allocations: 6.381 MB / 0.5338 GB, free: 5.516 MB / 446.1 MB Notification: Performance of [INI] Tearing: time 0.002479/0.5345, allocations: 1.59 MB / 0.5353 GB, free: 3.91 MB / 446.1 MB Notification: Performance of [SIM] Initialization: time 1.904e-06/0.5345, allocations: 0 / 0.5353 GB, free: 3.91 MB / 446.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.004112/0.5386, allocations: 2.525 MB / 0.5378 GB, free: 1.152 MB / 446.1 MB Notification: Performance of [SIM] Remove Dummies: time 2.785e-05/0.5386, allocations: 13.44 kB / 0.5378 GB, free: 1.137 MB / 446.1 MB Notification: Performance of [SIM] Tearing: time 0.001599/0.5402, allocations: 1.045 MB / 0.5388 GB, free: 136 kB / 446.1 MB Notification: Performance of [SIM] Categorize: time 8.668e-05/0.5403, allocations: 23.8 kB / 0.5389 GB, free: 112 kB / 446.1 MB Notification: Performance of [SIM] Solve: time 0.2833/0.8236, allocations: 9.981 MB / 0.5486 GB, free: 75.17 MB / 446.1 MB Notification: Performance of [SIM] Jacobian: time 0.02463/0.8483, allocations: 33.07 MB / 0.5809 GB, free: 48.03 MB / 446.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 20 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 30 * 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: ................. 51 (51) {leftBoundary1.medium.state.phase, rightBoundary1.medium.state.phase, suddenExpansion1.state_a.phase, suddenExpansion1.state_b.phase, suddenExpansion1.state_b_des.phase, suddenExpansion1.state_a_nondes.phase, leftBoundary2.medium.state.phase, rightBoundary2.medium.state.phase, suddenExpansion2.state_a.phase, suddenExpansion2.state_b.phase, suddenExpansion2.state_b_des.phase, suddenExpansion2.state_a_nondes.phase, leftAdaptor.state_a.phase, leftAdaptor.state_b.phase, leftAdaptor.state_b_des.phase, leftAdaptor.state_a_nondes.phase, rightAdaptor.state_a.phase, rightAdaptor.state_b.phase, rightAdaptor.state_b_des.phase, rightAdaptor.state_a_nondes.phase, $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} * 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: ........... 195 (scalar:195, 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: ... 2 (linear: 2, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 289 (scalar:285, array:4, 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: ... 2 (linear: 2, nonlinear:0) Notification: Performance of backend: time 0.000305/0.8486, allocations: 118.3 kB / 0.581 GB, free: 47.99 MB / 446.1 MB Notification: Performance of SimCode: time 0.04115/0.8897, allocations: 20.26 MB / 0.6008 GB, free: 45.03 MB / 446.1 MB Notification: Performance of Templates: time 0.1062/0.9959, allocations: 86.33 MB / 0.6851 GB, free: 9.469 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.pipe >> ../files/Modelica_4.0.0_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.sim & ./Modelica_4.0.0_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 9.048448076006025] Failed to read output from testmodel.py, exit status != 0: ['time', 'suddenExpansion1.dp', 'suddenExpansion1.m_flow', 'suddenExpansion1.port_b_T', 'suddenExpansion2.dp', 'suddenExpansion2.m_flow', 'suddenExpansion2.port_b_T'] 1.0047817340237089 1.017279934 0.570594682 Calling exit ...