Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001334/0.001334, allocations: 107.6 kB / 21.25 MB, free: 0.5625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001603/0.001603, allocations: 219.1 kB / 24.55 MB, free: 3.82 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 230.5 MB / 258.2 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2368/0.2368, allocations: 46.94 MB / 361.6 MB, free: 3.887 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|velocity.1.|velocity.2.|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow.1.|m_flow.2.|kc_OUT_1.1.|kc_OUT_1.2.|Re.1.|Re.2.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|velocity.1.|velocity.2.|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow.1.|m_flow.2.|kc_OUT_1.1.|kc_OUT_1.2.|Re.1.|Re.2.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.266e-05/2.266e-05, allocations: 2.281 kB / 0.4974 GB, free: 7.039 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.003408/0.003431, allocations: 1.774 MB / 0.4992 GB, free: 5.254 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.005141, allocations: 0.7635 MB / 0.4999 GB, free: 4.488 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.014e-05/0.005201, allocations: 3.938 kB / 0.4999 GB, free: 4.484 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000301/0.005502, allocations: 47.69 kB / 0.5 GB, free: 4.438 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003097/0.005812, allocations: 63.72 kB / 0.5 GB, free: 4.375 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.006089, allocations: 87.55 kB / 0.5001 GB, free: 4.293 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002598/0.006349, allocations: 155.5 kB / 0.5003 GB, free: 4.141 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.303e-05/0.006402, allocations: 8.125 kB / 0.5003 GB, free: 4.133 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002075/0.00661, allocations: 79.73 kB / 0.5003 GB, free: 4.055 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.006748, allocations: 79.77 kB / 0.5004 GB, free: 3.977 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.006767, allocations: 7.938 kB / 0.5004 GB, free: 3.969 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001886/0.006955, allocations: 67.89 kB / 0.5005 GB, free: 3.902 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0002878/0.007243, allocations: 242.1 kB / 0.5007 GB, free: 3.664 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001472/0.00739, allocations: 154.4 kB / 0.5009 GB, free: 3.512 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.547e-05/0.007416, allocations: 8 kB / 0.5009 GB, free: 3.504 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.616e-05/0.007432, allocations: 0 / 0.5009 GB, free: 3.504 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 (15) * Number of variables: 29 (15) Notification: Performance of [SIM] Bindings: time 0.001418/0.00885, allocations: 0.9908 MB / 0.5018 GB, free: 2.387 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002018/0.009052, allocations: 101.3 kB / 0.5019 GB, free: 2.273 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.0004361/0.009488, allocations: 403.8 kB / 0.5023 GB, free: 1.852 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.000147/0.009635, allocations: 109.9 kB / 0.5024 GB, free: 1.699 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.0002001/0.009835, allocations: 169.9 kB / 0.5026 GB, free: 1.48 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001432/0.009978, allocations: 113.9 kB / 0.5027 GB, free: 1.324 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 7.046e-05/0.01005, allocations: 60.41 kB / 0.5028 GB, free: 1.238 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0001665/0.01021, allocations: 132.7 kB / 0.5029 GB, free: 1.055 MB / 366.1 MB Notification: Performance of [SIM] Events: time 0.0001049/0.01032, allocations: 39.97 kB / 0.5029 GB, free: 1.016 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 0.000234/0.01055, allocations: 148 kB / 0.5031 GB, free: 0.8633 MB / 366.1 MB Error: Internal error NBSorting.tarjan failed to sort system: System Variables (18/33) ************************** (1|1) [ALGB] (2) Real[2] m_flow_IN_var_1.m_flow = {m_flow[$m_flow_IN_var_11] for $m_flow_IN_var_11 in 1:2} (2|3) [ALGB] (2) Real[2] m_flow_IN_var_1.cp = {cp[$m_flow_IN_var_11] for $m_flow_IN_var_11 in 1:2} (3|5) [DISC] (2) final enumeration Modelica.Fluid.Dissipation.Utilities.Types.kc_evenGap(DevOne, DevBoth, UndevOne, UndevBoth)[2] m_flow_IN_con_1.target = {Modelica.Fluid.Dissipation.Utilities.Types.kc_evenGap.DevBoth for $f1 in 1:2} (4|7) [ALGB] (2) Real[2] m_flow_IN_con_1.L = {L for $f8 in 1:2} (5|9) [ALGB] (2) Real[2] m_flow_IN_var_1.lambda = {lambda[$m_flow_IN_var_11] for $m_flow_IN_var_11 in 1:2} (6|11) [ALGB] (2) Real[2] m_flow_IN_con_1.h = {h for $f2 in 1:2} (7|13) [ALGB] (2) Real[2] Re = {(4.0 * d_hyd * abs(m_flow[i])) / (d_hyd * eta[i] * 3.141592653589793 * d_hyd) for i in 1:2} (8|15) [ALGB] (2) Real[2] Nu = {1.0 for $f1 in 1:2} .* input_Nu.y (9|17) [ALGB] (2) Real[2] kc_OUT_1 = {(lambda[i] * Nu[i]) / d_hyd for i in 1:2} (10|19) [ALGB] (2) Real[2] m_flow (start = {1.0 for $f1 in 1:2} .* 0.1) (11|21) [ALGB] (2) Real[2] $FUN_1 (12|23) [ALGB] (2) Real[2] m_flow_IN_var_1.eta = {eta[$m_flow_IN_var_11] for $m_flow_IN_var_11 in 1:2} (min = {0.0 for $f3 in 1:2}) (13|25) [ALGB] (1) Real input_Nu.y (14|26) [ALGB] (2) Real[2] m_flow_IN_con_1.s = {s for $f5 in 1:2} (15|28) [ALGB] (2) Real[2] velocity = {m_flow[i] / (s * rho[i] * h) for i in 1:2} (16|30) [DISC] (1) Boolean $TEV_1 (17|31) [DISC] (1) Boolean $TEV_0 (18|32) [ALGB] (2) Real[2] m_flow_IN_var_1.rho = {rho[$m_flow_IN_var_11] for $m_flow_IN_var_11 in 1:2} (min = {0.0 for $f8 in 1:2}) System Equations (18/33) ************************** (1|1) [FOR-] (2) ($RES_BND_8) (1|1) [----] for $i1 in 1:2 loop (1|1) [----] [SCAL] (1) m_flow_IN_con_1[$i1].target = Modelica.Fluid.Dissipation.Utilities.Types.kc_evenGap.DevBoth ($RES_BND_9) (1|1) [----] end for; (2|3) [FOR-] (2) ($RES_AUX_30) (2|3) [----] for $i1 in 1:2 loop (2|3) [----] [SCAL] (1) $FUN_1[$i1] = abs(m_flow[$i1]) ($RES_AUX_31) (2|3) [----] end for; (3|5) [FOR-] (2) ($RES_BND_6) (3|5) [----] for $i1 in 1:2 loop (3|5) [----] [SCAL] (1) kc_OUT_1[$i1] = lambda[$i1] * Nu[$i1] / d_hyd ($RES_BND_7) (3|5) [----] end for; (4|7) [FOR-] (2) ($RES_BND_10) (4|7) [----] for $i1 in 1:2 loop (4|7) [----] [SCAL] (1) m_flow_IN_con_1[$i1].h = h ($RES_BND_11) (4|7) [----] end for; (5|9) [FOR-] (2) ($RES_BND_4) (5|9) [----] for $i1 in 1:2 loop (5|9) [----] [SCAL] (1) Nu[$i1] = input_Nu.y ($RES_BND_5) (5|9) [----] end for; (6|11) [FOR-] (2) ($RES_BND_12) (6|11) [----] for $i1 in 1:2 loop (6|11) [----] [SCAL] (1) m_flow_IN_con_1[$i1].s = s ($RES_BND_13) (6|11) [----] end for; (7|13) [FOR-] (2) ($RES_BND_2) (7|13) [----] for $i1 in 1:2 loop (7|13) [----] [SCAL] (1) velocity[$i1] = m_flow[$i1] / s / rho[$i1] / h ($RES_BND_3) (7|13) [----] end for; (8|15) [FOR-] (2) ($RES_BND_14) (8|15) [----] for $i1 in 1:2 loop (8|15) [----] [SCAL] (1) m_flow_IN_con_1[$i1].L = L ($RES_BND_15) (8|15) [----] end for; (9|17) [SCAL] (1) input_Nu.y = input_Nu.offset + (if $TEV_0 then 0.0 else if $TEV_1 then (input_Nu.height * (time - input_Nu.startTime)) / input_Nu.duration else input_Nu.height) ($RES_SIM_1) (10|18) [FOR-] (2) ($RES_BND_20) (10|18) [----] for $i1 in 1:2 loop (10|18) [----] [SCAL] (1) m_flow_IN_var_1[$i1].lambda = lambda[$i1] ($RES_BND_21) (10|18) [----] end for; (11|20) [FOR-] (2) ($RES_BND_22) (11|20) [----] for $i1 in 1:2 loop (11|20) [----] [SCAL] (1) m_flow_IN_var_1[$i1].rho = rho[$i1] ($RES_BND_23) (11|20) [----] end for; (12|22) [FOR-] (2) ($RES_BND_16) (12|22) [----] for $i1 in 1:2 loop (12|22) [----] [SCAL] (1) m_flow_IN_var_1[$i1].cp = cp[$i1] ($RES_BND_17) (12|22) [----] end for; (13|24) [SCAL] (1) $TEV_0 = time < input_Nu.startTime ($RES_EVT_32) (14|25) [SCAL] (1) $TEV_1 = time < (input_Nu.startTime + input_Nu.duration) ($RES_EVT_33) (15|26) [FOR-] (2) ($RES_BND_24) (15|26) [----] for $i1 in 1:2 loop (15|26) [----] [SCAL] (1) m_flow_IN_var_1[$i1].m_flow = m_flow[$i1] ($RES_BND_25) (15|26) [----] end for; (16|28) [FOR-] (2) ($RES_BND_18) (16|28) [----] for $i1 in 1:2 loop (16|28) [----] [SCAL] (1) m_flow_IN_var_1[$i1].eta = eta[$i1] ($RES_BND_19) (16|28) [----] end for; (17|30) [FOR-] (2) ($RES_BND_26) (17|30) [----] for $i1 in 1:2 loop (17|30) [----] [SCAL] (1) Re[$i1] = 4.0 * d_hyd * $FUN_1[$i1] / d_hyd / eta[$i1] / 3.141592653589793 / d_hyd ($RES_BND_27) (17|30) [----] end for; (18|32) [FOR-] (2) ($RES_SIM_28) (18|32) [----] for i in 1:2 loop (18|32) [----] [SCAL] (1) kc_OUT_1[i] = Modelica.Fluid.Dissipation.HeatTransfer.Channel.kc_evenGapTurbulent_KC(m_flow_IN_con_1[i], m_flow_IN_var_1[i]) ($RES_SIM_29) (18|32) [----] end for; =================== Scalar Matching =================== variable to equation ********************** var 1 --> eqn 32 var 2 --> eqn 33 var 3 --> eqn 22 var 4 --> eqn 23 var 5 --> eqn 1 var 6 --> eqn 2 var 7 --> eqn 15 var 8 --> eqn 16 var 9 --> eqn 18 var 10 --> eqn 19 var 11 --> eqn 7 var 12 --> eqn 8 var 13 --> eqn 30 var 14 --> eqn 31 var 15 --> eqn 9 var 16 --> eqn 10 var 17 --> eqn 5 var 18 --> eqn 6 var 19 --> eqn 26 var 20 --> eqn 27 var 21 --> eqn 3 var 22 --> eqn 4 var 23 --> eqn 28 var 24 --> eqn 29 var 25 --> eqn 17 var 26 --> eqn 11 var 27 --> eqn 12 var 28 --> eqn 13 var 29 --> eqn 14 var 30 --> eqn 25 var 31 --> eqn 24 var 32 --> eqn 20 var 33 --> eqn 21 equation to variable ********************** eqn 1 --> var 5 eqn 2 --> var 6 eqn 3 --> var 21 eqn 4 --> var 22 eqn 5 --> var 17 eqn 6 --> var 18 eqn 7 --> var 11 eqn 8 --> var 12 eqn 9 --> var 15 eqn 10 --> var 16 eqn 11 --> var 26 eqn 12 --> var 27 eqn 13 --> var 28 eqn 14 --> var 29 eqn 15 --> var 7 eqn 16 --> var 8 eqn 17 --> var 25 eqn 18 --> var 9 eqn 19 --> var 10 eqn 20 --> var 32 eqn 21 --> var 33 eqn 22 --> var 3 eqn 23 --> var 4 eqn 24 --> var 31 eqn 25 --> var 30 eqn 26 --> var 19 eqn 27 --> var 20 eqn 28 --> var 23 eqn 29 --> var 24 eqn 30 --> var 13 eqn 31 --> var 14 eqn 32 --> var 1 eqn 33 --> var 2 " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.7862819980364293] Failed to read output from testmodel.py, exit status != 0: ['time', 'velocity[1]', 'velocity[2]', 'cp[1]', 'cp[2]', 'eta[1]', 'eta[2]', 'lambda[1]', 'lambda[2]', 'rho[1]', 'rho[2]', 'Nu[1]', 'Nu[2]', 'm_flow[1]', 'm_flow[2]', 'kc_OUT_1[1]', 'kc_OUT_1[2]', 'Re[1]', 'Re[2]', 'input_Nu.y'] 0.020279877993743867 0.035095222 0.024643552000000003 Calling exit ...