Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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.Bend.dp_edgedOverall_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|delta.1.|delta.2.|delta.3.|delta.4.|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|delta.1.|delta.2.|delta.3.|delta.4.|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 107 kB / 17.05 MB, free: 6.016 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.001074/0.001074, allocations: 192.7 kB / 17.98 MB, free: 5.102 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.177/1.177, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1782/0.1782, allocations: 43.52 MB / 314.7 MB, free: 480 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.133e-05/2.141e-05, allocations: 2.281 kB / 384.1 MB, free: 56.4 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW): time 0.00243/0.002466, allocations: 1.83 MB / 386 MB, free: 55.39 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001975/0.004453, allocations: 1.812 MB / 387.8 MB, free: 54.29 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.639e-05/0.00451, allocations: 1.156 kB / 387.8 MB, free: 54.29 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001881/0.004704, allocations: 50.89 kB / 387.8 MB, free: 54.28 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002049/0.004917, allocations: 72.69 kB / 387.9 MB, free: 54.26 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008281/0.005759, allocations: 0.5585 MB / 388.5 MB, free: 54.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000207/0.005975, allocations: 188.5 kB / 388.7 MB, free: 54.11 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.611e-05/0.006018, allocations: 8.078 kB / 388.7 MB, free: 54.1 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.006142, allocations: 85.97 kB / 388.7 MB, free: 54.08 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.006264, allocations: 101.2 kB / 388.8 MB, free: 54.04 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.006284, allocations: 7.344 kB / 388.9 MB, free: 54.04 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001101/0.00739, allocations: 1.143 MB / 390 MB, free: 53.69 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001601/0.007558, allocations: 218.8 kB / 390.2 MB, free: 53.57 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 7.267e-05/0.007637, allocations: 152.7 kB / 390.4 MB, free: 53.47 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.317e-05/0.007665, allocations: 10.59 kB / 390.4 MB, free: 53.47 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.312e-05/0.007683, allocations: 2.25 kB / 390.4 MB, free: 53.47 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: 75 (21) * Number of variables: 195 (21) Notification: Performance of Bindings: time 0.0007414/0.008429, allocations: 0.9267 MB / 391.3 MB, free: 52.78 MB / 318.1 MB Notification: Performance of FunctionAlias: time 7.575e-05/0.008511, allocations: 54.22 kB / 391.3 MB, free: 52.75 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0003084/0.008825, allocations: 400.4 kB / 391.7 MB, free: 52.51 MB / 318.1 MB Notification: Performance of simplify1: time 1.446e-05/0.008847, allocations: 9.625 kB / 391.7 MB, free: 52.5 MB / 318.1 MB Notification: Performance of Alias: time 0.00031/0.009161, allocations: 272.3 kB / 392 MB, free: 52.3 MB / 318.1 MB Notification: Performance of simplify2: time 1.176e-05/0.009183, allocations: 13.45 kB / 392 MB, free: 52.29 MB / 318.1 MB Notification: Performance of Events: time 7.255e-05/0.009261, allocations: 43.77 kB / 392.1 MB, free: 52.27 MB / 318.1 MB Notification: Performance of Detect States: time 8.677e-05/0.009354, allocations: 93.3 kB / 392.2 MB, free: 52.2 MB / 318.1 MB Notification: Performance of Partitioning: time 0.000125/0.009485, allocations: 105.6 kB / 392.3 MB, free: 52.15 MB / 318.1 MB Error: Internal error NBAdjacency.Matrix.createPseudo failed for: [ARRY] (4) DP = {Modelica.Fluid.Dissipation.PressureLoss.Bend.dp_edgedOverall_DP(m_flow_IN_con[i], m_flow_IN_var[i], input_mdot[i]) for i in 1:4} ($RES_SIM_1) Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (22/199) *************************** (1) [ALGB] (4) Real[4] DP = {input_dp[i] for i in 1:4} (start = {0.0 for $i1 in 1:4}) (2) [ALGB] (16) Real[4, 4] dp_IN_con.delta = {delta[$dp_IN_con1] for $dp_IN_con1 in 1:4} (3) [ALGB] (16) Real[4, 4] dp_IN_con.K = {K for $dp_IN_con1 in 1:4} (4) [ALGB] (1) Real input_DP.y (5) [ALGB] (4) Real[4] M_FLOW (start = {0.0 for $i1 in 1:4}) (6) [ALGB] (16) Real[4, 4] m_flow_IN_con.delta = {delta[$m_flow_IN_con1] for $m_flow_IN_con1 in 1:4} (7) [ALGB] (4) Real[4] Re = {(d_hyd * 1000.0 * velocity[i]) / 0.001 for i in 1:4} (8) [ALGB] (16) Real[4, 4] m_flow_IN_var.rho = {rho for $m_flow_IN_var1 in 1:4} (min = {0.0 for $i1 in 1:4}) (9) [ALGB] (4) Real[4] input_dp = {1.0 for $i1 in 1:4} .* input_DP.y (start = {0.0 for $i1 in 1:4}) (10) [ALGB] (16) Real[4, 4] m_flow_IN_var.eta = {eta for $m_flow_IN_var1 in 1:4} (min = {0.0 for $i1 in 1:4}) (11) [ALGB] (4) Real[4] DP_plot = {DP[i] for i in 1:4} (12) [ALGB] (4) Real[4] $FUN_1 (13) [ALGB] (16) Real[4, 4] m_flow_IN_con.d_hyd = {d_hyd for $m_flow_IN_con1 in 1:4} (min = {1e-15 for $m_flow_IN_con1 in 1:4}) (14) [ALGB] (16) Real[4, 4] dp_IN_con.d_hyd = {d_hyd for $dp_IN_con1 in 1:4} (min = {1e-15 for $dp_IN_con1 in 1:4}) (15) [ALGB] (16) Real[4, 4] dp_IN_var.rho = {rho for $dp_IN_var1 in 1:4} (min = {0.0 for $i1 in 1:4}) (16) [ALGB] (4) Real[4] input_mdot (start = {0.0 for $i1 in 1:4}) (17) [ALGB] (16) Real[4, 4] dp_IN_var.eta = {eta for $dp_IN_var1 in 1:4} (min = {0.0 for $i1 in 1:4}) (18) [ALGB] (16) Real[4, 4] m_flow_IN_con.K = {K for $m_flow_IN_con1 in 1:4} (19) [ALGB] (4) Real[4] velocity = {input_mdot[i] / (A_cross * 1000.0) for i in 1:4} (20) [DISC] (1) Boolean $TEV_1 (21) [ALGB] (4) Real[4] zeta_TOT = {(abs(DP_plot[i]) * 2.0) / max(1000.0 * velocity[i] ^ 2.0, 1e-5) for i in 1:4} (22) [DISC] (1) Boolean $TEV_0 System Equations (22/79) ************************** (1) [FOR-] (4) ($RES_BND_9) (1) [----] for $i1 in 1:4 loop (1) [----] [SCAL] (1) m_flow_IN_con[$i1].d_hyd = d_hyd ($RES_BND_10) (1) [----] end for; (2) [FOR-] (4) ($RES_BND_7) (2) [----] for $i1 in 1:4 loop (2) [----] [SCAL] (1) DP[$i1] = input_dp[$i1] ($RES_BND_8) (2) [----] end for; (3) [FOR-] (4) ($RES_BND_5) (3) [----] for $i1 in 1:4 loop (3) [----] [SCAL] (1) input_dp[$i1] = input_DP.y ($RES_BND_6) (3) [----] end for; (4) [FOR-] (4) ($RES_BND_11) (4) [----] for $i1 in 1:4 loop (4) [----] [SCAL] (1) m_flow_IN_con[$i1].delta = delta[$i1] ($RES_BND_12) (4) [----] end for; (5) [FOR-] (4) ($RES_$AUX_37) (5) [----] for $i1 in 1:4 loop (5) [----] [SCAL] (1) $FUN_1[$i1] = abs(DP_plot[$i1]) ($RES_$AUX_38) (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-] (4) ($RES_BND_13) (7) [----] for $i1 in 1:4 loop (7) [----] [SCAL] (1) m_flow_IN_con[$i1].K = K ($RES_BND_14) (7) [----] end for; (8) [ARRY] (4) DP = {Modelica.Fluid.Dissipation.PressureLoss.Bend.dp_edgedOverall_DP(m_flow_IN_con[i], m_flow_IN_var[i], input_mdot[i]) for i in 1:4} ($RES_SIM_1) (9) [FOR-] (4) ($RES_BND_15) (9) [----] for $i1 in 1:4 loop (9) [----] [SCAL] (1) m_flow_IN_var[$i1].eta = 0.001 ($RES_BND_16) (9) [----] end for; (10) [ARRY] (4) M_FLOW = {Modelica.Fluid.Dissipation.PressureLoss.Bend.dp_edgedOverall_MFLOW(dp_IN_con[i], dp_IN_var[i], input_dp[i]) for i in 1:4} ($RES_SIM_0) (11) [FOR-] (4) ($RES_BND_21) (11) [----] for $i1 in 1:4 loop (11) [----] [SCAL] (1) dp_IN_con[$i1].delta = delta[$i1] ($RES_BND_22) (11) [----] end for; (12) [FOR-] (4) ($RES_BND_23) (12) [----] for $i1 in 1:4 loop (12) [----] [SCAL] (1) dp_IN_con[$i1].K = K ($RES_BND_24) (12) [----] end for; (13) [FOR-] (4) ($RES_BND_17) (13) [----] for $i1 in 1:4 loop (13) [----] [SCAL] (1) m_flow_IN_var[$i1].rho = 1000.0 ($RES_BND_18) (13) [----] end for; (14) [SCAL] (1) $TEV_1 = time < (input_DP.startTime + input_DP.duration) ($RES_EVT_40) (15) [FOR-] (4) ($RES_BND_31) (15) [----] for $i1 in 1:4 loop (15) [----] [SCAL] (1) velocity[$i1] = input_mdot[$i1] / (A_cross * 1000.0) ($RES_BND_32) (15) [----] end for; (16) [FOR-] (4) ($RES_BND_25) (16) [----] for $i1 in 1:4 loop (16) [----] [SCAL] (1) dp_IN_var[$i1].eta = 0.001 ($RES_BND_26) (16) [----] end for; (17) [FOR-] (4) ($RES_BND_19) (17) [----] for $i1 in 1:4 loop (17) [----] [SCAL] (1) dp_IN_con[$i1].d_hyd = d_hyd ($RES_BND_20) (17) [----] end for; (18) [FOR-] (4) ($RES_BND_33) (18) [----] for $i1 in 1:4 loop (18) [----] [SCAL] (1) Re[$i1] = (d_hyd * 1000.0 * velocity[$i1]) / 0.001 ($RES_BND_34) (18) [----] end for; (19) [FOR-] (4) ($RES_BND_27) (19) [----] for $i1 in 1:4 loop (19) [----] [SCAL] (1) dp_IN_var[$i1].rho = 1000.0 ($RES_BND_28) (19) [----] end for; (20) [FOR-] (4) ($RES_BND_29) (20) [----] for $i1 in 1:4 loop (20) [----] [SCAL] (1) DP_plot[$i1] = DP[$i1] ($RES_BND_30) (20) [----] end for; (21) [FOR-] (4) ($RES_BND_35) (21) [----] for $i1 in 1:4 loop (21) [----] [SCAL] (1) zeta_TOT[$i1] = (2.0 * $FUN_1[$i1]) / max(1000.0 * velocity[$i1] ^ 2.0, 1e-5) ($RES_BND_36) (21) [----] end for; (22) [SCAL] (1) $TEV_0 = time < input_DP.startTime ($RES_EVT_39)