Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings") translateModel(Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.0012, allocations: 107.9 kB / 16.42 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 190 kB / 17.36 MB, free: 5.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.36/1.36, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.728e-05/2.729e-05, allocations: 6.219 kB / 327.2 MB, free: 3.344 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings): time 0.2428/0.2428, allocations: 62.84 MB / 390 MB, free: 9.898 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02402/0.2668, allocations: 22.45 MB / 412.5 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001934/0.2688, allocations: 28.31 kB / 412.5 MB, free: 9.117 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00184/0.2707, allocations: 0.7305 MB / 413.2 MB, free: 8.805 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01551/0.2862, allocations: 5.782 MB / 419 MB, free: 6.062 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008346/0.2946, allocations: 3.447 MB / 422.4 MB, free: 3.605 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01662/0.3112, allocations: 9.406 MB / 431.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001713/0.313, allocations: 0.7368 MB / 432.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00268/0.3157, allocations: 1.152 MB / 433.7 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01476/0.3305, allocations: 7.127 MB / 440.9 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004024/0.3309, allocations: 96 kB / 441 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01426/0.3452, allocations: 7.247 MB / 448.2 MB, free: 12.9 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.002266/0.3475, allocations: 2.462 MB / 450.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0009792/0.3485, allocations: 1.59 MB / 452.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003871/0.3489, allocations: 231.4 kB / 452.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0002518/0.3491, allocations: 39.92 kB / 452.5 MB, free: 8.539 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 Bindings: time 0.006641/0.3558, allocations: 7.337 MB / 459.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0003159/0.3561, allocations: 343.4 kB / 460.2 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of Early Inline: time 0.00586/0.362, allocations: 5.93 MB / 466.1 MB, free: 10.65 MB / 366.1 MB Notification: Performance of simplify1: time 0.000375/0.3624, allocations: 363.5 kB / 466.5 MB, free: 10.3 MB / 366.1 MB Notification: Performance of Alias: time 0.004452/0.3668, allocations: 4.049 MB / 470.5 MB, free: 5.898 MB / 366.1 MB Notification: Performance of simplify2: time 0.0004998/0.3673, allocations: 339.6 kB / 470.9 MB, free: 5.566 MB / 366.1 MB Notification: Performance of Events: time 0.0009108/0.3683, allocations: 0.7838 MB / 471.6 MB, free: 4.777 MB / 366.1 MB Notification: Performance of Detect States: time 0.0008979/0.3692, allocations: 1.007 MB / 472.7 MB, free: 3.75 MB / 366.1 MB Notification: Performance of Partitioning: time 0.00195/0.3711, allocations: 1.92 MB / 474.6 MB, free: 1.414 MB / 366.1 MB Notification: Performance of Causalize: time 0.01034/0.3815, allocations: 10.42 MB / 485 MB, free: 6.789 MB / 382.1 MB Notification: Performance of After Index Reduction Inline: time 0.004223/0.3857, allocations: 4.037 MB / 489 MB, free: 2.711 MB / 382.1 MB Notification: Performance of Inline: time 0.009995/0.3958, allocations: 9.003 MB / 498 MB, free: 9.578 MB / 398.1 MB Notification: Performance of Partitioning: time 0.0004813/0.3963, allocations: 305.7 kB / 498.3 MB, free: 9.25 MB / 398.1 MB Notification: Performance of Cleanup: time 0.0005104/0.3968, allocations: 363.4 kB / 498.7 MB, free: 8.895 MB / 398.1 MB Notification: Performance of Causalize: time 0.01328/0.4101, allocations: 13.94 MB / 0.5006 GB, free: 11.71 MB / 414.1 MB Notification: Performance of Tearing: time 0.001507/0.4117, allocations: 1.504 MB / 0.5021 GB, free: 10.11 MB / 414.1 MB Notification: Performance of Initialization: time 1.022e-06/0.4117, allocations: 0 / 0.5021 GB, free: 10.11 MB / 414.1 MB Notification: Performance of Tearing: time 0.001478/0.4132, allocations: 1.526 MB / 0.5036 GB, free: 8.484 MB / 414.1 MB Notification: Performance of Categorize: time 7.33e-05/0.4132, allocations: 15.88 kB / 0.5036 GB, free: 8.469 MB / 414.1 MB Notification: Performance of Solve: time 0.001896/0.4151, allocations: 1.036 MB / 0.5046 GB, free: 7.41 MB / 414.1 MB Notification: Performance of Jacobian: time 3.957e-06/0.4152, allocations: 0 / 0.5046 GB, free: 7.41 MB / 414.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 24 * 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) {NOT YET AVAILABLE} * Number of discrete variables: ................. 52 (52) {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_31, $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[$i1], $SEV_9, $SEV_8[$i1], $SEV_7, $SEV_6, $SEV_5[$i1], $SEV_4, $SEV_3[$i1], $SEV_2, $SEV_1, $SEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 200 (scalar:192, array:8, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 290 (scalar:282, array:8, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: Performance of backend: time 0.0001123/0.4153, allocations: 98 kB / 0.5047 GB, free: 7.32 MB / 414.1 MB Error: Internal error NSimStrongComponent.Block.createNoReturnBlocks failed for [ALGO] (0) ($RES_SIM_142) [----] Modelica.Fluid.Utilities.checkBoundary("WaterIF97", {"water"}, false, true, leftBoundary1.X_in_internal, "Boundary_pT");