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.001034/0.001034, allocations: 111.8 kB / 18.47 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001113/0.001113, allocations: 214.2 kB / 19.42 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.145/1.145, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1732/0.1732, allocations: 46.11 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.579e-05/1.58e-05, allocations: 2.281 kB / 481.9 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion): time 0.2032/0.2032, allocations: 63.06 MB / 0.5322 GB, free: 8.289 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01991/0.2231, allocations: 22.46 MB / 0.5541 GB, free: 8.688 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000658/0.2238, allocations: 28.31 kB / 0.5542 GB, free: 8.676 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001447/0.2253, allocations: 0.7242 MB / 0.5549 GB, free: 8.066 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01153/0.2368, allocations: 5.758 MB / 0.5605 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007114/0.2439, allocations: 3.455 MB / 0.5639 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0127/0.2567, allocations: 9.334 MB / 0.573 GB, free: 9.465 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007643/0.2574, allocations: 0.6851 MB / 0.5737 GB, free: 8.773 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001431/0.2589, allocations: 1.144 MB / 0.5748 GB, free: 7.625 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01063/0.2695, allocations: 7.029 MB / 0.5816 GB, free: 496 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001427/0.2697, allocations: 88 kB / 0.5817 GB, free: 408 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01064/0.2803, allocations: 7.255 MB / 0.5888 GB, free: 9.137 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.001489/0.2818, allocations: 2.338 MB / 0.5911 GB, free: 6.773 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 0.0008243/0.2827, allocations: 1.564 MB / 0.5926 GB, free: 5.195 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002489/0.2829, allocations: 227.4 kB / 0.5928 GB, free: 4.973 MB / 430.1 MB Notification: Performance of FrontEnd: time 0.0001678/0.2831, allocations: 39.88 kB / 0.5929 GB, free: 4.934 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.005221/0.2883, allocations: 7.062 MB / 0.5998 GB, free: 13.67 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.0002401/0.2886, allocations: 323.4 kB / 0.6001 GB, free: 13.36 MB / 446.1 MB Notification: Performance of Early Inline: time 0.00484/0.2934, allocations: 5.575 MB / 0.6055 GB, free: 7.699 MB / 446.1 MB Notification: Performance of simplify1: time 0.0002779/0.2937, allocations: 339.6 kB / 0.6058 GB, free: 7.367 MB / 446.1 MB Notification: Performance of Alias: time 0.003892/0.2976, allocations: 4.187 MB / 0.6099 GB, free: 2.828 MB / 446.1 MB Notification: Performance of simplify2: time 0.000252/0.2978, allocations: 307.6 kB / 0.6102 GB, free: 2.527 MB / 446.1 MB Notification: Performance of Events: time 0.0006949/0.2986, allocations: 0.747 MB / 0.611 GB, free: 1.781 MB / 446.1 MB Notification: Performance of Detect States: time 0.0006951/0.2993, allocations: 0.953 MB / 0.6119 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of Partitioning: time 0.001458/0.3007, allocations: 1.85 MB / 0.6137 GB, free: 14.54 MB / 462.1 MB Notification: Performance of Causalize: time 0.006518/0.3072, allocations: 7.176 MB / 0.6207 GB, free: 6.926 MB / 462.1 MB Notification: Performance of After Index Reduction Inline: time 0.00295/0.3102, allocations: 3.787 MB / 0.6244 GB, free: 3.098 MB / 462.1 MB Notification: Performance of Inline: time 0.007373/0.3176, allocations: 8.657 MB / 0.6328 GB, free: 10.31 MB / 478.1 MB Notification: Performance of Partitioning: time 0.0002974/0.3179, allocations: 309.4 kB / 0.6331 GB, free: 9.973 MB / 478.1 MB Notification: Performance of Cleanup: time 0.0002546/0.3182, allocations: 335.4 kB / 0.6335 GB, free: 9.645 MB / 478.1 MB Notification: Performance of Causalize: time 0.01014/0.3283, allocations: 9.994 MB / 0.6432 GB, free: 15.49 MB / 494.1 MB Notification: Performance of Tearing: time 0.001382/0.3297, allocations: 1.514 MB / 0.6447 GB, free: 13.88 MB / 494.1 MB Notification: Performance of Initialization: time 5.51e-07/0.3297, allocations: 0 / 0.6447 GB, free: 13.88 MB / 494.1 MB Notification: Performance of Tearing: time 0.00139/0.3311, allocations: 1.519 MB / 0.6462 GB, free: 12.26 MB / 494.1 MB Notification: Performance of Categorize: time 4.866e-05/0.3312, allocations: 19.88 kB / 0.6462 GB, free: 12.24 MB / 494.1 MB Notification: Performance of Solve: time 0.001321/0.3325, allocations: 0.9965 MB / 0.6472 GB, free: 11.22 MB / 494.1 MB Notification: Performance of Jacobian: time 3.988e-06/0.3325, allocations: 3.984 kB / 0.6472 GB, free: 11.22 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: 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 7.627e-05/0.3326, allocations: 90.67 kB / 0.6473 GB, free: 11.13 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");