Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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.Orifice.dp_thickEdgedOverall_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 108.8 kB / 16.42 MB, free: 6.461 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.001357/0.001357, allocations: 189.5 kB / 17.36 MB, free: 5.73 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.284/1.284, 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.1662/0.1662, allocations: 39.96 MB / 310.6 MB, free: 4.027 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.557e-05/1.557e-05, allocations: 2.281 kB / 436.4 MB, free: 11.79 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.002082/0.002105, allocations: 1.812 MB / 438.2 MB, free: 9.961 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001534/0.00365, allocations: 1.388 MB / 439.6 MB, free: 8.562 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.775e-05/0.003719, allocations: 0 / 439.6 MB, free: 8.562 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002307/0.003957, allocations: 59.66 kB / 439.7 MB, free: 8.504 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000203/0.004168, allocations: 79.56 kB / 439.8 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003531/0.004536, allocations: 227.1 kB / 440 MB, free: 8.203 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002055/0.004751, allocations: 223.2 kB / 440.2 MB, free: 7.984 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.779e-05/0.004795, allocations: 8.234 kB / 440.2 MB, free: 7.977 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.004922, allocations: 115.6 kB / 440.3 MB, free: 7.863 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.005044, allocations: 111.6 kB / 440.4 MB, free: 7.754 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.005068, allocations: 7.984 kB / 440.4 MB, free: 7.746 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004543/0.005527, allocations: 455 kB / 440.9 MB, free: 7.301 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001727/0.005708, allocations: 277.5 kB / 441.2 MB, free: 7.027 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 9.126e-05/0.005805, allocations: 193.9 kB / 441.4 MB, free: 6.836 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.561e-05/0.005836, allocations: 11.94 kB / 441.4 MB, free: 6.824 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.288e-05/0.005853, allocations: 4 kB / 441.4 MB, free: 6.82 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: 149 (29) * Number of variables: 629 (29) Notification: Performance of Bindings: time 0.0008072/0.006665, allocations: 1.19 MB / 442.6 MB, free: 5.523 MB / 318.1 MB Notification: Performance of FunctionAlias: time 6.611e-05/0.006737, allocations: 47.89 kB / 442.6 MB, free: 5.477 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0002762/0.007019, allocations: 439.7 kB / 443 MB, free: 5.02 MB / 318.1 MB Notification: Performance of simplify1: time 1.388e-05/0.00704, allocations: 3.984 kB / 443 MB, free: 5.016 MB / 318.1 MB Notification: Performance of Alias: time 0.000297/0.007341, allocations: 314.1 kB / 443.3 MB, free: 4.656 MB / 318.1 MB Notification: Performance of simplify2: time 1.136e-05/0.007361, allocations: 11.98 kB / 443.4 MB, free: 4.645 MB / 318.1 MB Notification: Performance of Events: time 6.694e-05/0.007433, allocations: 47.95 kB / 443.4 MB, free: 4.598 MB / 318.1 MB Notification: Performance of Detect States: time 0.0001181/0.007557, allocations: 112.1 kB / 443.5 MB, free: 4.473 MB / 318.1 MB Notification: Performance of Partitioning: time 0.000124/0.007688, allocations: 144.1 kB / 443.7 MB, free: 4.324 MB / 318.1 MB Error: Internal error NBAdjacency.Matrix.createPseudo failed for: [ARRY] (6) DP = {Modelica.Fluid.Dissipation.PressureLoss.Orifice.dp_thickEdgedOverall_DP(m_flow_IN_con[i], m_flow_IN_var[i], input_mdot[i]) for i in 1:6} ($RES_SIM_1) Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (30/630) *************************** (1) [ALGB] (6) Real[6] DP = {input_dp[i] for i in 1:6} (start = {0.0 for $i1 in 1:6}) (2) [ALGB] (36) Real[6, 6] m_flow_IN_con.dp_smooth = {1.0 for $i1 in 1:6} (min = {1e-15 for $m_flow_IN_con1 in 1:6}) (3) [ALGB] (36) Real[6, 6] dp_IN_con.L = {L for $dp_IN_con1 in 1:6} (4) [ALGB] (1) Real input_DP.y (5) [DER-] (1) Real $DER.L (6) [ALGB] (6) Real[6] M_FLOW (start = {0.0 for $i1 in 1:6}) (7) [ALGB] (36) Real[6, 6] dp_IN_con.dp_smooth = {1.0 for $i1 in 1:6} (min = {1e-15 for $dp_IN_con1 in 1:6}) (8) [ALGB] (36) Real[6, 6] m_flow_IN_con.A_0 = {A_0 for $m_flow_IN_con1 in 1:6} (9) [ALGB] (36) Real[6, 6] m_flow_IN_var.rho = {rho for $m_flow_IN_var1 in 1:6} (min = {0.0 for $i1 in 1:6}) (10) [ALGB] (6) Real[6] input_dp = {1.0 for $i1 in 1:6} .* input_DP.y (start = {0.0 for $i1 in 1:6}) (11) [ALGB] (36) Real[6, 6] m_flow_IN_var.eta = {eta for $m_flow_IN_var1 in 1:6} (min = {0.0 for $i1 in 1:6}) (12) [ALGB] (1) Real l_bar = L / sqrt((A_0 * 4.0) / 3.141592653589793) (13) [ALGB] (6) Real[6] DP_plot = {DP[i] for i in 1:6} (14) [ALGB] (1) Real $FUN_1 (15) [ALGB] (36) Real[6, 6] m_flow_IN_con.A_1 = {A_1[$m_flow_IN_con1] for $m_flow_IN_con1 in 1:6} (16) [ALGB] (36) Real[6, 6] m_flow_IN_con.C_0 = {C_0 for $m_flow_IN_con1 in 1:6} (17) [ALGB] (36) Real[6, 6] m_flow_IN_con.C_1 = {C_1[$m_flow_IN_con1] for $m_flow_IN_con1 in 1:6} (18) [ALGB] (6) Real[6] input_mdot (start = {0.0 for $i1 in 1:6}) (19) [ALGB] (36) Real[6, 6] dp_IN_con.A_0 = {A_0 for $dp_IN_con1 in 1:6} (20) [ALGB] (36) Real[6, 6] dp_IN_var.eta = {eta for $dp_IN_var1 in 1:6} (min = {0.0 for $i1 in 1:6}) (21) [ALGB] (36) Real[6, 6] dp_IN_var.rho = {rho for $dp_IN_var1 in 1:6} (min = {0.0 for $i1 in 1:6}) (22) [ALGB] (6) Real[6] A_cross = {A_1[i] for i in 1:6} (23) [ALGB] (36) Real[6, 6] m_flow_IN_con.L = {L for $m_flow_IN_con1 in 1:6} (24) [ALGB] (36) Real[6, 6] dp_IN_con.A_1 = {A_1[$dp_IN_con1] for $dp_IN_con1 in 1:6} (25) [ALGB] (36) Real[6, 6] dp_IN_con.C_0 = {C_0 for $dp_IN_con1 in 1:6} (26) [ALGB] (36) Real[6, 6] dp_IN_con.C_1 = {C_1[$dp_IN_con1] for $dp_IN_con1 in 1:6} (27) [ALGB] (6) Real[6] velocity = {input_mdot[1] / max(1e-15, 1000.0 * A_cross[i]) for i in 1:6} (28) [DISC] (1) Boolean $TEV_1 (29) [ALGB] (6) Real[6] zeta_TOT = {(DP[i] * 2.0) / max(1e-15, 1000.0 * velocity[i] ^ 2.0) for i in 1:6} (30) [DISC] (1) Boolean $TEV_0 System Equations (30/150) *************************** (1) [SCAL] (1) $TEV_0 = time < input_DP.startTime ($RES_EVT_52) (2) [FOR-] (6) ($RES_BND_43) (2) [----] for $i1 in 1:6 loop (2) [----] [SCAL] (1) DP_plot[$i1] = DP[$i1] ($RES_BND_44) (2) [----] end for; (3) [FOR-] (6) ($RES_BND_37) (3) [----] for $i1 in 1:6 loop (3) [----] [SCAL] (1) dp_IN_con[$i1].dp_smooth = 1.0 ($RES_BND_38) (3) [----] end for; (4) [SCAL] (1) $TEV_1 = time < (input_DP.startTime + input_DP.duration) ($RES_EVT_53) (5) [FOR-] (6) ($RES_BND_45) (5) [----] for $i1 in 1:6 loop (5) [----] [SCAL] (1) A_cross[$i1] = A_1[$i1] ($RES_BND_46) (5) [----] end for; (6) [FOR-] (6) ($RES_BND_39) (6) [----] for $i1 in 1:6 loop (6) [----] [SCAL] (1) dp_IN_var[$i1].eta = 0.001 ($RES_BND_40) (6) [----] end for; (7) [FOR-] (6) ($RES_BND_47) (7) [----] for $i1 in 1:6 loop (7) [----] [SCAL] (1) velocity[$i1] = input_mdot[1] / max(1e-15, 1000.0 * A_cross[$i1]) ($RES_BND_48) (7) [----] end for; (8) [FOR-] (6) ($RES_BND_49) (8) [----] for $i1 in 1:6 loop (8) [----] [SCAL] (1) zeta_TOT[$i1] = (2.0 * DP[$i1]) / max(1e-15, 1000.0 * velocity[$i1] ^ 2.0) ($RES_BND_50) (8) [----] end for; (9) [FOR-] (6) ($RES_BND_9) (9) [----] for $i1 in 1:6 loop (9) [----] [SCAL] (1) DP[$i1] = input_dp[$i1] ($RES_BND_10) (9) [----] end for; (10) [FOR-] (6) ($RES_BND_7) (10) [----] for $i1 in 1:6 loop (10) [----] [SCAL] (1) input_dp[$i1] = input_DP.y ($RES_BND_8) (10) [----] end for; (11) [FOR-] (6) ($RES_BND_11) (11) [----] for $i1 in 1:6 loop (11) [----] [SCAL] (1) m_flow_IN_con[$i1].A_0 = A_0 ($RES_BND_12) (11) [----] end for; (12) [SCAL] (1) l_bar = L / $FUN_1 ($RES_BND_4) (13) [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_3) (14) [SCAL] (1) $DER.L = 0.39 ($RES_SIM_2) (15) [FOR-] (6) ($RES_BND_13) (15) [----] for $i1 in 1:6 loop (15) [----] [SCAL] (1) m_flow_IN_con[$i1].C_0 = C_0 ($RES_BND_14) (15) [----] end for; (16) [ARRY] (6) DP = {Modelica.Fluid.Dissipation.PressureLoss.Orifice.dp_thickEdgedOverall_DP(m_flow_IN_con[i], m_flow_IN_var[i], input_mdot[i]) for i in 1:6} ($RES_SIM_1) (17) [SCAL] (1) $FUN_1 = sqrt(1.2732395447351628 * A_0) ($RES_$AUX_51) (18) [ARRY] (6) M_FLOW = {Modelica.Fluid.Dissipation.PressureLoss.Orifice.dp_thickEdgedOverall_MFLOW(dp_IN_con[i], dp_IN_var[i], input_dp[i]) for i in 1:6} ($RES_SIM_0) (19) [FOR-] (6) ($RES_BND_21) (19) [----] for $i1 in 1:6 loop (19) [----] [SCAL] (1) m_flow_IN_con[$i1].dp_smooth = 1.0 ($RES_BND_22) (19) [----] end for; (20) [FOR-] (6) ($RES_BND_15) (20) [----] for $i1 in 1:6 loop (20) [----] [SCAL] (1) m_flow_IN_con[$i1].A_1 = A_1[$i1] ($RES_BND_16) (20) [----] end for; (21) [FOR-] (6) ($RES_BND_23) (21) [----] for $i1 in 1:6 loop (21) [----] [SCAL] (1) m_flow_IN_var[$i1].eta = 0.001 ($RES_BND_24) (21) [----] end for; (22) [FOR-] (6) ($RES_BND_17) (22) [----] for $i1 in 1:6 loop (22) [----] [SCAL] (1) m_flow_IN_con[$i1].C_1 = C_1[$i1] ($RES_BND_18) (22) [----] end for; (23) [FOR-] (6) ($RES_BND_31) (23) [----] for $i1 in 1:6 loop (23) [----] [SCAL] (1) dp_IN_con[$i1].A_1 = A_1[$i1] ($RES_BND_32) (23) [----] end for; (24) [FOR-] (6) ($RES_BND_25) (24) [----] for $i1 in 1:6 loop (24) [----] [SCAL] (1) m_flow_IN_var[$i1].rho = 1000.0 ($RES_BND_26) (24) [----] end for; (25) [FOR-] (6) ($RES_BND_19) (25) [----] for $i1 in 1:6 loop (25) [----] [SCAL] (1) m_flow_IN_con[$i1].L = L ($RES_BND_20) (25) [----] end for; (26) [FOR-] (6) ($RES_BND_33) (26) [----] for $i1 in 1:6 loop (26) [----] [SCAL] (1) dp_IN_con[$i1].C_1 = C_1[$i1] ($RES_BND_34) (26) [----] end for; (27) [FOR-] (6) ($RES_BND_27) (27) [----] for $i1 in 1:6 loop (27) [----] [SCAL] (1) dp_IN_con[$i1].A_0 = A_0 ($RES_BND_28) (27) [----] end for; (28) [FOR-] (6) ($RES_BND_41) (28) [----] for $i1 in 1:6 loop (28) [----] [SCAL] (1) dp_IN_var[$i1].rho = 1000.0 ($RES_BND_42) (28) [----] end for; (29) [FOR-] (6) ($RES_BND_35) (29) [----] for $i1 in 1:6 loop (29) [----] [SCAL] (1) dp_IN_con[$i1].L = L ($RES_BND_36) (29) [----] end for; (30) [FOR-] (6) ($RES_BND_29) (30) [----] for $i1 in 1:6 loop (30) [----] [SCAL] (1) dp_IN_con[$i1].C_0 = C_0 ($RES_BND_30) (30) [----] end for;