Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.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.General.dp_idealGas_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|frac_KmToRs.1.|frac_KmToRs.2.|frac_KmToRs.3.|dp_nom.1.|dp_nom.2.|dp_nom.3.|p_2.1.|p_2.2.|p_2.3.|m_flow_nom.1.|m_flow_nom.2.|m_flow_nom.3.|Km.1.|Km.2.|Km.3.|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|frac_KmToRs.1.|frac_KmToRs.2.|frac_KmToRs.3.|dp_nom.1.|dp_nom.2.|dp_nom.3.|p_2.1.|p_2.2.|p_2.3.|m_flow_nom.1.|m_flow_nom.2.|m_flow_nom.3.|Km.1.|Km.2.|Km.3.|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009674/0.0009673, allocations: 110.2 kB / 18.42 MB, free: 4.656 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.001108/0.001108, allocations: 191.5 kB / 19.35 MB, free: 3.73 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.238/1.238, allocations: 222.9 MB / 243 MB, free: 15.09 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.175/0.175, allocations: 44.19 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.261e-05/2.262e-05, allocations: 2.281 kB / 409.9 MB, free: 26.56 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.00266/0.002697, allocations: 1.78 MB / 411.6 MB, free: 24.78 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.003948, allocations: 0.9738 MB / 412.6 MB, free: 23.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.914e-05/0.004018, allocations: 4 kB / 412.6 MB, free: 23.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001957/0.00422, allocations: 47.67 kB / 412.7 MB, free: 23.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001594/0.004387, allocations: 63.66 kB / 412.7 MB, free: 23.69 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000263/0.004665, allocations: 123.5 kB / 412.8 MB, free: 23.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000175/0.00485, allocations: 191.3 kB / 413 MB, free: 23.38 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.867e-05/0.004896, allocations: 4 kB / 413 MB, free: 23.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.726e-05/0.004998, allocations: 91.66 kB / 413.1 MB, free: 23.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.005107, allocations: 99.66 kB / 413.2 MB, free: 23.19 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.005127, allocations: 4 kB / 413.2 MB, free: 23.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002189/0.005351, allocations: 211.6 kB / 413.4 MB, free: 22.98 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001676/0.005526, allocations: 229.8 kB / 413.7 MB, free: 22.75 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 7.656e-05/0.005608, allocations: 170.1 kB / 413.8 MB, free: 22.58 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.426e-05/0.005637, allocations: 15.94 kB / 413.8 MB, free: 22.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.679e-05/0.005659, allocations: 4 kB / 413.8 MB, free: 22.56 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 (22) * Number of variables: 148 (22) Notification: Performance of Bindings: time 0.0007255/0.006388, allocations: 1.055 MB / 414.9 MB, free: 21.4 MB / 302.1 MB Notification: Performance of FunctionAlias: time 3.785e-05/0.006433, allocations: 39.91 kB / 414.9 MB, free: 21.36 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0003359/0.006774, allocations: 0.5153 MB / 415.4 MB, free: 20.82 MB / 302.1 MB Notification: Performance of simplify1: time 1.62e-05/0.006797, allocations: 15.97 kB / 415.5 MB, free: 20.8 MB / 302.1 MB Notification: Performance of Alias: time 8.382e-05/0.006887, allocations: 122.2 kB / 415.6 MB, free: 20.64 MB / 302.1 MB Notification: Performance of simplify2: time 1.218e-05/0.006904, allocations: 19.97 kB / 415.6 MB, free: 20.62 MB / 302.1 MB Notification: Performance of Events: time 7.742e-05/0.006986, allocations: 59.88 kB / 415.7 MB, free: 20.57 MB / 302.1 MB Notification: Performance of Detect States: time 9.015e-05/0.007082, allocations: 108.1 kB / 415.8 MB, free: 20.45 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001374/0.007225, allocations: 149.1 kB / 415.9 MB, free: 20.28 MB / 302.1 MB Error: Internal error NBAdjacency.Matrix.createPseudo failed for: [ARRY] (3) DP = {(m_flow_IN_var.rho_m / (m_flow_IN_con.Km * m_flow_IN_var.T_m)) ^ (m_flow_IN_con.dp_smooth - 1.0) * (m_flow_IN_con.R_s / m_flow_IN_con.Km) * Modelica.Fluid.Dissipation.Utilities.Functions.General.SmoothPower(input_mdot[i] / (m_flow_IN_var.rho_m / (m_flow_IN_var.T_m * m_flow_IN_con.Km)), (m_flow_IN_var.rho_m / (m_flow_IN_con.Km * m_flow_IN_var.T_m)) ^ (1.0 / m_flow_IN_con.dp_smooth - 1.0) * (m_flow_IN_con.Km / m_flow_IN_con.R_s) ^ (1.0 / m_flow_IN_con.dp_smooth) * m_flow_IN_con.exp ^ (1.0 / m_flow_IN_con.dp_smooth), m_flow_IN_con.dp_smooth) for i in 1:3} ($RES_SIM_1) Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (22/132) *************************** (1) [ALGB] (3) Real[3] DP = {input_dp[i] for i in 1:3} (start = {0.0 for $i1 in 1:3}) (2) [ALGB] (3) Real[3] Km = {(rho_m * (p_1 - p_2[i]) * R_s) / m_flow_nom[i] ^ exp for i in 1:3} (3) [ALGB] (9) Real[3, 3] m_flow_IN_con.dp_smooth = {1.0 for $i1 in 1:3} (min = {1e-15 for $m_flow_IN_con1 in 1:3}) (4) [ALGB] (1) Real input_DP.y (5) [ALGB] (9) Real[3, 3] m_flow_IN_con.exp = {exp for $m_flow_IN_con1 in 1:3} (6) [ALGB] (3) Real[3] M_FLOW (start = {0.0 for $i1 in 1:3}) (7) [ALGB] (9) Real[3, 3] dp_IN_con.exp = {exp for $dp_IN_con1 in 1:3} (8) [ALGB] (9) Real[3, 3] m_flow_IN_con.R_s = {R_s for $m_flow_IN_con1 in 1:3} (9) [ALGB] (9) Real[3, 3] dp_IN_con.R_s = {R_s for $dp_IN_con1 in 1:3} (10) [ALGB] (9) Real[3, 3] m_flow_IN_var.rho_m = {rho_m for $m_flow_IN_var1 in 1:3} (min = {0.0 for $i1 in 1:3}) (11) [ALGB] (9) Real[3, 3] dp_IN_con.dp_smooth = {1.0 for $i1 in 1:3} (min = {1e-15 for $dp_IN_con1 in 1:3}) (12) [ALGB] (3) Real[3] input_dp = {1.0 for $i1 in 1:3} .* input_DP.y (start = {0.0 for $i1 in 1:3}) (13) [ALGB] (3) Real[3] DP_plot = {DP[i] for i in 1:3} (14) [ALGB] (9) Real[3, 3] dp_IN_con.Km = {Km[$dp_IN_con1] for $dp_IN_con1 in 1:3} (15) [ALGB] (9) Real[3, 3] m_flow_IN_con.Km = {Km[$m_flow_IN_con1] for $m_flow_IN_con1 in 1:3} (16) [ALGB] (9) Real[3, 3] m_flow_IN_var.T_m = {T_m for $m_flow_IN_var1 in 1:3} (start = {288.15 for $i1 in 1:3}, min = {0.0 for $i1 in 1:3}, nominal = {300.0 for $i1 in 1:3}) (17) [ALGB] (3) Real[3] input_mdot (start = {0.0 for $i1 in 1:3}) (18) [ALGB] (3) Real[3] frac_KmToRs = {Km[i] / R_s for i in 1:3} (19) [ALGB] (9) Real[3, 3] dp_IN_var.rho_m = {rho_m for $dp_IN_var1 in 1:3} (min = {0.0 for $i1 in 1:3}) (20) [ALGB] (9) Real[3, 3] dp_IN_var.T_m = {T_m for $dp_IN_var1 in 1:3} (start = {288.15 for $i1 in 1:3}, min = {0.0 for $i1 in 1:3}, nominal = {300.0 for $i1 in 1:3}) (21) [DISC] (1) Boolean $TEV_1 (22) [DISC] (1) Boolean $TEV_0 System Equations (22/60) ************************** (1) [FOR-] (3) ($RES_BND_39) (1) [----] for $i1 in 1:3 loop (1) [----] [SCAL] (1) DP_plot[$i1] = DP[$i1] ($RES_BND_40) (1) [----] end for; (2) [FOR-] (3) ($RES_BND_9) (2) [----] for $i1 in 1:3 loop (2) [----] [SCAL] (1) DP[$i1] = input_dp[$i1] ($RES_BND_10) (2) [----] end for; (3) [FOR-] (3) ($RES_BND_7) (3) [----] for $i1 in 1:3 loop (3) [----] [SCAL] (1) input_dp[$i1] = input_DP.y ($RES_BND_8) (3) [----] end for; (4) [FOR-] (3) ($RES_BND_5) (4) [----] for $i1 in 1:3 loop (4) [----] [SCAL] (1) Km[$i1] = (rho_m * (p_1 - p_2[$i1]) * R_s) / m_flow_nom[$i1] ^ exp ($RES_BND_6) (4) [----] end for; (5) [FOR-] (3) ($RES_BND_11) (5) [----] for $i1 in 1:3 loop (5) [----] [SCAL] (1) m_flow_IN_con[$i1].exp = exp ($RES_BND_12) (5) [----] end for; (6) [FOR-] (3) ($RES_BND_3) (6) [----] for $i1 in 1:3 loop (6) [----] [SCAL] (1) frac_KmToRs[$i1] = Km[$i1] / R_s ($RES_BND_4) (6) [----] end for; (7) [SCAL] (1) input_DP.y = input_DP.offset + (if $TEV_0 then 0.0 else if $TEV_1 then (input_DP.height * (time - input_DP.startTime)) / input_DP.duration else input_DP.height) ($RES_SIM_2) (8) [FOR-] (3) ($RES_BND_13) (8) [----] for $i1 in 1:3 loop (8) [----] [SCAL] (1) m_flow_IN_con[$i1].R_s = R_s ($RES_BND_14) (8) [----] end for; (9) [ARRY] (3) DP = {(m_flow_IN_var.rho_m / (m_flow_IN_con.Km * m_flow_IN_var.T_m)) ^ (m_flow_IN_con.dp_smooth - 1.0) * (m_flow_IN_con.R_s / m_flow_IN_con.Km) * Modelica.Fluid.Dissipation.Utilities.Functions.General.SmoothPower(input_mdot[i] / (m_flow_IN_var.rho_m / (m_flow_IN_var.T_m * m_flow_IN_con.Km)), (m_flow_IN_var.rho_m / (m_flow_IN_con.Km * m_flow_IN_var.T_m)) ^ (1.0 / m_flow_IN_con.dp_smooth - 1.0) * (m_flow_IN_con.Km / m_flow_IN_con.R_s) ^ (1.0 / m_flow_IN_con.dp_smooth) * m_flow_IN_con.exp ^ (1.0 / m_flow_IN_con.dp_smooth), m_flow_IN_con.dp_smooth) for i in 1:3} ($RES_SIM_1) (10) [FOR-] (3) ($RES_BND_15) (10) [----] for $i1 in 1:3 loop (10) [----] [SCAL] (1) m_flow_IN_con[$i1].Km = Km[$i1] ($RES_BND_16) (10) [----] end for; (11) [ARRY] (3) M_FLOW = {(dp_IN_var.rho_m / (dp_IN_con.Km * dp_IN_var.T_m)) ^ (1.0 / dp_IN_con.dp_smooth) * (dp_IN_con.Km / dp_IN_con.R_s) ^ (1.0 / dp_IN_con.dp_smooth) * Modelica.Fluid.Dissipation.Utilities.Functions.General.SmoothPower(input_dp[i], dp_IN_con.exp, 1/dp_IN_con.dp_smooth) for i in 1:3} ($RES_SIM_0) (12) [FOR-] (3) ($RES_BND_21) (12) [----] for $i1 in 1:3 loop (12) [----] [SCAL] (1) m_flow_IN_var[$i1].T_m = T_m ($RES_BND_22) (12) [----] end for; (13) [FOR-] (3) ($RES_BND_17) (13) [----] for $i1 in 1:3 loop (13) [----] [SCAL] (1) m_flow_IN_con[$i1].dp_smooth = 1.0 ($RES_BND_18) (13) [----] end for; (14) [FOR-] (3) ($RES_BND_31) (14) [----] for $i1 in 1:3 loop (14) [----] [SCAL] (1) dp_IN_con[$i1].dp_smooth = 1.0 ($RES_BND_32) (14) [----] end for; (15) [FOR-] (3) ($RES_BND_25) (15) [----] for $i1 in 1:3 loop (15) [----] [SCAL] (1) dp_IN_con[$i1].exp = exp ($RES_BND_26) (15) [----] end for; (16) [FOR-] (3) ($RES_BND_19) (16) [----] for $i1 in 1:3 loop (16) [----] [SCAL] (1) m_flow_IN_var[$i1].rho_m = rho_m ($RES_BND_20) (16) [----] end for; (17) [SCAL] (1) $TEV_0 = time < input_DP.startTime ($RES_EVT_41) (18) [SCAL] (1) $TEV_1 = time < (input_DP.startTime + input_DP.duration) ($RES_EVT_42) (19) [FOR-] (3) ($RES_BND_33) (19) [----] for $i1 in 1:3 loop (19) [----] [SCAL] (1) dp_IN_var[$i1].rho_m = rho_m ($RES_BND_34) (19) [----] end for; (20) [FOR-] (3) ($RES_BND_27) (20) [----] for $i1 in 1:3 loop (20) [----] [SCAL] (1) dp_IN_con[$i1].R_s = R_s ($RES_BND_28) (20) [----] end for; (21) [FOR-] (3) ($RES_BND_29) (21) [----] for $i1 in 1:3 loop (21) [----] [SCAL] (1) dp_IN_con[$i1].Km = Km[$i1] ($RES_BND_30) (21) [----] end for; (22) [FOR-] (3) ($RES_BND_35) (22) [----] for $i1 in 1:3 loop (22) [----] [SCAL] (1) dp_IN_var[$i1].T_m = T_m ($RES_BND_36) (22) [----] end for;