Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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="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_3.2.3_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_3.2.3_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.001355/0.001355, allocations: 107 kB / 17.09 MB, free: 5.957 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.001292/0.001292, allocations: 194.7 kB / 18.02 MB, free: 5.047 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.969/1.969, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2762/0.2762, allocations: 43.53 MB / 314.8 MB, free: 460 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.825e-05/2.826e-05, allocations: 2.281 kB / 442.4 MB, free: 5.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion): time 0.07317/0.07321, allocations: 62.88 MB / 0.4935 GB, free: 6.633 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0314/0.1047, allocations: 22.45 MB / 0.5154 GB, free: 108 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002019/0.1067, allocations: 27.81 kB / 0.5154 GB, free: 80 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002265/0.109, allocations: 0.7257 MB / 0.5161 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01973/0.1288, allocations: 5.73 MB / 0.5217 GB, free: 9.613 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01305/0.1418, allocations: 3.45 MB / 0.5251 GB, free: 6.152 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.3927/0.5345, allocations: 9.321 MB / 0.5342 GB, free: 14.31 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002103/0.5367, allocations: 0.6772 MB / 0.5349 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003702/0.5404, allocations: 1.13 MB / 0.536 GB, free: 14.26 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01873/0.5591, allocations: 7.04 MB / 0.5428 GB, free: 12.37 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007939/0.56, allocations: 88.41 kB / 0.5429 GB, free: 12.37 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02553/0.5856, allocations: 7.232 MB / 0.55 GB, free: 12.36 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.004333/0.59, allocations: 2.34 MB / 0.5523 GB, free: 11.32 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.001491/0.5915, allocations: 1.545 MB / 0.5538 GB, free: 10.36 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006838/0.5922, allocations: 226.2 kB / 0.554 GB, free: 10.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 0.0003672/0.5926, allocations: 44.56 kB / 0.554 GB, free: 10.32 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.01013/0.6027, allocations: 7.043 MB / 0.5609 GB, free: 7.219 MB / 414.1 MB Notification: Performance of FunctionAlias: time 0.0005083/0.6032, allocations: 325.5 kB / 0.5612 GB, free: 7.184 MB / 414.1 MB Notification: Performance of Early Inline: time 0.009541/0.6128, allocations: 5.578 MB / 0.5667 GB, free: 6.75 MB / 414.1 MB Notification: Performance of simplify1: time 0.0006301/0.6135, allocations: 339.9 kB / 0.567 GB, free: 6.742 MB / 414.1 MB Notification: Performance of Alias: time 0.007396/0.6209, allocations: 4.171 MB / 0.5711 GB, free: 5.453 MB / 414.1 MB Notification: Performance of simplify2: time 0.0006914/0.6216, allocations: 315.8 kB / 0.5714 GB, free: 5.445 MB / 414.1 MB Notification: Performance of Events: time 0.00111/0.6227, allocations: 0.7612 MB / 0.5721 GB, free: 5.293 MB / 414.1 MB Notification: Performance of Detect States: time 0.0009032/0.6236, allocations: 0.9516 MB / 0.573 GB, free: 5.191 MB / 414.1 MB Notification: Performance of Partitioning: time 0.002167/0.6258, allocations: 1.841 MB / 0.5748 GB, free: 4.211 MB / 414.1 MB Notification: Performance of Causalize: time 0.008814/0.6346, allocations: 7.182 MB / 0.5818 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of After Index Reduction Inline: time 0.005012/0.6397, allocations: 3.803 MB / 0.5856 GB, free: 13.39 MB / 430.1 MB Notification: Performance of Inline: time 0.01564/0.6554, allocations: 8.66 MB / 0.594 GB, free: 5.371 MB / 430.1 MB Notification: Performance of Partitioning: time 0.0009569/0.6564, allocations: 305.4 kB / 0.5943 GB, free: 5.039 MB / 430.1 MB Notification: Performance of Cleanup: time 0.00108/0.6575, allocations: 335.5 kB / 0.5946 GB, free: 4.723 MB / 430.1 MB Notification: Performance of Causalize: time 0.017/0.6745, allocations: 9.989 MB / 0.6044 GB, free: 10.71 MB / 446.1 MB Notification: Performance of Tearing: time 0.002053/0.6766, allocations: 1.518 MB / 0.6059 GB, free: 9.113 MB / 446.1 MB Notification: Performance of Initialization: time 1.433e-06/0.6766, allocations: 0 / 0.6059 GB, free: 9.113 MB / 446.1 MB Notification: Performance of Tearing: time 0.00188/0.6785, allocations: 1.519 MB / 0.6074 GB, free: 7.512 MB / 446.1 MB Notification: Performance of Categorize: time 0.000128/0.6786, allocations: 11.94 kB / 0.6074 GB, free: 7.5 MB / 446.1 MB Notification: Performance of Solve: time 0.002748/0.6814, allocations: 0.9847 MB / 0.6083 GB, free: 6.512 MB / 446.1 MB Notification: Performance of Jacobian: time 4.509e-06/0.6814, allocations: 0 / 0.6083 GB, free: 6.512 MB / 446.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.0001301/0.6816, allocations: 101.2 kB / 0.6084 GB, free: 6.418 MB / 446.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");