Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.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.001897/0.001897, allocations: 99.64 kB / 21.25 MB, free: 424 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.002212/0.002212, allocations: 214.5 kB / 24.55 MB, free: 3.719 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.61/1.61, allocations: 230.5 MB / 258.2 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|suddenExpansion1.m_flow|suddenExpansion1.dp|suddenExpansion1.port_b_T|suddenExpansion2.m_flow|suddenExpansion2.dp|suddenExpansion2.port_b_T",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings") translateModel(Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|suddenExpansion1.m_flow|suddenExpansion1.dp|suddenExpansion1.port_b_T|suddenExpansion2.m_flow|suddenExpansion2.dp|suddenExpansion2.port_b_T",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.661e-05/3.661e-05, allocations: 2.281 kB / 379 MB, free: 2.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings): time 0.3084/0.3084, allocations: 57.56 MB / 436.6 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03173/0.3402, allocations: 20.09 MB / 456.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002295/0.3425, allocations: 43.56 kB / 456.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002404/0.3449, allocations: 0.6674 MB / 457.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02055/0.3654, allocations: 5.819 MB / 463.2 MB, free: 8.777 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01103/0.3765, allocations: 3.422 MB / 466.6 MB, free: 5.359 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02021/0.3967, allocations: 9.907 MB / 476.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002172/0.3988, allocations: 0.8343 MB / 477.4 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003622/0.4025, allocations: 1.445 MB / 478.8 MB, free: 9.039 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01468/0.4171, allocations: 7.13 MB / 485.9 MB, free: 1.797 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004233/0.4176, allocations: 92 kB / 486 MB, free: 1.707 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01564/0.4332, allocations: 6.895 MB / 492.9 MB, free: 10.8 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.003818/0.437, allocations: 3.07 MB / 496 MB, free: 7.707 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 0.001683/0.4387, allocations: 1.91 MB / 497.9 MB, free: 5.781 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003734/0.4391, allocations: 156 kB / 498.1 MB, free: 5.629 MB / 398.1 MB Notification: Performance of FrontEnd: time 0.0002657/0.4393, allocations: 39.91 kB / 498.1 MB, free: 5.59 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.009412/0.4488, allocations: 7.775 MB / 0.494 GB, free: 13.59 MB / 414.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001005/0.4498, allocations: 0.7214 MB / 0.4947 GB, free: 12.85 MB / 414.1 MB Notification: Performance of [SIM] Early Inline: time 0.01035/0.4601, allocations: 8.063 MB / 0.5026 GB, free: 4.734 MB / 414.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001901/0.462, allocations: 0.8775 MB / 0.5035 GB, free: 3.809 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.006737/0.4687, allocations: 4.336 MB / 0.5077 GB, free: 15.08 MB / 430.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001688/0.4704, allocations: 0.9322 MB / 0.5086 GB, free: 14.12 MB / 430.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0008279/0.4713, allocations: 460 kB / 0.509 GB, free: 13.63 MB / 430.1 MB Notification: Performance of [SIM] Detect States: time 0.001259/0.4725, allocations: 1.105 MB / 0.5101 GB, free: 12.46 MB / 430.1 MB Notification: Performance of [SIM] Events: time 0.0007626/0.4733, allocations: 498.8 kB / 0.5106 GB, free: 11.97 MB / 430.1 MB Notification: Performance of [SIM] Partitioning: time 0.00344/0.4767, allocations: 2.607 MB / 0.5131 GB, free: 8.973 MB / 430.1 MB Notification: Performance of [SIM] Causalize: time 0.007211/0.4839, allocations: 4.876 MB / 0.5179 GB, free: 3.695 MB / 430.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.005712/0.4896, allocations: 5.042 MB / 0.5228 GB, free: 14.65 MB / 446.1 MB Notification: Performance of [INI] Simplify: time 0.004506/0.4942, allocations: 2.357 MB / 0.5251 GB, free: 12.13 MB / 446.1 MB Notification: Performance of [INI] Inline: time 0.009794/0.5039, allocations: 8.848 MB / 0.5338 GB, free: 3.281 MB / 446.1 MB Notification: Performance of [INI] Partitioning: time 0.0002406/0.5042, allocations: 102.1 kB / 0.5339 GB, free: 3.156 MB / 446.1 MB Notification: Performance of [INI] Cleanup: time 0.001249/0.5054, allocations: 1.081 MB / 0.5349 GB, free: 2.074 MB / 446.1 MB Notification: Performance of [INI] Causalize: time 0.2853/0.7908, allocations: 6.36 MB / 0.5411 GB, free: 67.52 MB / 446.1 MB Notification: Performance of [INI] Tearing: time 0.002415/0.7932, allocations: 1.597 MB / 0.5427 GB, free: 67.09 MB / 446.1 MB Notification: Performance of [SIM] Initialization: time 2.725e-06/0.7932, allocations: 0 / 0.5427 GB, free: 67.09 MB / 446.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.003404/0.7966, allocations: 2.52 MB / 0.5452 GB, free: 65.68 MB / 446.1 MB Notification: Performance of [SIM] Remove Dummies: time 2.974e-05/0.7966, allocations: 17.19 kB / 0.5452 GB, free: 65.68 MB / 446.1 MB Notification: Performance of [SIM] Tearing: time 0.001363/0.798, allocations: 1.051 MB / 0.5462 GB, free: 65.36 MB / 446.1 MB Notification: Performance of [SIM] Categorize: time 9.092e-05/0.7981, allocations: 23.55 kB / 0.5462 GB, free: 65.36 MB / 446.1 MB Notification: Performance of [SIM] Solve: time 0.01383/0.8119, allocations: 9.981 MB / 0.556 GB, free: 64.29 MB / 446.1 MB Notification: Performance of [SIM] Jacobian: time 0.02592/0.8378, allocations: 33.08 MB / 0.5883 GB, free: 37.05 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.000283/0.8381, allocations: 125.2 kB / 0.5884 GB, free: 36.99 MB / 446.1 MB Notification: Performance of SimCode: time 0.04633/0.8845, allocations: 20.27 MB / 0.6082 GB, free: 30.8 MB / 446.1 MB Notification: Performance of Templates: time 0.1186/1.003, allocations: 86.45 MB / 0.6926 GB, free: 9.055 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.sim & ./Modelica_trunk_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.882462185982149] Failed to read output from testmodel.py, exit status != 0: ['time', 'suddenExpansion1.m_flow', 'suddenExpansion1.dp', 'suddenExpansion1.port_b_T', 'suddenExpansion2.m_flow', 'suddenExpansion2.dp', 'suddenExpansion2.port_b_T'] 1.0120037870365195 1.026071099 0.58321676 Calling exit ...