Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001491/0.00149, allocations: 111.7 kB / 18.47 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002013/0.002013, allocations: 210.4 kB / 19.42 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2277/0.2277, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.915e-05/2.916e-05, allocations: 5.094 kB / 481.9 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion): time 0.3844/0.3844, allocations: 63.05 MB / 0.5322 GB, free: 8.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02999/0.4145, allocations: 22.46 MB / 0.5541 GB, free: 8.652 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002048/0.4166, allocations: 32.16 kB / 0.5542 GB, free: 8.637 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002529/0.4191, allocations: 0.7256 MB / 0.5549 GB, free: 8.023 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02275/0.4419, allocations: 5.779 MB / 0.5605 GB, free: 3.867 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0141/0.456, allocations: 3.466 MB / 0.5639 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02089/0.4769, allocations: 9.333 MB / 0.573 GB, free: 9.367 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001755/0.4787, allocations: 0.6815 MB / 0.5737 GB, free: 8.68 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003198/0.482, allocations: 1.144 MB / 0.5748 GB, free: 7.531 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01604/0.498, allocations: 7.037 MB / 0.5817 GB, free: 392 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006534/0.4987, allocations: 88 kB / 0.5818 GB, free: 304 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01778/0.5165, allocations: 7.262 MB / 0.5888 GB, free: 9.027 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.003892/0.5205, allocations: 2.342 MB / 0.5911 GB, free: 6.66 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 0.001822/0.5223, allocations: 1.544 MB / 0.5926 GB, free: 5.102 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008927/0.5232, allocations: 235.4 kB / 0.5929 GB, free: 4.871 MB / 430.1 MB Notification: Performance of FrontEnd: time 0.0004249/0.5237, allocations: 39.88 kB / 0.5929 GB, free: 4.832 MB / 430.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.01004/0.5337, allocations: 7.057 MB / 0.5998 GB, free: 13.57 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.0006003/0.5343, allocations: 323.4 kB / 0.6001 GB, free: 13.26 MB / 446.1 MB Notification: Performance of Early Inline: time 0.006174/0.5405, allocations: 5.575 MB / 0.6055 GB, free: 7.602 MB / 446.1 MB Notification: Performance of simplify1: time 0.0003499/0.5409, allocations: 343.6 kB / 0.6059 GB, free: 7.266 MB / 446.1 MB Notification: Performance of Alias: time 0.004866/0.5458, allocations: 4.187 MB / 0.61 GB, free: 2.727 MB / 446.1 MB Notification: Performance of simplify2: time 0.0003796/0.5462, allocations: 311.6 kB / 0.6103 GB, free: 2.422 MB / 446.1 MB Notification: Performance of Detect States: time 0.0008336/0.547, allocations: 0.8761 MB / 0.6111 GB, free: 1.527 MB / 446.1 MB Notification: Performance of Events: time 0.0009672/0.548, allocations: 0.7507 MB / 0.6118 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of Partitioning: time 0.001952/0.55, allocations: 1.842 MB / 0.6136 GB, free: 14.52 MB / 462.1 MB Notification: Performance of Causalize: time 0.008315/0.5583, allocations: 7.184 MB / 0.6207 GB, free: 6.895 MB / 462.1 MB Notification: Performance of After Index Reduction Inline: time 0.00398/0.5623, allocations: 3.787 MB / 0.6244 GB, free: 3.066 MB / 462.1 MB Notification: Performance of Inline: time 0.009642/0.5719, allocations: 8.828 MB / 0.633 GB, free: 10.11 MB / 478.1 MB Notification: Performance of Partitioning: time 0.0004453/0.5724, allocations: 305.3 kB / 0.6333 GB, free: 9.777 MB / 478.1 MB Notification: Performance of Cleanup: time 0.0004703/0.5729, allocations: 335.5 kB / 0.6336 GB, free: 9.449 MB / 478.1 MB Notification: Performance of Causalize: time 0.01264/0.5856, allocations: 10 MB / 0.6434 GB, free: 15.29 MB / 494.1 MB Notification: Performance of Tearing: time 0.003815/0.5894, allocations: 3.139 MB / 0.6464 GB, free: 12.05 MB / 494.1 MB Notification: Performance of Initialization: time 1.533e-06/0.5894, allocations: 4 kB / 0.6464 GB, free: 12.05 MB / 494.1 MB Notification: Performance of Tearing: time 0.003616/0.593, allocations: 2.999 MB / 0.6494 GB, free: 8.953 MB / 494.1 MB Notification: Performance of Categorize: time 9.388e-05/0.5932, allocations: 23.86 kB / 0.6494 GB, free: 8.93 MB / 494.1 MB Notification: Performance of Solve: time 0.002127/0.5953, allocations: 0.9887 MB / 0.6503 GB, free: 7.918 MB / 494.1 MB Notification: Performance of Jacobian: time 5.68e-06/0.5953, allocations: 3.938 kB / 0.6504 GB, free: 7.914 MB / 494.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 9.639e-05/0.5954, allocations: 95.53 kB / 0.6504 GB, free: 7.832 MB / 494.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");