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_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|rho|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_pressureLossCoefficient_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|rho|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_pressureLossCoefficient_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 110.2 kB / 18.4 MB, free: 4.781 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.001165/0.001165, allocations: 195.5 kB / 19.34 MB, free: 3.852 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.247/1.247, allocations: 222.9 MB / 243 MB, free: 15.14 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.1861/0.1861, allocations: 44.18 MB / 337.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.16e-05/2.161e-05, allocations: 6.219 kB / 409.8 MB, free: 26.58 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002153/0.002191, allocations: 1.668 MB / 411.5 MB, free: 24.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009281/0.003131, allocations: 0.7946 MB / 412.3 MB, free: 24.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.287e-05/0.003185, allocations: 7.938 kB / 412.3 MB, free: 24.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001667/0.003358, allocations: 43.81 kB / 412.4 MB, free: 24.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001192/0.00349, allocations: 47.67 kB / 412.4 MB, free: 24.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002233/0.003721, allocations: 99.62 kB / 412.5 MB, free: 23.92 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.003873, allocations: 139.5 kB / 412.6 MB, free: 23.79 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.347e-05/0.003913, allocations: 3.984 kB / 412.6 MB, free: 23.78 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.746e-05/0.004006, allocations: 67.81 kB / 412.7 MB, free: 23.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.425e-05/0.004098, allocations: 67.75 kB / 412.8 MB, free: 23.65 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.004115, allocations: 8 kB / 412.8 MB, free: 23.64 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001851/0.004305, allocations: 163.7 kB / 412.9 MB, free: 23.48 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001028/0.004416, allocations: 158.5 kB / 413.1 MB, free: 23.32 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 4.787e-05/0.004469, allocations: 110.7 kB / 413.2 MB, free: 23.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.85e-05/0.004492, allocations: 12 kB / 413.2 MB, free: 23.2 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.242e-05/0.004509, allocations: 3.984 kB / 413.2 MB, free: 23.2 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: 41 (15) * Number of variables: 89 (15) Notification: Performance of Bindings: time 0.000537/0.005051, allocations: 0.7288 MB / 413.9 MB, free: 22.36 MB / 302.1 MB Notification: Performance of FunctionAlias: time 2.705e-05/0.005084, allocations: 19.98 kB / 414 MB, free: 22.34 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0002179/0.005308, allocations: 335.9 kB / 414.3 MB, free: 21.99 MB / 302.1 MB Notification: Performance of simplify1: time 1.351e-05/0.005328, allocations: 11.98 kB / 414.3 MB, free: 21.98 MB / 302.1 MB Notification: Performance of Alias: time 0.0002118/0.005545, allocations: 189.9 kB / 414.5 MB, free: 21.75 MB / 302.1 MB Notification: Performance of simplify2: time 1.17e-05/0.005565, allocations: 19.97 kB / 414.5 MB, free: 21.73 MB / 302.1 MB Notification: Performance of Events: time 6.057e-05/0.00563, allocations: 35.91 kB / 414.5 MB, free: 21.69 MB / 302.1 MB Notification: Performance of Detect States: time 6.771e-05/0.005705, allocations: 92.14 kB / 414.6 MB, free: 21.59 MB / 302.1 MB Notification: Performance of Partitioning: time 8.273e-05/0.005794, allocations: 96.08 kB / 414.7 MB, free: 21.49 MB / 302.1 MB Error: Internal error NBAdjacency.Matrix.createPseudo failed for: [ARRY] (3) DP = {(0.5 * Modelica.Fluid.Dissipation.Utilities.Functions.General.SmoothPower(input_mdot[i], m_flow_IN_var.zeta_TOT * (m_flow_IN_con.A_cross / (0.5 * m_flow_IN_var.rho * m_flow_IN_var.zeta_TOT)) ^ 0.5 * m_flow_IN_con.dp_smooth, 2.0) * m_flow_IN_var.rho) / (m_flow_IN_con.dp_smooth ^ 2.0 * m_flow_IN_var.zeta_TOT) for i in 1:3} ($RES_SIM_1) Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (16/90) ************************** (1) [ALGB] (3) Real[3] DP = {input_dp[i] for i in 1:3} (start = {0.0 for $i1 in 1:3}) (2) [ALGB] (1) Real input_DP.y (3) [ALGB] (9) Real[3, 3] m_flow_IN_con.dp_smooth = {1.0 for $i1 in 1:3} (4) [ALGB] (3) Real[3] M_FLOW (start = {0.0 for $i1 in 1:3}) (5) [ALGB] (9) Real[3, 3] m_flow_IN_var.zeta_TOT = {zeta_TOT[$m_flow_IN_var1] for $m_flow_IN_var1 in 1:3} (min = {0.0 for $i1 in 1:3}, max = {1111.0 for $i1 in 1:3}) (6) [ALGB] (9) Real[3, 3] dp_IN_con.dp_smooth = {1.0 for $i1 in 1:3} (7) [ALGB] (9) Real[3, 3] m_flow_IN_var.rho = {rho for $m_flow_IN_var1 in 1:3} (min = {0.0 for $i1 in 1:3}) (8) [ALGB] (3) Real[3] DP_plot = {DP[i] for i in 1:3} (9) [ALGB] (3) Real[3] input_dp = {1.0 for $i1 in 1:3} .* input_DP.y (start = {0.0 for $i1 in 1:3}) (10) [ALGB] (9) Real[3, 3] dp_IN_var.rho = {rho for $dp_IN_var1 in 1:3} (min = {0.0 for $i1 in 1:3}) (11) [ALGB] (3) Real[3] input_mdot (start = {0.0 for $i1 in 1:3}) (12) [ALGB] (9) Real[3, 3] dp_IN_var.zeta_TOT = {zeta_TOT[$dp_IN_var1] for $dp_IN_var1 in 1:3} (min = {0.0 for $i1 in 1:3}, max = {1111.0 for $i1 in 1:3}) (13) [DISC] (1) Boolean $TEV_1 (14) [ALGB] (9) Real[3, 3] dp_IN_con.A_cross = {A_cross for $dp_IN_con1 in 1:3} (15) [ALGB] (9) Real[3, 3] m_flow_IN_con.A_cross = {A_cross for $m_flow_IN_con1 in 1:3} (16) [DISC] (1) Boolean $TEV_0 System Equations (16/42) ************************** (1) [FOR-] (3) ($RES_BND_8) (1) [----] for $i1 in 1:3 loop (1) [----] [SCAL] (1) m_flow_IN_con[$i1].A_cross = A_cross ($RES_BND_9) (1) [----] end for; (2) [FOR-] (3) ($RES_BND_6) (2) [----] for $i1 in 1:3 loop (2) [----] [SCAL] (1) DP[$i1] = input_dp[$i1] ($RES_BND_7) (2) [----] end for; (3) [FOR-] (3) ($RES_BND_10) (3) [----] for $i1 in 1:3 loop (3) [----] [SCAL] (1) m_flow_IN_con[$i1].dp_smooth = 1.0 ($RES_BND_11) (3) [----] end for; (4) [FOR-] (3) ($RES_BND_4) (4) [----] for $i1 in 1:3 loop (4) [----] [SCAL] (1) input_dp[$i1] = input_DP.y ($RES_BND_5) (4) [----] end for; (5) [FOR-] (3) ($RES_BND_12) (5) [----] for $i1 in 1:3 loop (5) [----] [SCAL] (1) m_flow_IN_var[$i1].zeta_TOT = zeta_TOT[$i1] ($RES_BND_13) (5) [----] end for; (6) [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) (7) [FOR-] (3) ($RES_BND_14) (7) [----] for $i1 in 1:3 loop (7) [----] [SCAL] (1) m_flow_IN_var[$i1].rho = 1.2 ($RES_BND_15) (7) [----] end for; (8) [ARRY] (3) DP = {(0.5 * Modelica.Fluid.Dissipation.Utilities.Functions.General.SmoothPower(input_mdot[i], m_flow_IN_var.zeta_TOT * (m_flow_IN_con.A_cross / (0.5 * m_flow_IN_var.rho * m_flow_IN_var.zeta_TOT)) ^ 0.5 * m_flow_IN_con.dp_smooth, 2.0) * m_flow_IN_var.rho) / (m_flow_IN_con.dp_smooth ^ 2.0 * m_flow_IN_var.zeta_TOT) for i in 1:3} ($RES_SIM_1) (9) [FOR-] (3) ($RES_BND_20) (9) [----] for $i1 in 1:3 loop (9) [----] [SCAL] (1) dp_IN_var[$i1].zeta_TOT = zeta_TOT[$i1] ($RES_BND_21) (9) [----] end for; (10) [ARRY] (3) M_FLOW = {(Modelica.Fluid.Dissipation.Utilities.Functions.General.SmoothPower(input_dp[i], dp_IN_con.A_cross, 0.5) * dp_IN_con.dp_smooth * dp_IN_var.zeta_TOT) / (0.5 * dp_IN_var.rho * dp_IN_var.zeta_TOT) ^ 0.5 for i in 1:3} ($RES_SIM_0) (11) [FOR-] (3) ($RES_BND_22) (11) [----] for $i1 in 1:3 loop (11) [----] [SCAL] (1) dp_IN_var[$i1].rho = 1.2 ($RES_BND_23) (11) [----] end for; (12) [FOR-] (3) ($RES_BND_16) (12) [----] for $i1 in 1:3 loop (12) [----] [SCAL] (1) dp_IN_con[$i1].A_cross = A_cross ($RES_BND_17) (12) [----] end for; (13) [SCAL] (1) $TEV_0 = time < input_DP.startTime ($RES_EVT_26) (14) [SCAL] (1) $TEV_1 = time < (input_DP.startTime + input_DP.duration) ($RES_EVT_27) (15) [FOR-] (3) ($RES_BND_24) (15) [----] for $i1 in 1:3 loop (15) [----] [SCAL] (1) DP_plot[$i1] = DP[$i1] ($RES_BND_25) (15) [----] end for; (16) [FOR-] (3) ($RES_BND_18) (16) [----] for $i1 in 1:3 loop (16) [----] [SCAL] (1) dp_IN_con[$i1].dp_smooth = 1.0 ($RES_BND_19) (16) [----] end for;