Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) 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(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 109.2 kB / 16.42 MB, free: 6.512 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.0008822/0.0008822, allocations: 189.5 kB / 17.35 MB, free: 5.754 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.194/1.194, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1527/0.1527, allocations: 38 MB / 308.6 MB, free: 5.996 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.02e-05/2.021e-05, allocations: 2.281 kB / 433.6 MB, free: 14.49 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion): time 0.05031/0.05034, allocations: 62.88 MB / 496.5 MB, free: 15.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02483/0.07521, allocations: 22.45 MB / 0.5068 GB, free: 8.867 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001114/0.07636, allocations: 27.81 kB / 0.5068 GB, free: 8.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001689/0.07806, allocations: 0.7257 MB / 0.5075 GB, free: 8.109 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01443/0.0925, allocations: 5.736 MB / 0.5131 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2062/0.2988, allocations: 3.449 MB / 0.5165 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01555/0.3143, allocations: 9.319 MB / 0.5256 GB, free: 8.168 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001311/0.3157, allocations: 0.7133 MB / 0.5263 GB, free: 8.105 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002541/0.3182, allocations: 1.111 MB / 0.5274 GB, free: 8.105 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01297/0.3312, allocations: 7.071 MB / 0.5343 GB, free: 6.199 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002578/0.3315, allocations: 86.69 kB / 0.5343 GB, free: 6.199 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01068/0.3422, allocations: 7.251 MB / 0.5414 GB, free: 6.18 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.001533/0.3437, allocations: 2.322 MB / 0.5437 GB, free: 5.086 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006382/0.3444, allocations: 1.547 MB / 0.5452 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003627/0.3447, allocations: 229 kB / 0.5454 GB, free: 4.082 MB / 398.1 MB Notification: Performance of FrontEnd: time 0.0001556/0.3449, allocations: 30.38 kB / 0.5455 GB, free: 4.078 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: 248 (184) * Number of variables: 248 (248) Notification: Performance of Bindings: time 0.004196/0.3491, allocations: 6.923 MB / 0.5522 GB, free: 1.004 MB / 398.1 MB Notification: Performance of FunctionAlias: time 0.0002134/0.3493, allocations: 326 kB / 0.5525 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of Early Inline: time 0.004215/0.3535, allocations: 5.577 MB / 0.558 GB, free: 304 kB / 398.1 MB Notification: Performance of simplify1: time 0.0002733/0.3538, allocations: 334 kB / 0.5583 GB, free: 216 kB / 398.1 MB Notification: Performance of Alias: time 0.003575/0.3574, allocations: 3.916 MB / 0.5621 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simplify2: time 0.0002846/0.3577, allocations: 318.2 kB / 0.5624 GB, free: 13.41 MB / 414.1 MB Notification: Performance of Events: time 0.0007715/0.3585, allocations: 0.7456 MB / 0.5631 GB, free: 12.78 MB / 414.1 MB Notification: Performance of Detect States: time 0.0007784/0.3593, allocations: 0.9625 MB / 0.5641 GB, free: 11.92 MB / 414.1 MB Notification: Performance of Partitioning: time 0.001648/0.3609, allocations: 1.848 MB / 0.5659 GB, free: 9.707 MB / 414.1 MB Notification: Performance of Causalize: time 0.00926/0.3702, allocations: 9.816 MB / 0.5755 GB, free: 15.89 MB / 430.1 MB Notification: Performance of After Index Reduction Inline: time 0.003998/0.3742, allocations: 3.795 MB / 0.5792 GB, free: 12.11 MB / 430.1 MB Notification: Performance of Inline: time 0.008653/0.3829, allocations: 8.652 MB / 0.5876 GB, free: 3.559 MB / 430.1 MB Notification: Performance of Partitioning: time 0.0003858/0.3833, allocations: 305.4 kB / 0.5879 GB, free: 3.23 MB / 430.1 MB Notification: Performance of Cleanup: time 0.0003608/0.3837, allocations: 335.4 kB / 0.5882 GB, free: 2.914 MB / 430.1 MB Notification: Performance of Causalize: time 0.01191/0.3956, allocations: 13.3 MB / 0.6012 GB, free: 6.477 MB / 446.1 MB Notification: Performance of Tearing: time 0.001623/0.3972, allocations: 1.502 MB / 0.6027 GB, free: 4.891 MB / 446.1 MB Notification: Performance of Initialization: time 9.62e-07/0.3972, allocations: 4 kB / 0.6027 GB, free: 4.887 MB / 446.1 MB Notification: Performance of Tearing: time 0.001368/0.3986, allocations: 1.522 MB / 0.6042 GB, free: 3.281 MB / 446.1 MB Notification: Performance of Categorize: time 8.447e-05/0.3987, allocations: 15.88 kB / 0.6042 GB, free: 3.266 MB / 446.1 MB Notification: Performance of Solve: time 0.001496/0.4002, allocations: 0.9838 MB / 0.6052 GB, free: 2.277 MB / 446.1 MB Notification: Performance of Jacobian: time 4.979e-06/0.4002, allocations: 3.938 kB / 0.6052 GB, free: 2.273 MB / 446.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: ................. 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, leftAdapter.state_a.phase, leftAdapter.state_b.phase, leftAdapter.state_b_des.phase, leftAdapter.state_a_nondes.phase, rightAdapter.state_a.phase, rightAdapter.state_b.phase, rightAdapter.state_b_des.phase, rightAdapter.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[$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: ........... 191 (scalar:183, 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: ........... 282 (scalar:274, 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.0001409/0.4004, allocations: 103 kB / 0.6053 GB, free: 2.184 MB / 446.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");