Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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.StraightPipe.dp_turbulent_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009805/0.0009807, allocations: 107.9 kB / 16.42 MB, free: 6.5 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.0008707/0.0008707, allocations: 187.1 kB / 17.35 MB, free: 5.754 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.256/1.256, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.1779/0.1779, allocations: 39.96 MB / 310.6 MB, free: 4.02 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.171e-05/1.172e-05, allocations: 2.281 kB / 436.4 MB, free: 11.91 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.001904/0.001923, allocations: 1.836 MB / 438.3 MB, free: 10.05 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001702/0.003636, allocations: 1.676 MB / 439.9 MB, free: 8.367 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.729e-05/0.003694, allocations: 4 kB / 439.9 MB, free: 8.363 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001652/0.003865, allocations: 43.73 kB / 440 MB, free: 8.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000191/0.004064, allocations: 83.58 kB / 440.1 MB, free: 8.238 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005153/0.004592, allocations: 398.7 kB / 440.4 MB, free: 7.848 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001768/0.004778, allocations: 199.2 kB / 440.6 MB, free: 7.652 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.33e-05/0.004818, allocations: 4.234 kB / 440.6 MB, free: 7.648 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.004923, allocations: 95.61 kB / 440.7 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.005032, allocations: 99.69 kB / 440.8 MB, free: 7.457 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.005052, allocations: 4 kB / 440.8 MB, free: 7.453 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005922/0.005649, allocations: 0.6938 MB / 441.5 MB, free: 6.758 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001308/0.005788, allocations: 241.8 kB / 441.8 MB, free: 6.52 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 6.724e-05/0.005861, allocations: 166.1 kB / 441.9 MB, free: 6.355 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.854e-05/0.005884, allocations: 11.94 kB / 441.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.044e-05/0.005899, allocations: 4 kB / 441.9 MB, free: 6.34 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.0006776/0.006581, allocations: 1.02 MB / 443 MB, free: 5.215 MB / 318.1 MB Notification: Performance of FunctionAlias: time 6.714e-05/0.006654, allocations: 67.83 kB / 443 MB, free: 5.148 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0002568/0.006917, allocations: 423.8 kB / 443.4 MB, free: 4.707 MB / 318.1 MB Notification: Performance of simplify1: time 1.533e-05/0.006939, allocations: 19.97 kB / 443.5 MB, free: 4.688 MB / 318.1 MB Notification: Performance of Alias: time 0.0003154/0.007259, allocations: 351.1 kB / 443.8 MB, free: 4.27 MB / 318.1 MB Notification: Performance of simplify2: time 1.588e-05/0.007283, allocations: 15.98 kB / 443.8 MB, free: 4.254 MB / 318.1 MB Notification: Performance of Events: time 6.291e-05/0.007351, allocations: 43.91 kB / 443.9 MB, free: 4.211 MB / 318.1 MB Notification: Performance of Detect States: time 8.345e-05/0.00744, allocations: 112.1 kB / 444 MB, free: 4.086 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001138/0.00756, allocations: 129.5 kB / 444.1 MB, free: 3.953 MB / 318.1 MB Error: Internal error NBAdjacency.Matrix.createPseudo failed for: [ARRY] (4) DP = {Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_turbulent_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_turbulent_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_turbulent_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)