Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.00167/0.00167, allocations: 95.66 kB / 21.25 MB, free: 428 kB / 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.00174/0.00174, allocations: 211.2 kB / 24.55 MB, free: 3.723 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.485/1.485, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2227/0.2227, allocations: 44.94 MB / 359.7 MB, free: 6.035 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.621e-05/1.621e-05, allocations: 2.281 kB / 0.4943 GB, free: 10.03 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.003009/0.003026, allocations: 1.77 MB / 0.4961 GB, free: 8.246 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.004413, allocations: 0.7711 MB / 0.4968 GB, free: 7.473 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.294e-05/0.004466, allocations: 0 / 0.4968 GB, free: 7.473 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002562/0.004722, allocations: 39.75 kB / 0.4969 GB, free: 7.434 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002665/0.004989, allocations: 71.64 kB / 0.4969 GB, free: 7.363 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000262/0.005251, allocations: 83.73 kB / 0.497 GB, free: 7.281 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002395/0.00549, allocations: 163.4 kB / 0.4972 GB, free: 7.121 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.645e-05/0.005537, allocations: 4.172 kB / 0.4972 GB, free: 7.117 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001815/0.005718, allocations: 75.75 kB / 0.4972 GB, free: 7.043 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.005854, allocations: 83.64 kB / 0.4973 GB, free: 6.961 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.005871, allocations: 4 kB / 0.4973 GB, free: 6.957 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001626/0.006034, allocations: 63.91 kB / 0.4974 GB, free: 6.895 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0002555/0.006289, allocations: 246.1 kB / 0.4976 GB, free: 6.652 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001361/0.006425, allocations: 158.4 kB / 0.4978 GB, free: 6.496 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.571e-05/0.006451, allocations: 8 kB / 0.4978 GB, free: 6.488 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.171e-05/0.006463, allocations: 0 / 0.4978 GB, free: 6.488 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.001259/0.007722, allocations: 0.9909 MB / 0.4988 GB, free: 5.371 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.000172/0.007894, allocations: 109.1 kB / 0.4989 GB, free: 5.25 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.0004162/0.00831, allocations: 395.8 kB / 0.4992 GB, free: 4.836 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.000147/0.008457, allocations: 109.9 kB / 0.4993 GB, free: 4.684 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.00019/0.008647, allocations: 169.8 kB / 0.4995 GB, free: 4.465 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001309/0.008778, allocations: 113.9 kB / 0.4996 GB, free: 4.309 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 6.755e-05/0.008846, allocations: 64.39 kB / 0.4997 GB, free: 4.219 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0001512/0.008997, allocations: 132.8 kB / 0.4998 GB, free: 4.035 MB / 366.1 MB Notification: Performance of [SIM] Events: time 9.051e-05/0.009087, allocations: 35.86 kB / 0.4998 GB, free: 4 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002034/0.009291, allocations: 140 kB / 0.5 GB, free: 3.855 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.7457625619717874] 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.01872279099188745 0.032529271000000005 0.023152416000000002 Calling exit ...