Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001376/0.001376, allocations: 100.4 kB / 20.52 MB, free: 1.148 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.001577/0.001577, allocations: 217.4 kB / 23.82 MB, free: 4.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.606/1.606, allocations: 207.7 MB / 234.7 MB, free: 9.926 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2761/0.2761, allocations: 44.26 MB / 331.2 MB, free: 9.398 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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.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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.26e-05/2.26e-05, allocations: 2.281 kB / 468.8 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.004366/0.004389, allocations: 1.763 MB / 470.6 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001857/0.006246, allocations: 0.7643 MB / 471.4 MB, free: 1.305 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.006362, allocations: 4 kB / 471.4 MB, free: 1.301 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000285/0.006646, allocations: 39.77 kB / 471.4 MB, free: 1.262 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000369/0.007016, allocations: 75.64 kB / 471.5 MB, free: 1.188 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003477/0.007363, allocations: 71.73 kB / 471.6 MB, free: 1.117 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003101/0.007673, allocations: 159.4 kB / 471.7 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.853e-05/0.007722, allocations: 192 / 471.7 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001837/0.007906, allocations: 75.72 kB / 471.8 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001711/0.008077, allocations: 87.66 kB / 471.9 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.0081, allocations: 11.98 kB / 471.9 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002109/0.008311, allocations: 59.91 kB / 471.9 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0002961/0.008607, allocations: 238.1 kB / 472.2 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001568/0.008764, allocations: 154.4 kB / 472.3 MB, free: 352 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.089e-05/0.008795, allocations: 8 kB / 472.3 MB, free: 344 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.796e-05/0.008813, allocations: 3.938 kB / 472.3 MB, free: 340 kB / 334.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.001475/0.01029, allocations: 0.9831 MB / 473.3 MB, free: 15.22 MB / 350.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002333/0.01052, allocations: 113.2 kB / 473.4 MB, free: 15.1 MB / 350.1 MB Notification: Performance of [SIM] Early Inline: time 0.0004461/0.01097, allocations: 367.7 kB / 473.8 MB, free: 14.71 MB / 350.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001857/0.01115, allocations: 102 kB / 473.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of [SIM] Alias: time 0.0002335/0.01139, allocations: 169.9 kB / 474.1 MB, free: 14.35 MB / 350.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001442/0.01153, allocations: 106 kB / 474.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001098/0.01164, allocations: 56.42 kB / 474.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of [SIM] Detect States: time 0.0001969/0.01184, allocations: 132.7 kB / 474.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of [SIM] Events: time 0.0001371/0.01197, allocations: 51.81 kB / 474.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002391/0.01221, allocations: 136 kB / 474.5 MB, free: 13.74 MB / 350.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.127473109983839] 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.02328600501641631 0.039764317 0.02742591 Calling exit ...