Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001143/0.001143, allocations: 107.1 kB / 16.42 MB, free: 6.031 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.001166/0.001166, allocations: 186.6 kB / 17.35 MB, free: 5.602 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.265/1.265, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1673/0.1673, allocations: 39.96 MB / 310.6 MB, free: 4.004 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.562e-05/2.563e-05, allocations: 2.5 kB / 436.4 MB, free: 11.88 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.002122/0.002156, allocations: 1.777 MB / 438.2 MB, free: 10.08 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.003306, allocations: 1.01 MB / 439.2 MB, free: 9.062 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.641e-05/0.003373, allocations: 0 / 439.2 MB, free: 9.062 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002061/0.003587, allocations: 55.67 kB / 439.3 MB, free: 9.008 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001629/0.003757, allocations: 63.66 kB / 439.3 MB, free: 8.945 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.004037, allocations: 127.5 kB / 439.5 MB, free: 8.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001873/0.004233, allocations: 191.2 kB / 439.6 MB, free: 8.633 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.627e-05/0.004276, allocations: 11.97 kB / 439.7 MB, free: 8.621 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.915e-05/0.00436, allocations: 95.66 kB / 439.7 MB, free: 8.527 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.004477, allocations: 91.72 kB / 439.8 MB, free: 8.438 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.004497, allocations: 4 kB / 439.8 MB, free: 8.434 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002507/0.004752, allocations: 207.7 kB / 440 MB, free: 8.23 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001589/0.00492, allocations: 237.8 kB / 440.3 MB, free: 7.996 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 8.42e-05/0.00501, allocations: 170.1 kB / 440.4 MB, free: 7.828 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.298e-05/0.005038, allocations: 15.94 kB / 440.5 MB, free: 7.812 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.311e-05/0.005056, allocations: 0 / 440.5 MB, free: 7.812 MB / 318.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.0007622/0.005822, allocations: 1.051 MB / 441.5 MB, free: 6.656 MB / 318.1 MB Notification: Performance of FunctionAlias: time 3.825e-05/0.005867, allocations: 35.92 kB / 441.5 MB, free: 6.621 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0003559/0.006227, allocations: 0.5269 MB / 442.1 MB, free: 6.066 MB / 318.1 MB Notification: Performance of simplify1: time 1.754e-05/0.006253, allocations: 19.95 kB / 442.1 MB, free: 6.047 MB / 318.1 MB Notification: Performance of Alias: time 7.883e-05/0.006336, allocations: 122.2 kB / 442.2 MB, free: 5.891 MB / 318.1 MB Notification: Performance of simplify2: time 1.337e-05/0.006354, allocations: 15.98 kB / 442.2 MB, free: 5.875 MB / 318.1 MB Notification: Performance of Events: time 7.942e-05/0.006438, allocations: 43.95 kB / 442.3 MB, free: 5.832 MB / 318.1 MB Notification: Performance of Detect States: time 9.323e-05/0.006537, allocations: 120 kB / 442.4 MB, free: 5.699 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001345/0.006677, allocations: 158.3 kB / 442.5 MB, free: 5.523 MB / 318.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;