Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_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.Channel.dp_internalFlowOverall_DPMFLOW,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 107.7 kB / 16.42 MB, free: 6.523 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.001109/0.001109, allocations: 186 kB / 17.36 MB, free: 5.727 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.261/1.261, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.1665/0.1665, allocations: 39.96 MB / 310.5 MB, free: 4.02 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.005e-05/2.005e-05, allocations: 5.875 kB / 436.4 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW): time 0.002293/0.002321, allocations: 2.198 MB / 438.6 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00324/0.005573, allocations: 3.295 MB / 441.9 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.108e-05/0.005676, allocations: 7.938 kB / 441.9 MB, free: 6.238 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003035/0.005985, allocations: 83.5 kB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002986/0.006312, allocations: 151.1 kB / 442.2 MB, free: 6.008 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.007459, allocations: 0.8759 MB / 443 MB, free: 5.129 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002767/0.007744, allocations: 362.6 kB / 443.4 MB, free: 4.773 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.877e-05/0.00779, allocations: 5.125 kB / 443.4 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.007957, allocations: 187.4 kB / 443.6 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001788/0.008145, allocations: 215.2 kB / 443.8 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.008173, allocations: 4 kB / 443.8 MB, free: 4.371 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001532/0.00971, allocations: 1.942 MB / 445.7 MB, free: 2.426 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0002913/0.01001, allocations: 0.5037 MB / 446.2 MB, free: 1.918 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001373/0.01016, allocations: 320.5 kB / 446.6 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.697e-05/0.0102, allocations: 19.94 kB / 446.6 MB, free: 1.582 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.724e-05/0.01022, allocations: 4 kB / 446.6 MB, free: 1.578 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: 240 (64) * Number of variables: 880 (64) Notification: Performance of Bindings: time 0.001525/0.01175, allocations: 2.088 MB / 448.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.0001813/0.01194, allocations: 126.3 kB / 448.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of Early Inline: time 0.0008553/0.0128, allocations: 0.9489 MB / 449.7 MB, free: 14.27 MB / 334.1 MB Notification: Performance of simplify1: time 2.514e-05/0.01283, allocations: 19.97 kB / 449.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of Alias: time 0.0008875/0.01373, allocations: 0.6975 MB / 450.5 MB, free: 13.47 MB / 334.1 MB Notification: Performance of simplify2: time 3.144e-05/0.01377, allocations: 11.98 kB / 450.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of Events: time 0.0001964/0.01397, allocations: 146.6 kB / 450.6 MB, free: 13.32 MB / 334.1 MB Notification: Performance of Detect States: time 0.0001999/0.01418, allocations: 204 kB / 450.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of Partitioning: time 0.000322/0.01451, allocations: 293.8 kB / 451.1 MB, free: 12.8 MB / 334.1 MB Error: Internal error NBAdjacency.Matrix.createPseudo failed for: [ARRY] (5) DP_1 = {Modelica.Fluid.Dissipation.PressureLoss.Channel.dp_internalFlowOverall_DP(m_flow_IN_con_1[i], m_flow_IN_var_1[i], input_mdot_1[i]) for i in 1:5} ($RES_SIM_1) Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (55/895) *************************** (1) [DISC] (5) Boolean[5] $SEV_2[$i1] (2) [DISC] (25) enumeration Modelica.Fluid.Dissipation.Utilities.Types.Roughness(Neglected, Considered)[5, 5] dp_IN_con_1.roughness = {roughness for $dp_IN_con_11 in 1:5} (3) [ALGB] (5) Real[5] $FUN_1 (4) [ALGB] (5) Real[5] M_FLOW_1 (start = {0.0 for $i1 in 1:5}) (5) [DISC] (5) enumeration Modelica.Fluid.Dissipation.Utilities.Types.GeometryOfInternalFlow(Annular, Circular, Elliptical, Rectangular, Isosceles)[5] geometry = {Modelica.Fluid.Dissipation.Utilities.Types.GeometryOfInternalFlow.Annular, Modelica.Fluid.Dissipation.Utilities.Types.GeometryOfInternalFlow.Circular, Modelica.Fluid.Dissipation.Utilities.Types.GeometryOfInternalFlow.Elliptical, Modelica.Fluid.Dissipation.Utilities.Types.GeometryOfInternalFlow.Rectangular, Modelica.Fluid.Dissipation.Utilities.Types.GeometryOfInternalFlow.Isosceles} (6) [ALGB] (25) Real[5, 5] dp_IN_con_1.a_ell = {a_ell for $dp_IN_con_11 in 1:5} (7) [ALGB] (25) Real[5, 5] dp_IN_con_1.a_tri = {a_tri for $dp_IN_con_11 in 1:5} (8) [ALGB] (5) Real[5] input_dp_1 = {1.0 for $i1 in 1:5} .* input_DP.y (start = {0.0 for $i1 in 1:5}) (9) [ALGB] (25) Real[5, 5] dp_IN_con_1.beta = {beta for $dp_IN_con_11 in 1:5} (10) [DISC] (5) Boolean[5] $SEV_1[$i1] (11) [ALGB] (25) Real[5, 5] m_flow_IN_con_1.a_tri = {a_tri for $m_flow_IN_con_11 in 1:5} (12) [ALGB] (25) Real[5, 5] m_flow_IN_con_1.a_ell = {a_ell for $m_flow_IN_con_11 in 1:5} (13) [ALGB] (25) Real[5, 5] m_flow_IN_var_1.rho = {rho for $m_flow_IN_var_11 in 1:5} (min = {0.0 for $i1 in 1:5}) (14) [ALGB] (25) Real[5, 5] dp_IN_var_1.eta = {eta for $dp_IN_var_11 in 1:5} (min = {0.0 for $i1 in 1:5}) (15) [DISC] (1) enumeration Modelica.Fluid.Dissipation.Utilities.Types.Roughness(Neglected, Considered) roughness = Modelica.Fluid.Dissipation.Utilities.Types.Roughness.Considered (16) [ALGB] (25) Real[5, 5] m_flow_IN_con_1.K = {K for $m_flow_IN_con_11 in 1:5} (17) [ALGB] (25) Real[5, 5] m_flow_IN_con_1.L = {L for $m_flow_IN_con_11 in 1:5} (18) [ALGB] (25) Real[5, 5] dp_IN_con_1.d_cir = {d_cir for $dp_IN_con_11 in 1:5} (min = {0.0 for $i1 in 1:5}) (19) [ALGB] (25) Real[5, 5] m_flow_IN_con_1.a_rec = {a_rec for $m_flow_IN_con_11 in 1:5} (20) [DISC] (5) Boolean[5] $SEV_0[$i1] (21) [ALGB] (25) Real[5, 5] m_flow_IN_var_1.eta = {eta for $m_flow_IN_var_11 in 1:5} (min = {0.0 for $i1 in 1:5}) (22) [ALGB] (5) Real[5] DP_1 = {input_dp_1[i] for i in 1:5} (start = {0.0 for $i1 in 1:5}) (23) [ALGB] (25) Real[5, 5] m_flow_IN_con_1.D_ann = {D_ann for $m_flow_IN_con_11 in 1:5} (min = {0.0 for $i1 in 1:5}) (24) [ALGB] (25) Real[5, 5] dp_IN_con_1.d_ann = {d_ann for $dp_IN_con_11 in 1:5} (min = {0.0 for $i1 in 1:5}) (25) [ALGB] (1) Real beta = tan(0.2414213562373095 / (2.0 * 0.12071067811865475)) (26) [ALGB] (25) Real[5, 5] dp_IN_var_1.rho = {rho for $dp_IN_var_11 in 1:5} (min = {0.0 for $i1 in 1:5}) (27) [ALGB] (5) protected Real[5] zeta_TOT_1 = {(abs(DP_plot_1[i]) * 2.0) / max(1000.0 * velocity_1[i] ^ 2.0, 1e-15) for i in 1:5} (28) [DISC] (25) enumeration Modelica.Fluid.Dissipation.Utilities.Types.Roughness(Neglected, Considered)[5, 5] m_flow_IN_con_1.roughness = {roughness for $m_flow_IN_con_11 in 1:5} (29) [ALGB] (25) Real[5, 5] m_flow_IN_con_1.h_tri = {h_tri for $m_flow_IN_con_11 in 1:5} (30) [ALGB] (25) Real[5, 5] m_flow_IN_con_1.b_ell = {b_ell for $m_flow_IN_con_11 in 1:5} (31) [ALGB] (5) Real[5] input_mdot_1 (start = {0.0 for $i1 in 1:5}) (32) [ALGB] (5) protected Real[5] DP_plot_1 = {DP_1[i] for i in 1:5} (33) [ALGB] (25) Real[5, 5] dp_IN_con_1.b_rec = {b_rec for $dp_IN_con_11 in 1:5} (34) [DISC] (5) Boolean[5] $SEV_4[$i1] (35) [ALGB] (5) protected Real[5] Re_1 = {(0.1 * 1000.0 * velocity_1[i]) / 0.001 for i in 1:5} (36) [ALGB] (25) Real[5, 5] m_flow_IN_con_1.b_rec = {b_rec for $m_flow_IN_con_11 in 1:5} (37) [DISC] (25) enumeration Modelica.Fluid.Dissipation.Utilities.Types.GeometryOfInternalFlow(Annular, Circular, Elliptical, Rectangular, Isosceles)[5, 5] m_flow_IN_con_1.geometry = {geometry[$m_flow_IN_con_11] for $m_flow_IN_con_11 in 1:5} (38) [ALGB] (5) protected Real[5] velocity_1 = {input_mdot_1[i] / (A_crossT[i] * 1000.0) for i in 1:5} (39) [DISC] (1) Boolean $TEV_1 (40) [ALGB] (25) Real[5, 5] dp_IN_con_1.K = {K for $dp_IN_con_11 in 1:5} (41) [DISC] (1) Boolean $TEV_0 (42) [ALGB] (25) Real[5, 5] dp_IN_con_1.L = {L for $dp_IN_con_11 in 1:5} (43) [ALGB] (25) Real[5, 5] dp_IN_con_1.b_ell = {b_ell for $dp_IN_con_11 in 1:5} (44) [DISC] (5) Boolean[5] $SEV_3[$i1] (45) [ALGB] (25) Real[5, 5] dp_IN_con_1.h_tri = {h_tri for $dp_IN_con_11 in 1:5} (46) [ALGB] (5) protected Real[5] A_crossT = {max(1e-15, if geometry[i] == Modelica.Fluid.Dissipation.Utilities.Types.GeometryOfInternalFlow.Annular then 0.7853981633974483 * (0.2 ^ 2.0 - 0.1 ^ 2.0) else if geometry[i] == Modelica.Fluid.Dissipation.Utilities.Types.GeometryOfInternalFlow.Circular then 0.1 ^ 2.0 * 0.7853981633974483 else if geometry[i] == Modelica.Fluid.Dissipation.Utilities.Types.GeometryOfInternalFlow.Elliptical then 0.07500000000000001 * 3.141592653589793 * 0.037500000000000006 else if geometry[i] == Modelica.Fluid.Dissipation.Utilities.Types.GeometryOfInternalFlow.Rectangular then 0.1 * 0.1 else if geometry[i] == Modelica.Fluid.Dissipation.Utilities.Types.GeometryOfInternalFlow.Isosceles then 0.5 * 0.12071067811865475 * 0.2414213562373095 else 0.0) for i in 1:5} (47) [ALGB] (25) Real[5, 5] m_flow_IN_con_1.beta = {beta for $m_flow_IN_con_11 in 1:5} (48) [ALGB] (25) Real[5, 5] m_flow_IN_con_1.d_ann = {d_ann for $m_flow_IN_con_11 in 1:5} (min = {0.0 for $i1 in 1:5}) (49) [ALGB] (25) Real[5, 5] dp_IN_con_1.D_ann = {D_ann for $dp_IN_con_11 in 1:5} (min = {0.0 for $i1 in 1:5}) (50) [DISC] (25) enumeration Modelica.Fluid.Dissipation.Utilities.Types.GeometryOfInternalFlow(Annular, Circular, Elliptical, Rectangular, Isosceles)[5, 5] dp_IN_con_1.geometry = {geometry[$dp_IN_con_11] for $dp_IN_con_11 in 1:5} (51) [ALGB] (25) Real[5, 5] m_flow_IN_con_1.d_cir = {d_cir for $m_flow_IN_con_11 in 1:5} (min = {0.0 for $i1 in 1:5}) (52) [ALGB] (25) Real[5, 5] dp_IN_con_1.a_rec = {a_rec for $dp_IN_con_11 in 1:5} (53) [ALGB] (5) protected Real[5] perimeterT = {max(1e-15, if geometry[i] == Modelica.Fluid.Dissipation.Utilities.Types.GeometryOfInternalFlow.Annular then 3.141592653589793 * (0.1 + 0.2) else if geometry[i] == Modelica.Fluid.Dissipation.Utilities.Types.GeometryOfInternalFlow.Circular then 0.1 * 3.141592653589793 else if geometry[i] == Modelica.Fluid.Dissipation.Utilities.Types.GeometryOfInternalFlow.Elliptical then 3.141592653589793 * (0.07500000000000001 ^ 2.0 * 2.0 + 0.037500000000000006 ^ 2.0) ^ 0.5 else if geometry[i] == Modelica.Fluid.Dissipation.Utilities.Types.GeometryOfInternalFlow.Rectangular then (0.1 + 0.1) * 2.0 else if geometry[i] == Modelica.Fluid.Dissipation.Utilities.Types.GeometryOfInternalFlow.Isosceles then 0.2414213562373095 + (0.12071067811865475 ^ 2.0 + (0.2414213562373095 / 2.0) ^ 2.0) ^ 0.5 * 2.0 else 0.0) for i in 1:5} (54) [ALGB] (5) protected Real[5] d_hydT = {(A_crossT[i] * 4.0) / perimeterT[i] for i in 1:5} (min = {0.0 for $i1 in 1:5}) (55) [ALGB] (1) Real input_DP.y System Equations (55/255) *************************** (1) [FOR-] (5) ($RES_BND_99) (1) [----] for $i1 in 1:5 loop (1) [----] [SCAL] (1) Re_1[$i1] = (0.1 * 1000.0 * velocity_1[$i1]) / 0.001 ($RES_BND_100) (1) [----] end for; (2) [FOR-] (5) ($RES_EVT_110) (2) [----] for $i1 in 1:5 loop (2) [----] [SCAL] (1) $SEV_0[$i1] = geometry[$i1] == Modelica.Fluid.Dissipation.Utilities.Types.GeometryOfInternalFlow.Annular ($RES_EVT_111) (2) [----] end for; (3) [FOR-] (5) ($RES_EVT_112) (3) [----] for $i1 in 1:5 loop (3) [----] [SCAL] (1) $SEV_1[$i1] = geometry[$i1] == Modelica.Fluid.Dissipation.Utilities.Types.GeometryOfInternalFlow.Circular ($RES_EVT_113) (3) [----] end for; (4) [FOR-] (5) ($RES_BND_21) (4) [----] for $i1 in 1:5 loop (4) [----] [SCAL] (1) DP_1[$i1] = input_dp_1[$i1] ($RES_BND_22) (4) [----] end for; (5) [FOR-] (5) ($RES_EVT_114) (5) [----] for $i1 in 1:5 loop (5) [----] [SCAL] (1) $SEV_2[$i1] = geometry[$i1] == Modelica.Fluid.Dissipation.Utilities.Types.GeometryOfInternalFlow.Elliptical ($RES_EVT_115) (5) [----] end for; (6) [FOR-] (5) ($RES_BND_23) (6) [----] for $i1 in 1:5 loop (6) [----] [SCAL] (1) m_flow_IN_con_1[$i1].roughness = roughness ($RES_BND_24) (6) [----] end for; (7) [FOR-] (5) ($RES_EVT_116) (7) [----] for $i1 in 1:5 loop (7) [----] [SCAL] (1) $SEV_3[$i1] = geometry[$i1] == Modelica.Fluid.Dissipation.Utilities.Types.GeometryOfInternalFlow.Rectangular ($RES_EVT_117) (7) [----] end for; (8) [FOR-] (5) ($RES_BND_25) (8) [----] for $i1 in 1:5 loop (8) [----] [SCAL] (1) m_flow_IN_con_1[$i1].geometry = geometry[$i1] ($RES_BND_26) (8) [----] end for; (9) [FOR-] (5) ($RES_EVT_118) (9) [----] for $i1 in 1:5 loop (9) [----] [SCAL] (1) $SEV_4[$i1] = geometry[$i1] == Modelica.Fluid.Dissipation.Utilities.Types.GeometryOfInternalFlow.Isosceles ($RES_EVT_119) (9) [----] end for; (10) [FOR-] (5) ($RES_BND_41) (10) [----] for $i1 in 1:5 loop (10) [----] [SCAL] (1) m_flow_IN_con_1[$i1].a_rec = 0.1 ($RES_BND_42) (10) [----] end for; (11) [FOR-] (5) ($RES_BND_27) (11) [----] for $i1 in 1:5 loop (11) [----] [SCAL] (1) m_flow_IN_con_1[$i1].K = 0.0 ($RES_BND_28) (11) [----] end for; (12) [FOR-] (5) ($RES_BND_43) (12) [----] for $i1 in 1:5 loop (12) [----] [SCAL] (1) m_flow_IN_con_1[$i1].b_rec = 0.1 ($RES_BND_44) (12) [----] end for; (13) [FOR-] (5) ($RES_BND_29) (13) [----] for $i1 in 1:5 loop (13) [----] [SCAL] (1) m_flow_IN_con_1[$i1].L = 1.0 ($RES_BND_30) (13) [----] end for; (14) [FOR-] (5) ($RES_BND_45) (14) [----] for $i1 in 1:5 loop (14) [----] [SCAL] (1) m_flow_IN_con_1[$i1].a_tri = 0.2414213562373095 ($RES_BND_46) (14) [----] end for; (15) [FOR-] (5) ($RES_$AUX_106) (15) [----] for $i1 in 1:5 loop (15) [----] [SCAL] (1) $FUN_1[$i1] = abs(DP_plot_1[$i1]) ($RES_$AUX_107) (15) [----] end for; (16) [FOR-] (5) ($RES_BND_61) (16) [----] for $i1 in 1:5 loop (16) [----] [SCAL] (1) dp_IN_con_1[$i1].L = 1.0 ($RES_BND_62) (16) [----] end for; (17) [SCAL] (1) beta = 1.5574077246549023 ($RES_$AUX_105) (18) [FOR-] (5) ($RES_BND_47) (18) [----] for $i1 in 1:5 loop (18) [----] [SCAL] (1) m_flow_IN_con_1[$i1].h_tri = 0.12071067811865475 ($RES_BND_48) (18) [----] end for; (19) [FOR-] (5) ($RES_BND_63) (19) [----] for $i1 in 1:5 loop (19) [----] [SCAL] (1) dp_IN_con_1[$i1].d_ann = 0.1 ($RES_BND_64) (19) [----] end for; (20) [FOR-] (5) ($RES_BND_49) (20) [----] for $i1 in 1:5 loop (20) [----] [SCAL] (1) m_flow_IN_con_1[$i1].beta = beta ($RES_BND_50) (20) [----] end for; (21) [FOR-] (5) ($RES_BND_65) (21) [----] for $i1 in 1:5 loop (21) [----] [SCAL] (1) dp_IN_con_1[$i1].D_ann = 0.2 ($RES_BND_66) (21) [----] end for; (22) [FOR-] (5) ($RES_BND_81) (22) [----] for $i1 in 1:5 loop (22) [----] [SCAL] (1) dp_IN_con_1[$i1].beta = beta ($RES_BND_82) (22) [----] end for; (23) [FOR-] (5) ($RES_BND_67) (23) [----] for $i1 in 1:5 loop (23) [----] [SCAL] (1) dp_IN_con_1[$i1].d_cir = 0.1 ($RES_BND_68) (23) [----] end for; (24) [FOR-] (5) ($RES_BND_83) (24) [----] for $i1 in 1:5 loop (24) [----] [SCAL] (1) dp_IN_var_1[$i1].eta = 0.001 ($RES_BND_84) (24) [----] end for; (25) [FOR-] (5) ($RES_BND_69) (25) [----] for $i1 in 1:5 loop (25) [----] [SCAL] (1) dp_IN_con_1[$i1].a_ell = 0.07500000000000001 ($RES_BND_70) (25) [----] end for; (26) [FOR-] (5) ($RES_BND_85) (26) [----] for $i1 in 1:5 loop (26) [----] [SCAL] (1) dp_IN_var_1[$i1].rho = 1000.0 ($RES_BND_86) (26) [----] end for; (27) [ARRY] (5) geometry = {Modelica.Fluid.Dissipation.Utilities.Types.GeometryOfInternalFlow.Annular, Modelica.Fluid.Dissipation.Utilities.Types.GeometryOfInternalFlow.Circular, Modelica.Fluid.Dissipation.Utilities.Types.GeometryOfInternalFlow.Elliptical, Modelica.Fluid.Dissipation.Utilities.Types.GeometryOfInternalFlow.Rectangular, Modelica.Fluid.Dissipation.Utilities.Types.GeometryOfInternalFlow.Isosceles} ($RES_BND_6) (28) [FOR-] (5) ($RES_BND_88) (28) [----] for $i1 in 1:5 loop (28) [----] [SCAL] (1) A_crossT[$i1] = max(1e-15, if $SEV_0[$i1] then 0.7853981633974483 * (0.2 ^ 2.0 - 0.1 ^ 2.0) else if $SEV_1[$i1] then 0.7853981633974483 * 0.1 ^ 2.0 else if $SEV_2[$i1] then 3.141592653589793 * 0.07500000000000001 * 0.037500000000000006 else if $SEV_3[$i1] then 0.1 * 0.1 else if $SEV_4[$i1] then 0.5 * 0.12071067811865475 * 0.2414213562373095 else 0.0) ($RES_BND_89) (28) [----] end for; (29) [SCAL] (1) roughness = Modelica.Fluid.Dissipation.Utilities.Types.Roughness.Considered ($RES_BND_3) (30) [FOR-] (5) ($RES_BND_101) (30) [----] for $i1 in 1:5 loop (30) [----] [SCAL] (1) DP_plot_1[$i1] = DP_1[$i1] ($RES_BND_102) (30) [----] end for; (31) [FOR-] (5) ($RES_BND_103) (31) [----] for $i1 in 1:5 loop (31) [----] [SCAL] (1) zeta_TOT_1[$i1] = (2.0 * $FUN_1[$i1]) / max(1000.0 * velocity_1[$i1] ^ 2.0, 1e-15) ($RES_BND_104) (31) [----] end for; (32) [SCAL] (1) $TEV_0 = time < input_DP.startTime ($RES_EVT_108) (33) [FOR-] (5) ($RES_BND_31) (33) [----] for $i1 in 1:5 loop (33) [----] [SCAL] (1) m_flow_IN_con_1[$i1].d_ann = 0.1 ($RES_BND_32) (33) [----] end for; (34) [SCAL] (1) $TEV_1 = time < (input_DP.startTime + input_DP.duration) ($RES_EVT_109) (35) [FOR-] (5) ($RES_BND_33) (35) [----] for $i1 in 1:5 loop (35) [----] [SCAL] (1) m_flow_IN_con_1[$i1].D_ann = 0.2 ($RES_BND_34) (35) [----] end for; (36) [FOR-] (5) ($RES_BND_19) (36) [----] for $i1 in 1:5 loop (36) [----] [SCAL] (1) input_dp_1[$i1] = input_DP.y ($RES_BND_20) (36) [----] end for; (37) [FOR-] (5) ($RES_BND_35) (37) [----] for $i1 in 1:5 loop (37) [----] [SCAL] (1) m_flow_IN_con_1[$i1].d_cir = 0.1 ($RES_BND_36) (37) [----] end for; (38) [FOR-] (5) ($RES_BND_51) (38) [----] for $i1 in 1:5 loop (38) [----] [SCAL] (1) m_flow_IN_var_1[$i1].eta = 0.001 ($RES_BND_52) (38) [----] end for; (39) [FOR-] (5) ($RES_BND_37) (39) [----] for $i1 in 1:5 loop (39) [----] [SCAL] (1) m_flow_IN_con_1[$i1].a_ell = 0.07500000000000001 ($RES_BND_38) (39) [----] end for; (40) [FOR-] (5) ($RES_BND_53) (40) [----] for $i1 in 1:5 loop (40) [----] [SCAL] (1) m_flow_IN_var_1[$i1].rho = 1000.0 ($RES_BND_54) (40) [----] end for; (41) [FOR-] (5) ($RES_BND_39) (41) [----] for $i1 in 1:5 loop (41) [----] [SCAL] (1) m_flow_IN_con_1[$i1].b_ell = 0.037500000000000006 ($RES_BND_40) (41) [----] end for; (42) [FOR-] (5) ($RES_BND_55) (42) [----] for $i1 in 1:5 loop (42) [----] [SCAL] (1) dp_IN_con_1[$i1].roughness = roughness ($RES_BND_56) (42) [----] end for; (43) [FOR-] (5) ($RES_BND_71) (43) [----] for $i1 in 1:5 loop (43) [----] [SCAL] (1) dp_IN_con_1[$i1].b_ell = 0.037500000000000006 ($RES_BND_72) (43) [----] end for; (44) [FOR-] (5) ($RES_BND_57) (44) [----] for $i1 in 1:5 loop (44) [----] [SCAL] (1) dp_IN_con_1[$i1].geometry = geometry[$i1] ($RES_BND_58) (44) [----] end for; (45) [FOR-] (5) ($RES_BND_73) (45) [----] for $i1 in 1:5 loop (45) [----] [SCAL] (1) dp_IN_con_1[$i1].a_rec = 0.1 ($RES_BND_74) (45) [----] end for; (46) [FOR-] (5) ($RES_BND_59) (46) [----] for $i1 in 1:5 loop (46) [----] [SCAL] (1) dp_IN_con_1[$i1].K = 0.0 ($RES_BND_60) (46) [----] end for; (47) [FOR-] (5) ($RES_BND_90) (47) [----] for $i1 in 1:5 loop (47) [----] [SCAL] (1) perimeterT[$i1] = max(1e-15, if $SEV_0[$i1] then 3.141592653589793 * (0.1 + 0.2) else if $SEV_1[$i1] then 3.141592653589793 * 0.1 else if $SEV_2[$i1] then 3.141592653589793 * (2.0 * 0.07500000000000001 ^ 2.0 + 0.037500000000000006 ^ 2.0) ^ 0.5 else if $SEV_3[$i1] then 2.0 * (0.1 + 0.1) else if $SEV_4[$i1] then 0.2414213562373095 + 2.0 * (0.12071067811865475 ^ 2.0 + (0.5 * 0.2414213562373095) ^ 2.0) ^ 0.5 else 0.0) ($RES_BND_91) (47) [----] end for; (48) [FOR-] (5) ($RES_BND_75) (48) [----] for $i1 in 1:5 loop (48) [----] [SCAL] (1) dp_IN_con_1[$i1].b_rec = 0.1 ($RES_BND_76) (48) [----] end for; (49) [FOR-] (5) ($RES_BND_92) (49) [----] for $i1 in 1:5 loop (49) [----] [SCAL] (1) d_hydT[$i1] = (4.0 * A_crossT[$i1]) / perimeterT[$i1] ($RES_BND_93) (49) [----] end for; (50) [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) (51) [FOR-] (5) ($RES_BND_77) (51) [----] for $i1 in 1:5 loop (51) [----] [SCAL] (1) dp_IN_con_1[$i1].a_tri = 0.2414213562373095 ($RES_BND_78) (51) [----] end for; (52) [ARRY] (5) DP_1 = {Modelica.Fluid.Dissipation.PressureLoss.Channel.dp_internalFlowOverall_DP(m_flow_IN_con_1[i], m_flow_IN_var_1[i], input_mdot_1[i]) for i in 1:5} ($RES_SIM_1) (53) [ARRY] (5) M_FLOW_1 = {Modelica.Fluid.Dissipation.PressureLoss.Channel.dp_internalFlowOverall_MFLOW(dp_IN_con_1[i], dp_IN_var_1[i], input_dp_1[i]) for i in 1:5} ($RES_SIM_0) (54) [FOR-] (5) ($RES_BND_79) (54) [----] for $i1 in 1:5 loop (54) [----] [SCAL] (1) dp_IN_con_1[$i1].h_tri = 0.12071067811865475 ($RES_BND_80) (54) [----] end for; (55) [FOR-] (5) ($RES_BND_97) (55) [----] for $i1 in 1:5 loop (55) [----] [SCAL] (1) velocity_1[$i1] = input_mdot_1[$i1] / (A_crossT[$i1] * 1000.0) ($RES_BND_98) (55) [----] end for;