Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 99.59 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002892/0.002892, allocations: 218.1 kB / 24.5 MB, free: 3.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.628/1.628, allocations: 230.6 MB / 258.3 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.27/0.27, allocations: 46.96 MB / 361.6 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.05e-05/3.05e-05, allocations: 4.953 kB / 0.4973 GB, free: 7.258 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.003419/0.003449, allocations: 1.763 MB / 0.499 GB, free: 5.48 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001519/0.004969, allocations: 0.7673 MB / 0.4998 GB, free: 4.711 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.958e-05/0.005028, allocations: 0 / 0.4998 GB, free: 4.711 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002755/0.005304, allocations: 39.75 kB / 0.4998 GB, free: 4.672 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003001/0.005604, allocations: 75.66 kB / 0.4999 GB, free: 4.598 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002961/0.0059, allocations: 81.61 kB / 0.5 GB, free: 4.52 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002589/0.006159, allocations: 155.4 kB / 0.5001 GB, free: 4.367 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.916e-05/0.006208, allocations: 4.188 kB / 0.5001 GB, free: 4.363 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000233/0.006441, allocations: 79.73 kB / 0.5002 GB, free: 4.285 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.00658, allocations: 87.7 kB / 0.5003 GB, free: 4.199 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.006602, allocations: 4 kB / 0.5003 GB, free: 4.195 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/0.006783, allocations: 71.89 kB / 0.5004 GB, free: 4.125 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0002913/0.007074, allocations: 246 kB / 0.5006 GB, free: 3.883 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001402/0.007214, allocations: 154.4 kB / 0.5007 GB, free: 3.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.516e-05/0.007239, allocations: 8 kB / 0.5007 GB, free: 3.723 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.524e-05/0.007255, allocations: 0 / 0.5007 GB, free: 3.723 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.001299/0.008553, allocations: 0.987 MB / 0.5017 GB, free: 2.609 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001946/0.008748, allocations: 109.1 kB / 0.5018 GB, free: 2.488 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.0004548/0.009203, allocations: 403.8 kB / 0.5022 GB, free: 2.066 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001554/0.009358, allocations: 105.9 kB / 0.5023 GB, free: 1.918 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.0002028/0.009561, allocations: 173.8 kB / 0.5025 GB, free: 1.695 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001605/0.009721, allocations: 121.9 kB / 0.5026 GB, free: 1.531 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 7.173e-05/0.009793, allocations: 56.42 kB / 0.5026 GB, free: 1.449 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0001702/0.009963, allocations: 128.8 kB / 0.5028 GB, free: 1.27 MB / 366.1 MB Notification: Performance of [SIM] Events: time 9.984e-05/0.01006, allocations: 27.98 kB / 0.5028 GB, free: 1.242 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002505/0.01031, allocations: 151.9 kB / 0.5029 GB, free: 1.086 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: 3.0236799237318337] 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.020830627996474504 0.035988091 0.025598223000000003 Calling exit ...