Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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.StraightPipe.dp_overall_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 107.3 kB / 16.42 MB, free: 5.973 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.0008898/0.0008898, allocations: 191.3 kB / 17.36 MB, free: 5.566 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.206/1.206, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.1667/0.1667, allocations: 38 MB / 308.6 MB, free: 5.98 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.654e-05/1.655e-05, allocations: 2.281 kB / 433.6 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.001975/0.001999, allocations: 1.816 MB / 435.5 MB, free: 12.62 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002716/0.004726, allocations: 2.906 MB / 438.4 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.743e-05/0.004794, allocations: 4 kB / 438.4 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001985/0.004998, allocations: 43.75 kB / 438.4 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002169/0.005224, allocations: 83.58 kB / 438.5 MB, free: 9.578 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009574/0.006195, allocations: 0.7161 MB / 439.2 MB, free: 8.859 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001848/0.006389, allocations: 191.3 kB / 439.4 MB, free: 8.672 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.043e-05/0.006436, allocations: 4.234 kB / 439.4 MB, free: 8.668 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.006571, allocations: 99.64 kB / 439.5 MB, free: 8.57 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.006708, allocations: 95.66 kB / 439.6 MB, free: 8.477 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.006734, allocations: 4 kB / 439.6 MB, free: 8.473 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001157/0.007895, allocations: 1.205 MB / 440.8 MB, free: 7.266 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001414/0.008046, allocations: 249.7 kB / 441.1 MB, free: 7.02 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 6.846e-05/0.00812, allocations: 162.2 kB / 441.2 MB, free: 6.859 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.165e-05/0.008146, allocations: 8 kB / 441.2 MB, free: 6.852 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.472e-05/0.008165, allocations: 0 / 441.2 MB, free: 6.852 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: 96 (30) * Number of variables: 240 (30) Notification: Performance of Bindings: time 0.0007569/0.008926, allocations: 1.035 MB / 442.3 MB, free: 5.711 MB / 318.1 MB Notification: Performance of FunctionAlias: time 7.25e-05/0.009006, allocations: 51.94 kB / 442.3 MB, free: 5.66 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0002985/0.00931, allocations: 495.6 kB / 442.8 MB, free: 5.148 MB / 318.1 MB Notification: Performance of simplify1: time 1.494e-05/0.009332, allocations: 11.98 kB / 442.8 MB, free: 5.137 MB / 318.1 MB Notification: Performance of Alias: time 0.0003357/0.009673, allocations: 351.1 kB / 443.1 MB, free: 4.719 MB / 318.1 MB Notification: Performance of simplify2: time 1.829e-05/0.009699, allocations: 7.984 kB / 443.1 MB, free: 4.711 MB / 318.1 MB Notification: Performance of Events: time 6.561e-05/0.009769, allocations: 55.89 kB / 443.2 MB, free: 4.656 MB / 318.1 MB Notification: Performance of Detect States: time 9.317e-05/0.009868, allocations: 104.1 kB / 443.3 MB, free: 4.539 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001202/0.009995, allocations: 129.5 kB / 443.4 MB, free: 4.406 MB / 318.1 MB Error: Internal error NBAdjacency.Matrix.createPseudo failed for: [ARRY] (4) DP = {Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_overall_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 (28/241) *************************** (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.K = {K[$dp_IN_con1] for $dp_IN_con1 in 1:4} (3) [ALGB] (16) Real[4, 4] dp_IN_con.L = {L for $dp_IN_con1 in 1:4} (4) [ALGB] (1) Real input_DP.y (5) [DISC] (16) enumeration Modelica.Fluid.Dissipation.Utilities.Types.Roughness(Neglected, Considered)[4, 4] m_flow_IN_con.roughness = {roughness for $m_flow_IN_con1 in 1:4} (6) [ALGB] (4) Real[4] K = {0.0, 0.1 * 2e-4, 0.1 * 0.002, 0.1 * 0.02} (7) [ALGB] (4) Real[4] M_FLOW (start = {0.0 for $i1 in 1:4}) (8) [ALGB] (4) Real[4] Re = {(0.1 * 1000.0 * velocity[i]) / 0.001 for i in 1:4} (9) [ALGB] (4) Real[4] lambda_FRI = {(0.1 * zeta_TOT[i]) / 1.0 for i in 1:4} (10) [DISC] (16) enumeration Modelica.Fluid.Dissipation.Utilities.Types.Roughness(Neglected, Considered)[4, 4] dp_IN_con.roughness = {roughness for $dp_IN_con1 in 1:4} (11) [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}) (12) [ALGB] (4) Real[4] input_dp = {1.0 for $i1 in 1:4} .* input_DP.y (start = {0.0 for $i1 in 1:4}) (13) [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}) (14) [ALGB] (4) Real[4] DP_plot = {DP[i] for i in 1:4} (15) [ALGB] (4) Real[4] $FUN_1 (16) [ALGB] (16) Real[4, 4] m_flow_IN_con.d_hyd = {d_hyd for $m_flow_IN_con1 in 1:4} (min = {0.0 for $i1 in 1:4}) (17) [ALGB] (16) Real[4, 4] dp_IN_con.d_hyd = {d_hyd for $dp_IN_con1 in 1:4} (min = {0.0 for $i1 in 1:4}) (18) [ALGB] (4) Real[4] input_mdot (start = {0.0 for $i1 in 1:4}) (19) [ALGB] (1) Real A_cross = (0.1 ^ 2.0 * 3.141592653589793) / 4.0 (20) [DISC] (1) enumeration Modelica.Fluid.Dissipation.Utilities.Types.Roughness(Neglected, Considered) roughness = Modelica.Fluid.Dissipation.Utilities.Types.Roughness.Considered (21) [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}) (22) [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}) (23) [ALGB] (16) Real[4, 4] m_flow_IN_con.L = {L for $m_flow_IN_con1 in 1:4} (24) [ALGB] (16) Real[4, 4] m_flow_IN_con.K = {K[$m_flow_IN_con1] for $m_flow_IN_con1 in 1:4} (25) [ALGB] (4) Real[4] velocity = {M_FLOW[i] / (A_cross * 1000.0) for i in 1:4} (26) [DISC] (1) Boolean $TEV_1 (27) [ALGB] (4) Real[4] zeta_TOT = {(abs(DP_plot[i]) * 2.0) / max(1e-15, 1000.0 * velocity[i] ^ 2.0) for i in 1:4} (28) [DISC] (1) Boolean $TEV_0 System Equations (28/97) ************************** (1) [SCAL] (1) $TEV_1 = time < (input_DP.startTime + input_DP.duration) ($RES_EVT_52) (2) [FOR-] (4) ($RES_BND_43) (2) [----] for $i1 in 1:4 loop (2) [----] [SCAL] (1) DP_plot[$i1] = DP[$i1] ($RES_BND_44) (2) [----] end for; (3) [FOR-] (4) ($RES_BND_37) (3) [----] for $i1 in 1:4 loop (3) [----] [SCAL] (1) dp_IN_var[$i1].rho = 1000.0 ($RES_BND_38) (3) [----] end for; (4) [FOR-] (4) ($RES_BND_45) (4) [----] for $i1 in 1:4 loop (4) [----] [SCAL] (1) zeta_TOT[$i1] = (2.0 * $FUN_1[$i1]) / max(1e-15, 1000.0 * velocity[$i1] ^ 2.0) ($RES_BND_46) (4) [----] end for; (5) [FOR-] (4) ($RES_BND_39) (5) [----] for $i1 in 1:4 loop (5) [----] [SCAL] (1) velocity[$i1] = M_FLOW[$i1] / (A_cross * 1000.0) ($RES_BND_40) (5) [----] end for; (6) [FOR-] (4) ($RES_BND_47) (6) [----] for $i1 in 1:4 loop (6) [----] [SCAL] (1) lambda_FRI[$i1] = (0.1 * zeta_TOT[$i1]) / 1.0 ($RES_BND_48) (6) [----] end for; (7) [ARRY] (4) K = {0.0, 2e-5, 2e-4, 0.002} ($RES_BND_7) (8) [SCAL] (1) roughness = Modelica.Fluid.Dissipation.Utilities.Types.Roughness.Considered ($RES_BND_5) (9) [FOR-] (4) ($RES_BND_11) (9) [----] for $i1 in 1:4 loop (9) [----] [SCAL] (1) input_dp[$i1] = input_DP.y ($RES_BND_12) (9) [----] end for; (10) [SCAL] (1) A_cross = 0.007853981633974483 ($RES_BND_4) (11) [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) (12) [FOR-] (4) ($RES_BND_13) (12) [----] for $i1 in 1:4 loop (12) [----] [SCAL] (1) DP[$i1] = input_dp[$i1] ($RES_BND_14) (12) [----] end for; (13) [ARRY] (4) DP = {Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_overall_DP(m_flow_IN_con[i], m_flow_IN_var[i], input_mdot[i]) for i in 1:4} ($RES_SIM_1) (14) [ARRY] (4) M_FLOW = {Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_overall_MFLOW(dp_IN_con[i], dp_IN_var[i], input_dp[i]) for i in 1:4} ($RES_SIM_0) (15) [FOR-] (4) ($RES_BND_21) (15) [----] for $i1 in 1:4 loop (15) [----] [SCAL] (1) m_flow_IN_con[$i1].K = K[$i1] ($RES_BND_22) (15) [----] end for; (16) [FOR-] (4) ($RES_BND_15) (16) [----] for $i1 in 1:4 loop (16) [----] [SCAL] (1) m_flow_IN_con[$i1].roughness = roughness ($RES_BND_16) (16) [----] end for; (17) [FOR-] (4) ($RES_BND_23) (17) [----] for $i1 in 1:4 loop (17) [----] [SCAL] (1) m_flow_IN_var[$i1].eta = 0.001 ($RES_BND_24) (17) [----] end for; (18) [FOR-] (4) ($RES_BND_17) (18) [----] for $i1 in 1:4 loop (18) [----] [SCAL] (1) m_flow_IN_con[$i1].d_hyd = 0.1 ($RES_BND_18) (18) [----] end for; (19) [FOR-] (4) ($RES_$AUX_49) (19) [----] for $i1 in 1:4 loop (19) [----] [SCAL] (1) $FUN_1[$i1] = abs(DP_plot[$i1]) ($RES_$AUX_50) (19) [----] end for; (20) [FOR-] (4) ($RES_BND_31) (20) [----] for $i1 in 1:4 loop (20) [----] [SCAL] (1) dp_IN_con[$i1].L = 1.0 ($RES_BND_32) (20) [----] end for; (21) [FOR-] (4) ($RES_BND_25) (21) [----] for $i1 in 1:4 loop (21) [----] [SCAL] (1) m_flow_IN_var[$i1].rho = 1000.0 ($RES_BND_26) (21) [----] end for; (22) [FOR-] (4) ($RES_BND_19) (22) [----] for $i1 in 1:4 loop (22) [----] [SCAL] (1) m_flow_IN_con[$i1].L = 1.0 ($RES_BND_20) (22) [----] end for; (23) [FOR-] (4) ($RES_BND_33) (23) [----] for $i1 in 1:4 loop (23) [----] [SCAL] (1) dp_IN_con[$i1].K = K[$i1] ($RES_BND_34) (23) [----] end for; (24) [FOR-] (4) ($RES_BND_27) (24) [----] for $i1 in 1:4 loop (24) [----] [SCAL] (1) dp_IN_con[$i1].roughness = roughness ($RES_BND_28) (24) [----] end for; (25) [FOR-] (4) ($RES_BND_29) (25) [----] for $i1 in 1:4 loop (25) [----] [SCAL] (1) dp_IN_con[$i1].d_hyd = 0.1 ($RES_BND_30) (25) [----] end for; (26) [FOR-] (4) ($RES_BND_41) (26) [----] for $i1 in 1:4 loop (26) [----] [SCAL] (1) Re[$i1] = (0.1 * 1000.0 * velocity[$i1]) / 0.001 ($RES_BND_42) (26) [----] end for; (27) [FOR-] (4) ($RES_BND_35) (27) [----] for $i1 in 1:4 loop (27) [----] [SCAL] (1) dp_IN_var[$i1].eta = 0.001 ($RES_BND_36) (27) [----] end for; (28) [SCAL] (1) $TEV_0 = time < input_DP.startTime ($RES_EVT_51)