Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.Bend.dp_edgedOverall_DPMFLOW,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.00126/0.00126, allocations: 107.7 kB / 16.42 MB, free: 6.512 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.001285/0.001285, allocations: 196.2 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.233/1.233, 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.2+maint.om/package.mo): time 0.1751/0.1751, allocations: 39.96 MB / 310.5 MB, free: 4.027 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.251e-05/1.252e-05, allocations: 2.281 kB / 436.4 MB, free: 11.8 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW): time 0.001957/0.001977, allocations: 1.848 MB / 438.3 MB, free: 9.934 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001908/0.003897, allocations: 1.805 MB / 440.1 MB, free: 8.117 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.855e-05/0.003956, allocations: 0 / 440.1 MB, free: 8.117 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002018/0.004164, allocations: 51.73 kB / 440.1 MB, free: 8.066 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001953/0.004367, allocations: 79.58 kB / 440.2 MB, free: 7.988 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006856/0.005066, allocations: 0.5609 MB / 440.8 MB, free: 7.426 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001782/0.005253, allocations: 179.3 kB / 440.9 MB, free: 7.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.075e-05/0.005291, allocations: 7.984 kB / 440.9 MB, free: 7.242 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.005399, allocations: 91.66 kB / 441 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.005509, allocations: 99.64 kB / 441.1 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.005529, allocations: 4 kB / 441.1 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008998/0.006433, allocations: 1.146 MB / 442.3 MB, free: 5.902 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001308/0.006573, allocations: 217.9 kB / 442.5 MB, free: 5.688 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 6.483e-05/0.006644, allocations: 150.4 kB / 442.6 MB, free: 5.539 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.209e-05/0.00667, allocations: 15.94 kB / 442.7 MB, free: 5.523 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.124e-05/0.006686, allocations: 3.938 kB / 442.7 MB, free: 5.52 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.000666/0.007357, allocations: 0.9268 MB / 443.6 MB, free: 4.488 MB / 318.1 MB Notification: Performance of FunctionAlias: time 6.969e-05/0.007433, allocations: 43.86 kB / 443.6 MB, free: 4.445 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0002453/0.007685, allocations: 403.8 kB / 444 MB, free: 4.023 MB / 318.1 MB Notification: Performance of simplify1: time 1.131e-05/0.007702, allocations: 7.984 kB / 444 MB, free: 4.016 MB / 318.1 MB Notification: Performance of Alias: time 0.0002639/0.007971, allocations: 262.6 kB / 444.3 MB, free: 3.707 MB / 318.1 MB Notification: Performance of simplify2: time 1.032e-05/0.007989, allocations: 15.97 kB / 444.3 MB, free: 3.691 MB / 318.1 MB Notification: Performance of Events: time 6.233e-05/0.008056, allocations: 47.89 kB / 444.3 MB, free: 3.645 MB / 318.1 MB Notification: Performance of Detect States: time 7.321e-05/0.008134, allocations: 80.2 kB / 444.4 MB, free: 3.551 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001023/0.008242, allocations: 124.1 kB / 444.5 MB, free: 3.422 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)