Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings") translateModel(Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001121/0.001121, allocations: 106.7 kB / 16.42 MB, free: 6.523 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.001097/0.001097, allocations: 190 kB / 17.36 MB, free: 5.746 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.227/1.227, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.045e-05/2.047e-05, allocations: 7.062 kB / 327.2 MB, free: 3.359 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings): time 0.2263/0.2263, allocations: 62.85 MB / 390 MB, free: 9.895 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02153/0.2479, allocations: 22.44 MB / 412.5 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001333/0.2492, allocations: 28.53 kB / 412.5 MB, free: 9.117 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001724/0.251, allocations: 0.7325 MB / 413.2 MB, free: 8.816 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0145/0.2656, allocations: 5.788 MB / 419 MB, free: 6.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009378/0.275, allocations: 3.44 MB / 422.4 MB, free: 3.617 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01617/0.2912, allocations: 9.405 MB / 431.8 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001348/0.2925, allocations: 0.739 MB / 432.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002104/0.2947, allocations: 1.152 MB / 433.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01353/0.3082, allocations: 7.127 MB / 440.9 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003175/0.3085, allocations: 92 kB / 441 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01435/0.3229, allocations: 7.247 MB / 448.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.002952/0.3259, allocations: 2.47 MB / 450.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.001498/0.3274, allocations: 1.588 MB / 452.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000394/0.3278, allocations: 227.4 kB / 452.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0002316/0.3281, allocations: 39.92 kB / 452.5 MB, free: 8.551 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.006388/0.3344, allocations: 7.341 MB / 459.9 MB, free: 1.023 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0003105/0.3348, allocations: 339.4 kB / 460.2 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of Early Inline: time 0.005922/0.3407, allocations: 5.93 MB / 466.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simplify1: time 0.0003536/0.3411, allocations: 363.5 kB / 466.5 MB, free: 10.31 MB / 366.1 MB Notification: Performance of Alias: time 0.004492/0.3456, allocations: 4.061 MB / 470.5 MB, free: 5.898 MB / 366.1 MB Notification: Performance of simplify2: time 0.0003306/0.3459, allocations: 335.6 kB / 470.9 MB, free: 5.57 MB / 366.1 MB Notification: Performance of Events: time 0.0009056/0.3468, allocations: 0.78 MB / 471.6 MB, free: 4.785 MB / 366.1 MB Notification: Performance of Detect States: time 0.000857/0.3477, allocations: 1.001 MB / 472.6 MB, free: 3.762 MB / 366.1 MB Notification: Performance of Partitioning: time 0.001803/0.3495, allocations: 1.924 MB / 474.6 MB, free: 1.422 MB / 366.1 MB Notification: Performance of Causalize: time 0.01025/0.3598, allocations: 10.42 MB / 485 MB, free: 6.793 MB / 382.1 MB Notification: Performance of After Index Reduction Inline: time 0.003783/0.3636, allocations: 4.037 MB / 489 MB, free: 2.715 MB / 382.1 MB Notification: Performance of Inline: time 0.008563/0.3722, allocations: 9.001 MB / 498 MB, free: 9.586 MB / 398.1 MB Notification: Performance of Partitioning: time 0.0003344/0.3725, allocations: 313.7 kB / 498.3 MB, free: 9.25 MB / 398.1 MB Notification: Performance of Cleanup: time 0.0003427/0.3729, allocations: 351.4 kB / 498.7 MB, free: 8.906 MB / 398.1 MB Notification: Performance of Causalize: time 0.01204/0.3849, allocations: 13.93 MB / 0.5006 GB, free: 11.73 MB / 414.1 MB Notification: Performance of Tearing: time 0.001428/0.3863, allocations: 1.507 MB / 0.5021 GB, free: 10.12 MB / 414.1 MB Notification: Performance of Initialization: time 9.81e-07/0.3864, allocations: 0 / 0.5021 GB, free: 10.12 MB / 414.1 MB Notification: Performance of Tearing: time 0.001416/0.3878, allocations: 1.527 MB / 0.5036 GB, free: 8.5 MB / 414.1 MB Notification: Performance of Categorize: time 9.617e-05/0.3879, allocations: 23.88 kB / 0.5036 GB, free: 8.477 MB / 414.1 MB Notification: Performance of Solve: time 0.001522/0.3894, allocations: 1.024 MB / 0.5046 GB, free: 7.43 MB / 414.1 MB Notification: Performance of Jacobian: time 3.677e-06/0.3894, allocations: 0 / 0.5046 GB, free: 7.43 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 9.531e-05/0.3895, allocations: 98.02 kB / 0.5047 GB, free: 7.34 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");