Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.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.001627/0.001627, allocations: 103.6 kB / 21.2 MB, free: 0.6328 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.001845/0.001845, allocations: 218 kB / 24.5 MB, free: 3.926 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.455/1.455, allocations: 230.6 MB / 258.3 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] 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(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_4.1.0_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_4.1.0_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.555e-05/2.555e-05, allocations: 2.281 kB / 378.9 MB, free: 2.523 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings): time 0.2433/0.2434, allocations: 57.55 MB / 436.5 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03061/0.274, allocations: 20.09 MB / 456.6 MB, free: 15.63 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001919/0.2759, allocations: 43.62 kB / 456.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002226/0.2781, allocations: 0.6712 MB / 457.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01837/0.2965, allocations: 5.826 MB / 463.1 MB, free: 9.09 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01028/0.3068, allocations: 3.42 MB / 466.5 MB, free: 5.672 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0193/0.3261, allocations: 9.888 MB / 476.4 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001837/0.3279, allocations: 0.8382 MB / 477.2 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003591/0.3315, allocations: 1.441 MB / 478.7 MB, free: 9.367 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01538/0.3469, allocations: 7.169 MB / 485.9 MB, free: 2.086 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005167/0.3474, allocations: 96 kB / 486 MB, free: 1.992 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01481/0.3622, allocations: 7.188 MB / 493.1 MB, free: 10.8 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.003323/0.3655, allocations: 3.062 MB / 496.2 MB, free: 7.711 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 0.001634/0.3672, allocations: 1.914 MB / 498.1 MB, free: 5.773 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002892/0.3674, allocations: 148 kB / 498.3 MB, free: 5.629 MB / 398.1 MB Notification: Performance of FrontEnd: time 0.0002133/0.3677, allocations: 39.86 kB / 498.3 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.008438/0.3761, allocations: 7.747 MB / 0.4942 GB, free: 13.61 MB / 414.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0007664/0.3769, allocations: 0.7214 MB / 0.4949 GB, free: 12.87 MB / 414.1 MB Notification: Performance of [SIM] Early Inline: time 0.007861/0.3847, allocations: 6.768 MB / 0.5015 GB, free: 6.047 MB / 414.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001581/0.3863, allocations: 0.9315 MB / 0.5024 GB, free: 5.07 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.005915/0.3922, allocations: 4.027 MB / 0.5063 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001436/0.3937, allocations: 0.9268 MB / 0.5072 GB, free: 15.7 MB / 430.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0005382/0.3942, allocations: 424 kB / 0.5077 GB, free: 15.24 MB / 430.1 MB Notification: Performance of [SIM] Detect States: time 0.001095/0.3953, allocations: 0.9789 MB / 0.5086 GB, free: 14.2 MB / 430.1 MB Notification: Performance of [SIM] Events: time 0.000713/0.396, allocations: 467 kB / 0.5091 GB, free: 13.74 MB / 430.1 MB Notification: Performance of [SIM] Partitioning: time 0.002748/0.3988, allocations: 2.388 MB / 0.5114 GB, free: 10.96 MB / 430.1 MB Notification: Performance of [SIM] Causalize: time 0.007034/0.4058, allocations: 4.87 MB / 0.5161 GB, free: 5.703 MB / 430.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.004639/0.4104, allocations: 4.254 MB / 0.5203 GB, free: 1.445 MB / 430.1 MB Notification: Performance of [INI] Simplify: time 0.004433/0.4149, allocations: 2.464 MB / 0.5227 GB, free: 14.81 MB / 446.1 MB Notification: Performance of [INI] Inline: time 0.009764/0.4246, allocations: 8.71 MB / 0.5312 GB, free: 6.078 MB / 446.1 MB Notification: Performance of [INI] Partitioning: time 0.0002982/0.4249, allocations: 106.1 kB / 0.5313 GB, free: 5.945 MB / 446.1 MB Notification: Performance of [INI] Cleanup: time 0.001392/0.4263, allocations: 1.077 MB / 0.5324 GB, free: 4.867 MB / 446.1 MB Notification: Performance of [INI] Causalize: time 0.2279/0.6542, allocations: 6.364 MB / 0.5386 GB, free: 65.86 MB / 446.1 MB Notification: Performance of [INI] Tearing: time 0.002355/0.6565, allocations: 1.627 MB / 0.5402 GB, free: 65.43 MB / 446.1 MB Notification: Performance of [SIM] Initialization: time 2.274e-06/0.6565, allocations: 0 / 0.5402 GB, free: 65.43 MB / 446.1 MB Notification: Performance of [SIM] Remove Dummies: time 7.228e-05/0.6566, allocations: 15.09 kB / 0.5402 GB, free: 65.43 MB / 446.1 MB Notification: Performance of [SIM] Tearing: time 0.00127/0.6579, allocations: 0.9829 MB / 0.5411 GB, free: 65.14 MB / 446.1 MB Notification: Performance of [SIM] Categorize: time 8.439e-05/0.658, allocations: 25.56 kB / 0.5412 GB, free: 65.14 MB / 446.1 MB Notification: Performance of [SIM] Solve: time 0.005956/0.6639, allocations: 3.857 MB / 0.5449 GB, free: 64.93 MB / 446.1 MB Notification: Performance of [SIM] Jacobian: time 0.002849/0.6668, allocations: 2.205 MB / 0.5471 GB, free: 63.84 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.0002091/0.667, allocations: 121.5 kB / 0.5472 GB, free: 63.8 MB / 446.1 MB Notification: Performance of SimCode: time 0.0256/0.6926, allocations: 13 MB / 0.5599 GB, free: 61.71 MB / 446.1 MB Notification: Performance of Templates: time 0.05683/0.7494, allocations: 55.03 MB / 0.6136 GB, free: 24.46 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.pipe ; mkfifo Modelica_4.1.0_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.pipe >> ../files/Modelica_4.1.0_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.sim & ./Modelica_4.1.0_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 16.679595781955868] 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'] 0.7574445721693337 0.7666530380000001 0.396539006 Calling exit ...