Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|leftBoundary1.ports.1..m_flow|leftBoundary1.ports.1..p|leftBoundary1.ports.1..h_outflow|rightBoundary1.ports.1..m_flow|rightBoundary1.ports.1..p|rightBoundary1.ports.1..h_outflow|suddenExpansion1.port_b.m_flow|suddenExpansion1.port_b.p|suddenExpansion1.port_b.h_outflow|leftBoundary2.ports.1..m_flow|leftBoundary2.ports.1..p|leftBoundary2.ports.1..h_outflow|rightBoundary2.ports.1..m_flow|rightBoundary2.ports.1..p|rightBoundary2.ports.1..h_outflow|suddenExpansion2.port_b.m_flow|suddenExpansion2.port_b.p|suddenExpansion2.port_b.h_outflow|leftAdapter.port_b.m_flow|leftAdapter.port_b.p|leftAdapter.port_b.h_outflow|rightAdapter.port_b.m_flow|rightAdapter.port_b.p|rightAdapter.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|leftBoundary1.ports.1..m_flow|leftBoundary1.ports.1..p|leftBoundary1.ports.1..h_outflow|rightBoundary1.ports.1..m_flow|rightBoundary1.ports.1..p|rightBoundary1.ports.1..h_outflow|suddenExpansion1.port_b.m_flow|suddenExpansion1.port_b.p|suddenExpansion1.port_b.h_outflow|leftBoundary2.ports.1..m_flow|leftBoundary2.ports.1..p|leftBoundary2.ports.1..h_outflow|rightBoundary2.ports.1..m_flow|rightBoundary2.ports.1..p|rightBoundary2.ports.1..h_outflow|suddenExpansion2.port_b.m_flow|suddenExpansion2.port_b.p|suddenExpansion2.port_b.h_outflow|leftAdapter.port_b.m_flow|leftAdapter.port_b.p|leftAdapter.port_b.h_outflow|rightAdapter.port_b.m_flow|rightAdapter.port_b.p|rightAdapter.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_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.0009848/0.0009848, allocations: 105.1 kB / 18.46 MB, free: 4.613 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.00106/0.00106, allocations: 193.3 kB / 19.4 MB, free: 3.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 243.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2414/0.2414, allocations: 44.19 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.977e-05/2.978e-05, allocations: 2.281 kB / 471.2 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion): time 0.358/0.358, allocations: 62.87 MB / 0.5215 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02887/0.3869, allocations: 22.46 MB / 0.5434 GB, free: 4.152 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001711/0.3887, allocations: 28.53 kB / 0.5435 GB, free: 4.141 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001886/0.3906, allocations: 0.7304 MB / 0.5442 GB, free: 3.707 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01998/0.4106, allocations: 5.748 MB / 0.5498 GB, free: 15.87 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01125/0.4218, allocations: 3.468 MB / 0.5532 GB, free: 13.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01852/0.4404, allocations: 9.336 MB / 0.5623 GB, free: 7.133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001622/0.4421, allocations: 0.6669 MB / 0.563 GB, free: 6.453 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003034/0.4451, allocations: 1.136 MB / 0.5641 GB, free: 5.312 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01401/0.4591, allocations: 7.041 MB / 0.5709 GB, free: 14.16 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004531/0.4596, allocations: 88 kB / 0.571 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0175/0.4772, allocations: 7.239 MB / 0.5781 GB, free: 6.828 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.002815/0.48, allocations: 2.342 MB / 0.5804 GB, free: 4.461 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.001104/0.4811, allocations: 1.551 MB / 0.5819 GB, free: 2.895 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004798/0.4816, allocations: 231.4 kB / 0.5821 GB, free: 2.668 MB / 414.1 MB Notification: Performance of FrontEnd: time 0.000391/0.482, allocations: 39.88 kB / 0.5822 GB, free: 2.629 MB / 414.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.007451/0.4895, allocations: 7.07 MB / 0.5891 GB, free: 11.35 MB / 430.1 MB Notification: Performance of FunctionAlias: time 0.0003864/0.4899, allocations: 315.4 kB / 0.5894 GB, free: 11.04 MB / 430.1 MB Notification: Performance of Early Inline: time 0.00578/0.4957, allocations: 5.575 MB / 0.5948 GB, free: 5.387 MB / 430.1 MB Notification: Performance of simplify1: time 0.0003634/0.4961, allocations: 343.6 kB / 0.5951 GB, free: 5.051 MB / 430.1 MB Notification: Performance of Alias: time 0.005348/0.5014, allocations: 4.175 MB / 0.5992 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of simplify2: time 0.0004407/0.5019, allocations: 311.6 kB / 0.5995 GB, free: 236 kB / 430.1 MB Notification: Performance of Events: time 0.00101/0.5029, allocations: 0.7479 MB / 0.6002 GB, free: 15.48 MB / 446.1 MB Notification: Performance of Detect States: time 0.00101/0.5039, allocations: 0.9543 MB / 0.6012 GB, free: 14.5 MB / 446.1 MB Notification: Performance of Partitioning: time 0.002133/0.5061, allocations: 1.85 MB / 0.603 GB, free: 12.24 MB / 446.1 MB Notification: Performance of Causalize: time 0.009381/0.5154, allocations: 7.18 MB / 0.61 GB, free: 4.617 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.004544/0.52, allocations: 3.796 MB / 0.6137 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of Inline: time 0.0115/0.5316, allocations: 8.654 MB / 0.6221 GB, free: 7.988 MB / 462.1 MB Notification: Performance of Partitioning: time 0.0007201/0.5324, allocations: 305.4 kB / 0.6224 GB, free: 7.66 MB / 462.1 MB Notification: Performance of Cleanup: time 0.000786/0.5331, allocations: 331.5 kB / 0.6227 GB, free: 7.336 MB / 462.1 MB Notification: Performance of Causalize: time 0.01478/0.5479, allocations: 9.99 MB / 0.6325 GB, free: 13.2 MB / 478.1 MB Notification: Performance of Tearing: time 0.001764/0.5497, allocations: 1.514 MB / 0.634 GB, free: 11.59 MB / 478.1 MB Notification: Performance of Initialization: time 1.552e-06/0.5498, allocations: 0 / 0.634 GB, free: 11.59 MB / 478.1 MB Notification: Performance of Tearing: time 0.001852/0.5516, allocations: 1.51 MB / 0.6355 GB, free: 9.977 MB / 478.1 MB Notification: Performance of Categorize: time 0.0001186/0.5518, allocations: 23.8 kB / 0.6355 GB, free: 9.953 MB / 478.1 MB Notification: Performance of Solve: time 0.002384/0.5541, allocations: 0.9964 MB / 0.6365 GB, free: 8.938 MB / 478.1 MB Notification: Performance of Jacobian: time 4.539e-06/0.5542, allocations: 0 / 0.6365 GB, free: 8.938 MB / 478.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.0002372/0.5544, allocations: 103.3 kB / 0.6366 GB, free: 8.836 MB / 478.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");