Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001981/0.001981, allocations: 110.1 kB / 21.99 MB, free: 4.59 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.002796/0.002796, allocations: 218 kB / 25.3 MB, free: 2.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.722/1.722, allocations: 207.7 MB / 236.2 MB, free: 9.754 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.dp|suddenExpansion1.m_flow|suddenExpansion1.port_b_T|suddenExpansion2.dp|suddenExpansion2.m_flow|suddenExpansion2.port_b_T",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.232e-05/2.232e-05, allocations: 2.281 kB / 348.5 MB, free: 9.363 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings): time 0.365/0.365, allocations: 57.36 MB / 405.9 MB, free: 13.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.029/0.394, allocations: 20.08 MB / 425.9 MB, free: 6.188 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002076/0.3961, allocations: 40.84 kB / 426 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00208/0.3981, allocations: 0.6882 MB / 426.7 MB, free: 5.785 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02029/0.4184, allocations: 5.794 MB / 432.5 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01329/0.4317, allocations: 3.413 MB / 435.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.02281/0.4545, allocations: 9.9 MB / 445.8 MB, free: 7.074 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002962/0.4575, allocations: 0.8354 MB / 446.6 MB, free: 6.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005071/0.4626, allocations: 1.433 MB / 448.1 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01664/0.4792, allocations: 7.135 MB / 455.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006011/0.4798, allocations: 92 kB / 455.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02071/0.5005, allocations: 6.88 MB / 462.2 MB, free: 6.57 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.005136/0.5056, allocations: 3.054 MB / 465.2 MB, free: 3.488 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.002914/0.5086, allocations: 1.914 MB / 467.1 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008974/0.5095, allocations: 148 kB / 467.3 MB, free: 1.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0003512/0.5098, allocations: 43.84 kB / 467.3 MB, free: 1.367 MB / 350.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.01423/0.524, allocations: 7.769 MB / 475.1 MB, free: 9.375 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001651/0.5257, allocations: 0.7137 MB / 475.8 MB, free: 8.641 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.01125/0.5369, allocations: 8.039 MB / 483.8 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001812/0.5388, allocations: 0.8986 MB / 484.7 MB, free: 15.55 MB / 382.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.007768/0.5465, allocations: 4.345 MB / 489.1 MB, free: 10.81 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001612/0.5481, allocations: 0.9184 MB / 490 MB, free: 9.816 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0006364/0.5488, allocations: 452 kB / 490.4 MB, free: 9.336 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.001502/0.5503, allocations: 1.101 MB / 491.5 MB, free: 8.172 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.001011/0.5513, allocations: 498.8 kB / 492 MB, free: 7.684 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.003278/0.5546, allocations: 2.599 MB / 494.6 MB, free: 4.699 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.00835/0.5629, allocations: 4.877 MB / 499.5 MB, free: 15.41 MB / 398.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.006236/0.5691, allocations: 5.062 MB / 0.4927 GB, free: 10.34 MB / 398.1 MB Notification: Performance of [INI] Simplify: time 0.005889/0.575, allocations: 2.35 MB / 0.495 GB, free: 7.777 MB / 398.1 MB Notification: Performance of [INI] Inline: time 0.01283/0.5879, allocations: 8.841 MB / 0.5037 GB, free: 14.91 MB / 414.1 MB Notification: Performance of [INI] Partitioning: time 0.000533/0.5884, allocations: 102.1 kB / 0.5038 GB, free: 14.78 MB / 414.1 MB Notification: Performance of [INI] Cleanup: time 0.002415/0.5908, allocations: 1.081 MB / 0.5048 GB, free: 13.7 MB / 414.1 MB Notification: Performance of [INI] Causalize: time 0.01311/0.6039, allocations: 6.373 MB / 0.511 GB, free: 7.176 MB / 414.1 MB Notification: Performance of [INI] Tearing: time 0.002476/0.6064, allocations: 1.595 MB / 0.5126 GB, free: 5.5 MB / 414.1 MB Notification: Performance of [SIM] Initialization: time 3.076e-06/0.6064, allocations: 0 / 0.5126 GB, free: 5.5 MB / 414.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.004213/0.6106, allocations: 2.524 MB / 0.5151 GB, free: 2.578 MB / 414.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.128e-05/0.6107, allocations: 21.31 kB / 0.5151 GB, free: 2.559 MB / 414.1 MB Notification: Performance of [SIM] Tearing: time 0.001662/0.6123, allocations: 1.055 MB / 0.5161 GB, free: 1.508 MB / 414.1 MB Notification: Performance of [SIM] Categorize: time 0.0001196/0.6124, allocations: 19.86 kB / 0.5161 GB, free: 1.488 MB / 414.1 MB Notification: Performance of [SIM] Solve: time 0.01792/0.6304, allocations: 9.98 MB / 0.5259 GB, free: 7.477 MB / 430.1 MB Notification: Performance of [SIM] Jacobian: time 0.3363/0.9666, allocations: 33.05 MB / 0.5582 GB, free: 86.57 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.0002592/0.9669, allocations: 116 kB / 0.5583 GB, free: 86.54 MB / 446.1 MB Notification: Performance of SimCode: time 0.05521/1.022, allocations: 20.25 MB / 0.5781 GB, free: 83.6 MB / 446.1 MB Notification: Performance of Templates: time 0.1023/1.124, allocations: 86.33 MB / 0.6624 GB, free: 9.477 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.pipe ; mkfifo Modelica_3.2.3_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.pipe >> ../files/Modelica_3.2.3_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.sim & ./Modelica_3.2.3_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 9.24215607601218] 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.133544181007892 1.143590987 0.6310932100000001 Calling exit ...