Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.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.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|eta_l.1.|eta_l.2.|eta_l.3.|eta_l.4.|eta_l.5.|eta_g.1.|eta_g.2.|eta_g.3.|eta_g.4.|eta_g.5.|rho_l.1.|rho_l.2.|rho_l.3.|rho_l.4.|rho_l.5.|rho_g.1.|rho_g.2.|rho_g.3.|rho_g.4.|rho_g.5.|sigma.1.|sigma.2.|sigma.3.|sigma.4.|sigma.5.|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_mdot.5.|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|m_flow.5.|DP_1.1.|DP_1.2.|DP_1.3.|DP_1.4.|DP_1.5.|DP_2.1.|DP_2.2.|DP_2.3.|DP_2.4.|DP_2.5.|DP_plot_1.1.|DP_plot_1.2.|DP_plot_1.3.|DP_plot_1.4.|DP_plot_1.5.|DP_plot_2.1.|DP_plot_2.2.|DP_plot_2.3.|DP_plot_2.4.|DP_plot_2.5.|x_flow|input_mflow_0.1..y|input_mflow_0.2..y|input_mflow_0.3..y|input_mflow_0.4..y|input_mflow_0.5..y|input_mflow_1.1..y|input_mflow_1.2..y|input_mflow_1.3..y|input_mflow_1.4..y|input_mflow_1.5..y|input_mflow_2.1..y|input_mflow_2.2..y|input_mflow_2.3..y|input_mflow_2.4..y|input_mflow_2.5..y|input_x_0.y|input_x_1.y|input_x_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|eta_l.1.|eta_l.2.|eta_l.3.|eta_l.4.|eta_l.5.|eta_g.1.|eta_g.2.|eta_g.3.|eta_g.4.|eta_g.5.|rho_l.1.|rho_l.2.|rho_l.3.|rho_l.4.|rho_l.5.|rho_g.1.|rho_g.2.|rho_g.3.|rho_g.4.|rho_g.5.|sigma.1.|sigma.2.|sigma.3.|sigma.4.|sigma.5.|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_mdot.5.|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|m_flow.5.|DP_1.1.|DP_1.2.|DP_1.3.|DP_1.4.|DP_1.5.|DP_2.1.|DP_2.2.|DP_2.3.|DP_2.4.|DP_2.5.|DP_plot_1.1.|DP_plot_1.2.|DP_plot_1.3.|DP_plot_1.4.|DP_plot_1.5.|DP_plot_2.1.|DP_plot_2.2.|DP_plot_2.3.|DP_plot_2.4.|DP_plot_2.5.|x_flow|input_mflow_0.1..y|input_mflow_0.2..y|input_mflow_0.3..y|input_mflow_0.4..y|input_mflow_0.5..y|input_mflow_1.1..y|input_mflow_1.2..y|input_mflow_1.3..y|input_mflow_1.4..y|input_mflow_1.5..y|input_mflow_2.1..y|input_mflow_2.2..y|input_mflow_2.3..y|input_mflow_2.4..y|input_mflow_2.5..y|input_x_0.y|input_x_1.y|input_x_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 107.3 kB / 18.46 MB, free: 4.594 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.001616/0.001616, allocations: 183.7 kB / 19.39 MB, free: 3.672 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.167/1.167, allocations: 222.9 MB / 243.1 MB, free: 15.04 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.1696/0.1696, allocations: 44.19 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.109e-05/2.111e-05, allocations: 2.281 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP): time 0.002675/0.002705, allocations: 2.249 MB / 473.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006397/0.009115, allocations: 5.517 MB / 479 MB, free: 5.379 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.009276, allocations: 0 / 479 MB, free: 5.379 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003177/0.009603, allocations: 103.2 kB / 479.1 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002341/0.009846, allocations: 115.2 kB / 479.2 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002808/0.01268, allocations: 1.578 MB / 480.8 MB, free: 3.586 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005138/0.0132, allocations: 0.5335 MB / 481.3 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.504e-05/0.01326, allocations: 9.688 kB / 481.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002055/0.01347, allocations: 211.2 kB / 481.5 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002218/0.0137, allocations: 223.2 kB / 481.7 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.049e-05/0.01374, allocations: 12 kB / 481.7 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002789/0.01653, allocations: 2.897 MB / 484.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0003689/0.01691, allocations: 0.5184 MB / 485.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002388/0.01716, allocations: 395.5 kB / 485.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.999e-05/0.0172, allocations: 27.94 kB / 485.6 MB, free: 14.76 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.602e-05/0.01724, allocations: 4 kB / 485.6 MB, free: 14.75 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 (54) * Number of variables: 930 (54) Notification: Performance of Bindings: time 0.00179/0.01903, allocations: 2.224 MB / 487.8 MB, free: 12.41 MB / 366.1 MB Notification: Performance of FunctionAlias: time 0.000234/0.01927, allocations: 229.7 kB / 488 MB, free: 12.2 MB / 366.1 MB Notification: Performance of Early Inline: time 0.0008697/0.02015, allocations: 1.072 MB / 489.1 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simplify1: time 2.797e-05/0.02019, allocations: 31.95 kB / 489.1 MB, free: 11.06 MB / 366.1 MB Notification: Performance of Alias: time 0.0005993/0.02079, allocations: 0.5553 MB / 489.7 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simplify2: time 2.454e-05/0.02083, allocations: 27.95 kB / 489.7 MB, free: 10.44 MB / 366.1 MB Notification: Performance of Events: time 0.0002047/0.02104, allocations: 202 kB / 489.9 MB, free: 10.24 MB / 366.1 MB Notification: Performance of Detect States: time 0.0002387/0.02129, allocations: 279.9 kB / 490.2 MB, free: 9.949 MB / 366.1 MB Notification: Performance of Partitioning: time 0.0003888/0.02168, allocations: 422.6 kB / 490.6 MB, free: 9.488 MB / 366.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (34|680) Unmatched Variables ****************************** [DISC] (25) Boolean[5, 5] IN_con_2.momentumPressureLoss = {false for $i1 in 1:5} slice: {5, 6, 7, 8, 9, 10, 11, 12, 13, 14, ...} [ALGB] (25) Real[5, 5] IN_var_1.eta_g = {eta_g[$IN_var_11] for $IN_var_11 in 1:5} (min = {0.0 for $i1 in 1:5}) slice: {5, 6, 7, 8, 9, 10, 11, 12, 13, 14, ...} [DISC] (25) enumeration Modelica.Fluid.Dissipation.Utilities.Types.VoidFractionApproach(Homogeneous, Momentum, Energy, Chisholm)[5, 5] IN_con_2.voidFractionApproach = {Modelica.Fluid.Dissipation.Utilities.Types.VoidFractionApproach.Energy for $i1 in 1:5} slice: {5, 6, 7, 8, 9, 10, 11, 12, 13, 14, ...} [ALGB] (25) Real[5, 5] IN_var_2.x_flow_end = {x_flow for $i1 in 1:5} slice: {5, 6, 7, 8, 9, 10, 11, 12, 13, 14, ...} [DISC] (25) Boolean[5, 5] IN_con_2.geodeticPressureLoss = {false for $i1 in 1:5} slice: {5, 6, 7, 8, 9, 10, 11, 12, 13, 14, ...} [ALGB] (25) Real[5, 5] IN_con_1.phi = {0.0 for $i1 in 1:5} slice: {5, 6, 7, 8, 9, 10, 11, 12, 13, 14, ...} [DISC] (25) enumeration Modelica.Fluid.Dissipation.Utilities.Types.TwoPhaseFrictionalPressureLoss(Friedel, Chisholm)[5, 5] IN_con_2.frictionalPressureLoss = {Modelica.Fluid.Dissipation.Utilities.Types.TwoPhaseFrictionalPressureLoss.Chisholm for $i1 in 1:5} slice: {5, 6, 7, 8, 9, 10, 11, 12, 13, 14, ...} [DISC] (25) enumeration Modelica.Fluid.Dissipation.Utilities.Types.TwoPhaseFrictionalPressureLoss(Friedel, Chisholm)[5, 5] IN_con_1.frictionalPressureLoss = {Modelica.Fluid.Dissipation.Utilities.Types.TwoPhaseFrictionalPressureLoss.Friedel for $i1 in 1:5} slice: {5, 6, 7, 8, 9, 10, 11, 12, 13, 14, ...} [ALGB] (25) Real[5, 5] IN_var_2.x_flow_sta = {x_flow for $i1 in 1:5} slice: {5, 6, 7, 8, 9, 10, 11, 12, 13, 14, ...} [ALGB] (25) Real[5, 5] IN_con_2.perimeter = {perimeter for $i1 in 1:5} slice: {5, 6, 7, 8, 9, 10, 11, 12, 13, 14, ...} [ALGB] (25) Real[5, 5] IN_con_1.perimeter = {perimeter for $i1 in 1:5} slice: {5, 6, 7, 8, 9, 10, 11, 12, 13, 14, ...} [DISC] (25) Boolean[5, 5] IN_con_1.geodeticPressureLoss = {false for $i1 in 1:5} slice: {5, 6, 7, 8, 9, 10, 11, 12, 13, 14, ...} [ALGB] (25) final Real[5, 5] IN_var_2.x_flow = {(IN_var_2[$IN_var_21].x_flow_sta + IN_var_2[$IN_var_21].x_flow_end) / 2.0 for $IN_var_21 in 1:5} slice: {5, 6, 7, 8, 9, 10, 11, 12, 13, 14, ...} [ALGB] (25) Real[5, 5] IN_con_2.length = {length for $i1 in 1:5} slice: {5, 6, 7, 8, 9, 10, 11, 12, 13, 14, ...} [ALGB] (25) Real[5, 5] IN_var_2.sigma = {sigma[$IN_var_21] for $IN_var_21 in 1:5} slice: {5, 6, 7, 8, 9, 10, 11, 12, 13, 14, ...} [DISC] (25) Boolean[5, 5] IN_con_1.massFlowRateCorrection = {false for $i1 in 1:5} slice: {5, 6, 7, 8, 9, 10, 11, 12, 13, 14, ...} [ALGB] (25) Real[5, 5] IN_var_2.rho_l = {rho_l[$IN_var_21] for $IN_var_21 in 1:5} (min = {0.0 for $i1 in 1:5}) slice: {5, 6, 7, 8, 9, 10, 11, 12, 13, 14, ...} [ALGB] (25) Real[5, 5] IN_var_1.sigma = {sigma[$IN_var_11] for $IN_var_11 in 1:5} slice: {5, 6, 7, 8, 9, 10, 11, 12, 13, 14, ...} [ALGB] (25) Real[5, 5] IN_con_2.A_cross = {A_cross for $i1 in 1:5} slice: {5, 6, 7, 8, 9, 10, 11, 12, 13, 14, ...} [DISC] (25) Boolean[5, 5] IN_con_2.massFlowRateCorrection = {false for $i1 in 1:5} slice: {5, 6, 7, 8, 9, 10, 11, 12, 13, 14, ...} [DISC] (25) enumeration Modelica.Fluid.Dissipation.Utilities.Types.VoidFractionApproach(Homogeneous, Momentum, Energy, Chisholm)[5, 5] IN_con_1.voidFractionApproach = {Modelica.Fluid.Dissipation.Utilities.Types.VoidFractionApproach.Energy for $i1 in 1:5} slice: {5, 6, 7, 8, 9, 10, 11, 12, 13, 14, ...} [ALGB] (25) Real[5, 5] IN_var_1.rho_l = {rho_l[$IN_var_11] for $IN_var_11 in 1:5} (min = {0.0 for $i1 in 1:5}) slice: {5, 6, 7, 8, 9, 10, 11, 12, 13, 14, ...} [ALGB] (25) Real[5, 5] IN_var_2.rho_g = {rho_g[$IN_var_21] for $IN_var_21 in 1:5} (min = {0.0 for $i1 in 1:5}) slice: {5, 6, 7, 8, 9, 10, 11, 12, 13, 14, ...} [ALGB] (25) Real[5, 5] IN_var_1.rho_g = {rho_g[$IN_var_11] for $IN_var_11 in 1:5} (min = {0.0 for $i1 in 1:5}) slice: {5, 6, 7, 8, 9, 10, 11, 12, 13, 14, ...} [ALGB] (25) Real[5, 5] IN_con_2.phi = {0.0 for $i1 in 1:5} slice: {5, 6, 7, 8, 9, 10, 11, 12, 13, 14, ...} [ALGB] (25) Real[5, 5] IN_var_1.x_flow_end = {x_flow for $i1 in 1:5} slice: {5, 6, 7, 8, 9, 10, 11, 12, 13, 14, ...} [ALGB] (25) Real[5, 5] IN_var_1.x_flow_sta = {x_flow for $i1 in 1:5} slice: {5, 6, 7, 8, 9, 10, 11, 12, 13, 14, ...} [ALGB] (25) Real[5, 5] IN_con_1.A_cross = {A_cross for $i1 in 1:5} slice: {5, 6, 7, 8, 9, 10, 11, 12, 13, 14, ...} [DISC] (25) Boolean[5, 5] IN_con_1.momentumPressureLoss = {false for $i1 in 1:5} slice: {5, 6, 7, 8, 9, 10, 11, 12, 13, 14, ...} [ALGB] (25) final Real[5, 5] IN_var_1.x_flow = {(IN_var_1[$IN_var_11].x_flow_sta + IN_var_1[$IN_var_11].x_flow_end) / 2.0 for $IN_var_11 in 1:5} slice: {5, 6, 7, 8, 9, 10, 11, 12, 13, 14, ...} [ALGB] (25) Real[5, 5] IN_con_1.length = {length for $i1 in 1:5} slice: {5, 6, 7, 8, 9, 10, 11, 12, 13, 14, ...} [ALGB] (25) Real[5, 5] IN_var_2.eta_l = {eta_l[$IN_var_21] for $IN_var_21 in 1:5} (min = {0.0 for $i1 in 1:5}) slice: {5, 6, 7, 8, 9, 10, 11, 12, 13, 14, ...} [ALGB] (25) Real[5, 5] IN_var_1.eta_l = {eta_l[$IN_var_11] for $IN_var_11 in 1:5} (min = {0.0 for $i1 in 1:5}) slice: {5, 6, 7, 8, 9, 10, 11, 12, 13, 14, ...} [ALGB] (25) Real[5, 5] IN_var_2.eta_g = {eta_g[$IN_var_21] for $IN_var_21 in 1:5} (min = {0.0 for $i1 in 1:5}) slice: {5, 6, 7, 8, 9, 10, 11, 12, 13, 14, ...} (0|0) Unmatched Equations ***************************