Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001079/0.001079, allocations: 107.2 kB / 16.42 MB, free: 5.504 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.001098/0.001098, allocations: 190.4 kB / 17.35 MB, free: 5.176 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.256/1.256, 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.2+maint.om/package.mo): time 0.1731/0.1731, allocations: 39.96 MB / 310.6 MB, free: 4.016 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.86e-05/1.861e-05, allocations: 2.281 kB / 436.4 MB, free: 11.79 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion): time 0.05143/0.05146, allocations: 62.88 MB / 499.3 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02489/0.0764, allocations: 22.45 MB / 0.5095 GB, free: 6.168 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001451/0.0779, allocations: 27.81 kB / 0.5095 GB, free: 6.141 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001754/0.07966, allocations: 0.7296 MB / 0.5102 GB, free: 5.406 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2184/0.2981, allocations: 5.727 MB / 0.5158 GB, free: 7.984 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0087/0.3068, allocations: 3.45 MB / 0.5192 GB, free: 7.977 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01596/0.3228, allocations: 9.315 MB / 0.5283 GB, free: 6.055 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001351/0.3242, allocations: 0.7104 MB / 0.529 GB, free: 5.992 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002094/0.3263, allocations: 1.114 MB / 0.5301 GB, free: 5.992 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0123/0.3386, allocations: 7.069 MB / 0.537 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002226/0.3388, allocations: 87.47 kB / 0.5371 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01205/0.3509, allocations: 7.24 MB / 0.5441 GB, free: 4.066 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.002004/0.3529, allocations: 2.331 MB / 0.5464 GB, free: 2.922 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 0.000709/0.3536, allocations: 1.546 MB / 0.5479 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004578/0.3541, allocations: 225.3 kB / 0.5481 GB, free: 1.914 MB / 398.1 MB Notification: Performance of FrontEnd: time 0.00021/0.3543, allocations: 37.58 kB / 0.5482 GB, free: 1.91 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.0052/0.3595, allocations: 6.924 MB / 0.5549 GB, free: 14.84 MB / 414.1 MB Notification: Performance of FunctionAlias: time 0.0002916/0.3598, allocations: 324 kB / 0.5552 GB, free: 14.8 MB / 414.1 MB Notification: Performance of Early Inline: time 0.005194/0.365, allocations: 5.571 MB / 0.5607 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simplify1: time 0.0002964/0.3653, allocations: 343.8 kB / 0.561 GB, free: 12.66 MB / 414.1 MB Notification: Performance of Alias: time 0.003987/0.3693, allocations: 3.915 MB / 0.5648 GB, free: 8.938 MB / 414.1 MB Notification: Performance of simplify2: time 0.0002819/0.3696, allocations: 320.1 kB / 0.5651 GB, free: 8.637 MB / 414.1 MB Notification: Performance of Events: time 0.0008103/0.3704, allocations: 0.7568 MB / 0.5659 GB, free: 7.898 MB / 414.1 MB Notification: Performance of Detect States: time 0.0008992/0.3713, allocations: 0.9507 MB / 0.5668 GB, free: 6.945 MB / 414.1 MB Notification: Performance of Partitioning: time 0.001681/0.373, allocations: 1.85 MB / 0.5686 GB, free: 4.73 MB / 414.1 MB Notification: Performance of Causalize: time 0.008955/0.382, allocations: 9.823 MB / 0.5782 GB, free: 10.88 MB / 430.1 MB Notification: Performance of After Index Reduction Inline: time 0.00352/0.3855, allocations: 3.788 MB / 0.5819 GB, free: 7.094 MB / 430.1 MB Notification: Performance of Inline: time 0.008319/0.3939, allocations: 8.654 MB / 0.5904 GB, free: 14.54 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0003526/0.3942, allocations: 304.6 kB / 0.5906 GB, free: 14.22 MB / 446.1 MB Notification: Performance of Cleanup: time 0.0003532/0.3946, allocations: 335.8 kB / 0.591 GB, free: 13.9 MB / 446.1 MB Notification: Performance of Causalize: time 0.01152/0.4061, allocations: 13.3 MB / 0.604 GB, free: 1.465 MB / 446.1 MB Notification: Performance of Tearing: time 0.001446/0.4076, allocations: 1.511 MB / 0.6054 GB, free: 15.87 MB / 462.1 MB Notification: Performance of Initialization: time 9.82e-07/0.4076, allocations: 0 / 0.6054 GB, free: 15.87 MB / 462.1 MB Notification: Performance of Tearing: time 0.001374/0.409, allocations: 1.516 MB / 0.6069 GB, free: 14.27 MB / 462.1 MB Notification: Performance of Categorize: time 6.799e-05/0.4091, allocations: 19.88 kB / 0.6069 GB, free: 14.25 MB / 462.1 MB Notification: Performance of Solve: time 0.001481/0.4105, allocations: 0.9878 MB / 0.6079 GB, free: 13.26 MB / 462.1 MB Notification: Performance of Jacobian: time 3.556e-06/0.4106, allocations: 0 / 0.6079 GB, free: 13.26 MB / 462.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 9.421e-05/0.4107, allocations: 110.7 kB / 0.608 GB, free: 13.16 MB / 462.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");