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.001638/0.001638, allocations: 103.6 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.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.001696/0.001696, allocations: 211 kB / 24.55 MB, free: 3.824 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.641/1.641, allocations: 230.6 MB / 258.3 MB, free: 7.75 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.919e-05/2.919e-05, allocations: 2.281 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings): time 0.3225/0.3226, allocations: 57.57 MB / 436.6 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03133/0.3539, allocations: 20.08 MB / 456.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001894/0.3558, allocations: 39.62 kB / 456.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002229/0.358, allocations: 0.6751 MB / 457.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02058/0.3786, allocations: 5.825 MB / 463.2 MB, free: 8.996 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01159/0.3902, allocations: 3.419 MB / 466.6 MB, free: 5.582 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01915/0.4093, allocations: 9.911 MB / 476.6 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002029/0.4114, allocations: 0.8226 MB / 477.4 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003611/0.415, allocations: 1.452 MB / 478.8 MB, free: 9.262 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01431/0.4293, allocations: 7.13 MB / 486 MB, free: 2.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004387/0.4297, allocations: 96 kB / 486.1 MB, free: 1.926 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01566/0.4454, allocations: 6.892 MB / 492.9 MB, free: 11.03 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.003902/0.4493, allocations: 3.077 MB / 496 MB, free: 7.922 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 0.001957/0.4513, allocations: 1.906 MB / 497.9 MB, free: 5.996 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004182/0.4517, allocations: 152 kB / 498.1 MB, free: 5.848 MB / 398.1 MB Notification: Performance of FrontEnd: time 0.0002719/0.4519, allocations: 39.84 kB / 498.1 MB, free: 5.809 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.009838/0.4618, allocations: 7.787 MB / 0.494 GB, free: 13.8 MB / 414.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0008809/0.4627, allocations: 0.7137 MB / 0.4947 GB, free: 13.07 MB / 414.1 MB Notification: Performance of [SIM] Early Inline: time 0.01048/0.4731, allocations: 8.043 MB / 0.5026 GB, free: 4.965 MB / 414.1 MB Notification: Performance of [SIM] Simplify 1: time 0.002071/0.4752, allocations: 0.8921 MB / 0.5035 GB, free: 4.027 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.007351/0.4826, allocations: 4.34 MB / 0.5077 GB, free: 15.3 MB / 430.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001815/0.4844, allocations: 0.9211 MB / 0.5086 GB, free: 14.34 MB / 430.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0006823/0.4851, allocations: 464 kB / 0.509 GB, free: 13.85 MB / 430.1 MB Notification: Performance of [SIM] Detect States: time 0.001384/0.4864, allocations: 1.101 MB / 0.5101 GB, free: 12.68 MB / 430.1 MB Notification: Performance of [SIM] Events: time 0.0009202/0.4874, allocations: 0.4949 MB / 0.5106 GB, free: 12.18 MB / 430.1 MB Notification: Performance of [SIM] Partitioning: time 0.003385/0.4907, allocations: 2.595 MB / 0.5131 GB, free: 9.203 MB / 430.1 MB Notification: Performance of [SIM] Causalize: time 0.007898/0.4986, allocations: 4.881 MB / 0.5179 GB, free: 3.922 MB / 430.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.006293/0.5049, allocations: 5.046 MB / 0.5228 GB, free: 14.87 MB / 446.1 MB Notification: Performance of [INI] Simplify: time 0.005107/0.51, allocations: 2.365 MB / 0.5251 GB, free: 12.36 MB / 446.1 MB Notification: Performance of [INI] Inline: time 0.01234/0.5224, allocations: 8.841 MB / 0.5338 GB, free: 3.512 MB / 446.1 MB Notification: Performance of [INI] Partitioning: time 0.00053/0.5229, allocations: 106.1 kB / 0.5339 GB, free: 3.383 MB / 446.1 MB Notification: Performance of [INI] Cleanup: time 0.002329/0.5252, allocations: 1.081 MB / 0.5349 GB, free: 2.301 MB / 446.1 MB Notification: Performance of [INI] Causalize: time 0.3266/0.8518, allocations: 6.358 MB / 0.5411 GB, free: 67.56 MB / 446.1 MB Notification: Performance of [INI] Tearing: time 0.002613/0.8544, allocations: 1.595 MB / 0.5427 GB, free: 67.13 MB / 446.1 MB Notification: Performance of [SIM] Initialization: time 3.367e-06/0.8544, allocations: 1.031 kB / 0.5427 GB, free: 67.13 MB / 446.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.003756/0.8582, allocations: 2.542 MB / 0.5452 GB, free: 65.71 MB / 446.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.585e-05/0.8582, allocations: 12.97 kB / 0.5452 GB, free: 65.71 MB / 446.1 MB Notification: Performance of [SIM] Tearing: time 0.001505/0.8597, allocations: 1.053 MB / 0.5462 GB, free: 65.38 MB / 446.1 MB Notification: Performance of [SIM] Categorize: time 9.528e-05/0.8598, allocations: 21.69 kB / 0.5462 GB, free: 65.38 MB / 446.1 MB Notification: Performance of [SIM] Solve: time 0.01538/0.8752, allocations: 9.971 MB / 0.556 GB, free: 64.32 MB / 446.1 MB Notification: Performance of [SIM] Jacobian: time 0.02681/0.902, allocations: 33.08 MB / 0.5883 GB, free: 36.95 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.0003288/0.9023, allocations: 108.7 kB / 0.5884 GB, free: 36.89 MB / 446.1 MB Notification: Performance of SimCode: time 0.05131/0.9536, allocations: 20.29 MB / 0.6082 GB, free: 30.95 MB / 446.1 MB Notification: Performance of Templates: time 0.1267/1.08, allocations: 86.46 MB / 0.6926 GB, free: 9.262 MB / 0.4981 GB " [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: 9.092185573012102] 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.0895698490203358 1.102875375 0.647319128 Calling exit ...