Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_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.1_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.0009282/0.0009283, allocations: 107 kB / 16.42 MB, free: 6.469 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.0009024/0.0009025, allocations: 189.5 kB / 17.35 MB, free: 5.711 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.181/1.181, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1594/0.1594, allocations: 38.02 MB / 308.6 MB, free: 5.977 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.524e-05/1.524e-05, allocations: 5.375 kB / 433.6 MB, free: 14.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.001832/0.001855, allocations: 1.785 MB / 435.4 MB, free: 12.78 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.002979, allocations: 1.014 MB / 436.4 MB, free: 11.76 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.988e-05/0.003039, allocations: 0 / 436.4 MB, free: 11.76 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002/0.003245, allocations: 55.67 kB / 436.5 MB, free: 11.71 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001623/0.003415, allocations: 67.64 kB / 436.6 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002691/0.003697, allocations: 122.4 kB / 436.7 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.003895, allocations: 191.2 kB / 436.9 MB, free: 11.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.819e-05/0.00394, allocations: 8 kB / 436.9 MB, free: 11.33 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.337e-05/0.004019, allocations: 87.73 kB / 437 MB, free: 11.24 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.004132, allocations: 107.6 kB / 437.1 MB, free: 11.14 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.004152, allocations: 4 kB / 437.1 MB, free: 11.13 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002279/0.004385, allocations: 203.7 kB / 437.3 MB, free: 10.93 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001323/0.004524, allocations: 237.7 kB / 437.5 MB, free: 10.7 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 7.014e-05/0.0046, allocations: 170.1 kB / 437.7 MB, free: 10.53 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.937e-05/0.004624, allocations: 4 kB / 437.7 MB, free: 10.53 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.107e-05/0.00464, allocations: 4 kB / 437.7 MB, free: 10.52 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.0006974/0.005341, allocations: 1.051 MB / 438.7 MB, free: 9.367 MB / 318.1 MB Notification: Performance of FunctionAlias: time 3.623e-05/0.005384, allocations: 39.94 kB / 438.8 MB, free: 9.328 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0003406/0.005729, allocations: 0.5231 MB / 439.3 MB, free: 8.777 MB / 318.1 MB Notification: Performance of simplify1: time 1.756e-05/0.005755, allocations: 23.91 kB / 439.3 MB, free: 8.754 MB / 318.1 MB Notification: Performance of Alias: time 7.681e-05/0.005836, allocations: 126.2 kB / 439.4 MB, free: 8.594 MB / 318.1 MB Notification: Performance of simplify2: time 1.235e-05/0.005853, allocations: 15.97 kB / 439.4 MB, free: 8.578 MB / 318.1 MB Notification: Performance of Events: time 7.49e-05/0.005932, allocations: 43.97 kB / 439.5 MB, free: 8.535 MB / 318.1 MB Notification: Performance of Detect States: time 8.666e-05/0.006025, allocations: 106.2 kB / 439.6 MB, free: 8.418 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001333/0.006164, allocations: 162.3 kB / 439.7 MB, free: 8.238 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;