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.001479/0.001479, allocations: 109.7 kB / 18.46 MB, free: 4.473 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.001873/0.001873, allocations: 188.2 kB / 19.4 MB, free: 3.547 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.434/1.434, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2285/0.2285, allocations: 44.19 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.465e-05/3.465e-05, allocations: 6.219 kB / 471.2 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion): time 0.356/0.3561, allocations: 62.87 MB / 0.5215 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02813/0.3842, allocations: 22.45 MB / 0.5434 GB, free: 4.113 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001911/0.3862, allocations: 32.25 kB / 0.5435 GB, free: 4.098 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001984/0.3882, allocations: 0.7327 MB / 0.5442 GB, free: 3.664 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0199/0.4081, allocations: 5.77 MB / 0.5498 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01208/0.4202, allocations: 3.468 MB / 0.5532 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01671/0.4369, allocations: 9.341 MB / 0.5623 GB, free: 7.027 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001332/0.4383, allocations: 0.6766 MB / 0.563 GB, free: 6.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002477/0.4408, allocations: 1.133 MB / 0.5641 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01302/0.4538, allocations: 7.04 MB / 0.571 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004394/0.4543, allocations: 91.94 kB / 0.5711 GB, free: 13.96 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01547/0.4698, allocations: 7.239 MB / 0.5781 GB, free: 6.715 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.002294/0.4721, allocations: 2.35 MB / 0.5804 GB, free: 4.34 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.0009372/0.473, allocations: 1.541 MB / 0.5819 GB, free: 2.781 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003749/0.4734, allocations: 235.4 kB / 0.5822 GB, free: 2.551 MB / 414.1 MB Notification: Performance of FrontEnd: time 0.0003245/0.4737, allocations: 39.92 kB / 0.5822 GB, free: 2.512 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.006878/0.4806, allocations: 7.058 MB / 0.5891 GB, free: 11.25 MB / 430.1 MB Notification: Performance of FunctionAlias: time 0.0002994/0.4809, allocations: 323.4 kB / 0.5894 GB, free: 10.93 MB / 430.1 MB Notification: Performance of Early Inline: time 0.005907/0.4869, allocations: 5.571 MB / 0.5948 GB, free: 5.281 MB / 430.1 MB Notification: Performance of simplify1: time 0.0003794/0.4873, allocations: 347.5 kB / 0.5952 GB, free: 4.941 MB / 430.1 MB Notification: Performance of Alias: time 0.005023/0.4923, allocations: 4.171 MB / 0.5992 GB, free: 440 kB / 430.1 MB Notification: Performance of simplify2: time 0.0004555/0.4928, allocations: 315.6 kB / 0.5995 GB, free: 124 kB / 430.1 MB Notification: Performance of Detect States: time 0.000844/0.4936, allocations: 0.8663 MB / 0.6004 GB, free: 15.23 MB / 446.1 MB Notification: Performance of Events: time 0.0009061/0.4945, allocations: 0.7559 MB / 0.6011 GB, free: 14.47 MB / 446.1 MB Notification: Performance of Partitioning: time 0.00185/0.4964, allocations: 1.846 MB / 0.6029 GB, free: 12.21 MB / 446.1 MB Notification: Performance of Causalize: time 0.008237/0.5047, allocations: 7.18 MB / 0.6099 GB, free: 4.594 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.004819/0.5095, allocations: 3.799 MB / 0.6136 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of Inline: time 0.01153/0.5211, allocations: 8.837 MB / 0.6223 GB, free: 7.789 MB / 462.1 MB Notification: Performance of Partitioning: time 0.000562/0.5217, allocations: 309.3 kB / 0.6226 GB, free: 7.457 MB / 462.1 MB Notification: Performance of Cleanup: time 0.0007058/0.5224, allocations: 335.4 kB / 0.6229 GB, free: 7.129 MB / 462.1 MB Notification: Performance of Causalize: time 0.01481/0.5372, allocations: 9.998 MB / 0.6327 GB, free: 12.98 MB / 478.1 MB Notification: Performance of Tearing: time 0.003988/0.5413, allocations: 3.131 MB / 0.6357 GB, free: 9.754 MB / 478.1 MB Notification: Performance of Initialization: time 2.665e-06/0.5413, allocations: 0 / 0.6357 GB, free: 9.754 MB / 478.1 MB Notification: Performance of Tearing: time 0.003705/0.545, allocations: 3.003 MB / 0.6386 GB, free: 6.656 MB / 478.1 MB Notification: Performance of Categorize: time 0.0001323/0.5452, allocations: 15.88 kB / 0.6387 GB, free: 6.641 MB / 478.1 MB Notification: Performance of Solve: time 0.003074/0.5483, allocations: 0.9964 MB / 0.6396 GB, free: 5.621 MB / 478.1 MB Notification: Performance of Jacobian: time 6.222e-06/0.5483, allocations: 0 / 0.6396 GB, free: 5.621 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: 2, nonlinear:0) 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: 2, nonlinear:0) Notification: Performance of backend: time 0.0001737/0.5485, allocations: 107.5 kB / 0.6397 GB, free: 5.527 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");