Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.Orifice.dp_thickEdgedOverall_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1_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.001142/0.001142, 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.001128/0.001128, 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.201/1.201, 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.1547/0.1547, allocations: 38 MB / 308.6 MB, free: 5.996 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.274e-05/1.275e-05, allocations: 2.281 kB / 433.6 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.001984/0.002005, allocations: 1.831 MB / 435.5 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001442/0.003459, allocations: 1.372 MB / 436.8 MB, free: 11.22 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.68e-05/0.003526, allocations: 0 / 436.8 MB, free: 11.22 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002207/0.003754, allocations: 59.67 kB / 436.9 MB, free: 11.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.003958, allocations: 87.55 kB / 437 MB, free: 11.08 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003432/0.004315, allocations: 211.2 kB / 437.2 MB, free: 10.87 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001999/0.004525, allocations: 231.2 kB / 437.4 MB, free: 10.64 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.703e-05/0.004576, allocations: 4.234 kB / 437.4 MB, free: 10.64 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.004705, allocations: 119.6 kB / 437.5 MB, free: 10.52 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.004831, allocations: 123.6 kB / 437.7 MB, free: 10.4 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.004853, allocations: 7.938 kB / 437.7 MB, free: 10.39 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004446/0.005302, allocations: 451.1 kB / 438.1 MB, free: 9.953 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001587/0.005469, allocations: 281.4 kB / 438.4 MB, free: 9.676 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 8.162e-05/0.005556, allocations: 178 kB / 438.6 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.442e-05/0.005585, allocations: 15.94 kB / 438.6 MB, free: 9.484 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.119e-05/0.0056, allocations: 0 / 438.6 MB, free: 9.484 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.0007907/0.006396, allocations: 1.19 MB / 439.8 MB, free: 8.188 MB / 318.1 MB Notification: Performance of FunctionAlias: time 6.768e-05/0.00647, allocations: 55.84 kB / 439.8 MB, free: 8.133 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0002563/0.006733, allocations: 427.7 kB / 440.2 MB, free: 7.688 MB / 318.1 MB Notification: Performance of simplify1: time 1.418e-05/0.006753, allocations: 15.98 kB / 440.3 MB, free: 7.672 MB / 318.1 MB Notification: Performance of Alias: time 0.0003015/0.007059, allocations: 310 kB / 440.6 MB, free: 7.316 MB / 318.1 MB Notification: Performance of simplify2: time 1.093e-05/0.007079, allocations: 7.984 kB / 440.6 MB, free: 7.309 MB / 318.1 MB Notification: Performance of Events: time 6.87e-05/0.007151, allocations: 63.92 kB / 440.6 MB, free: 7.246 MB / 318.1 MB Notification: Performance of Detect States: time 0.0001153/0.007272, allocations: 108.2 kB / 440.7 MB, free: 7.125 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001232/0.007403, allocations: 148 kB / 440.9 MB, free: 6.973 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;