Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.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.001405/0.001405, allocations: 104.3 kB / 19.72 MB, free: 2.145 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.0015/0.0015, allocations: 212.8 kB / 23.01 MB, free: 4.965 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.304/1.304, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.821/2.821, allocations: 0.49 GB / 0.7958 GB, free: 35.28 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TBorOut.T|TBorIn.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TBorOut.T|TBorIn.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.608e-05/1.608e-05, allocations: 2.5 kB / 1.155 GB, free: 25.14 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube): time 0.06008/0.06009, allocations: 64.53 MB / 1.218 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02598/0.08607, allocations: 16.35 MB / 1.234 GB, free: 2.816 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003455/0.08953, allocations: 98.06 kB / 1.234 GB, free: 2.766 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00441/0.09394, allocations: 1.186 MB / 1.235 GB, free: 2.148 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.008093/0.102, allocations: 2.516 MB / 1.238 GB, free: 0.6719 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.008827/0.1109, allocations: 3.022 MB / 1.241 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01911/0.13, allocations: 16.78 MB / 1.257 GB, free: 5.906 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01717/0.1471, allocations: 7.933 MB / 1.265 GB, free: 500 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01065/0.1578, allocations: 5.212 MB / 1.27 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007109/0.1649, allocations: 4.475 MB / 1.274 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001305/0.1662, allocations: 0.7617 MB / 1.275 GB, free: 6.188 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008431/0.1746, allocations: 3.656 MB / 1.279 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of combineBinaries: time 0.01173/0.1864, allocations: 9.066 MB / 1.287 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of replaceArrayConstructors: time 0.004796/0.1912, allocations: 4.15 MB / 1.292 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001543/0.1927, allocations: 324 kB / 1.292 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of FrontEnd: time 0.0005102/0.1932, allocations: 47.86 kB / 1.292 GB, free: 4.883 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2147 (1014) * Number of variables: 2147 (243) Notification: Performance of [SIM] Bindings: time 0.03302/0.2262, allocations: 30.95 MB / 1.322 GB, free: 5.512 MB / 1.014 GB Notification: Performance of [SIM] FunctionAlias: time 0.005535/0.2318, allocations: 3.984 MB / 1.326 GB, free: 1.504 MB / 1.014 GB Notification: Performance of [SIM] Early Inline: time 0.02012/0.2519, allocations: 19.53 MB / 1.345 GB, free: 13.85 MB / 1.045 GB Notification: Performance of [SIM] Simplify 1: time 0.004211/0.2561, allocations: 2.463 MB / 1.347 GB, free: 11.21 MB / 1.045 GB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.01398/0.2701, allocations: 11.45 MB / 1.359 GB, free: 15.4 MB / 1.061 GB Notification: Performance of [SIM] Simplify 2: time 0.003878/0.274, allocations: 2.398 MB / 1.361 GB, free: 12.84 MB / 1.061 GB Notification: Performance of [SIM] Remove Stream: time 0.002398/0.2764, allocations: 1.809 MB / 1.363 GB, free: 10.91 MB / 1.061 GB Notification: Performance of [SIM] Detect States: time 0.0039/0.2803, allocations: 4.014 MB / 1.367 GB, free: 6.809 MB / 1.061 GB Notification: Performance of [SIM] Events: time 0.0009223/0.2812, allocations: 0.6654 MB / 1.367 GB, free: 6.137 MB / 1.061 GB Notification: Performance of [SIM] Partitioning: time 0.00806/0.2892, allocations: 7.319 MB / 1.374 GB, free: 14.67 MB / 1.076 GB Notification: Performance of [SIM] Causalize: time 0.07214/0.3614, allocations: 46.66 MB / 1.42 GB, free: 15.59 MB / 1.123 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.01653/0.3779, allocations: 15.72 MB / 1.435 GB, free: 15.86 MB / 1.139 GB Notification: Performance of [INI] Simplify: time 0.01244/0.3903, allocations: 6.746 MB / 1.442 GB, free: 8.824 MB / 1.139 GB Notification: Performance of [INI] Inline: time 0.03284/0.4232, allocations: 28.69 MB / 1.47 GB, free: 12.08 MB / 1.17 GB Notification: Performance of [INI] Partitioning: time 0.001012/0.4242, allocations: 261.3 kB / 1.47 GB, free: 11.78 MB / 1.17 GB Notification: Performance of [INI] Cleanup: time 0.008816/0.433, allocations: 5.446 MB / 1.476 GB, free: 6.297 MB / 1.17 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [FOR-] (40) ($RES_AUX_1216) [----] for $i1 in 1:10 loop [----] [TUPL] (4) ($FUN_48[$i1], $FUN_49[$i1], $FUN_50[$i1], $FUN_51[$i1]) = Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesOneUTube(borHol.intHex[$i1].borFieDat.conDat.use_Rb, borHol.intHex[$i1].borFieDat.conDat.Rb, borHol.intHex[$i1].hSeg, borHol.intHex[$i1].borFieDat.conDat.rBor, borHol.intHex[$i1].borFieDat.conDat.rTub, borHol.intHex[$i1].borFieDat.conDat.eTub, borHol.intHex[$i1].borFieDat.conDat.xC, borHol.intHex[$i1].borFieDat.filDat.kFil, borHol.intHex[$i1].borFieDat.soiDat.kSoi, borHol.intHex[$i1].borFieDat.conDat.kTub, borHol.intHex[$i1].kMed, borHol.intHex[$i1].muMed, borHol.intHex[$i1].cpMed, borHol.intHex[$i1].m1_flow_nominal, \"BoreholeOneUTube.borHol.intHex\") ($RES_AUX_1217) [----] end for; slice: {33, 34, 35, 36, 37, 38, 39}; [FOR-] (10) ($RES_BND_1400) [----] for $i1 in 1:10 loop [----] [SCAL] (1) borHol.intHex[$i1].m1_flow_nominal = borHol.m_flow_nominal ($RES_BND_1401) [----] end for; slice: {1, 2, 3, 4, 5, 6, 7, 8, 9}; [FOR-] (10) ($RES_BND_1392) [----] for $i1 in 1:10 loop [----] [SCAL] (1) borHol.intHex[$i1].hSeg = borHol.borFieDat.conDat.hBor / 10.0 ($RES_BND_1393) [----] end for;; [SCAL] (1) borHol.m_flow_nominal = borFieDat.conDat.mBor_flow_nominal ($RES_BND_1388); [FOR-] (330) ($RES_BND_1541) [----] for $i1 in 1:10 loop [----] [RECD] (33) borHol.intHex[$i1].intResUTub.borFieDat = borHol.intHex[$i1].borFieDat ($RES_BND_1542) [----] end for; slice: {240, 241, 242, 243, 244, 245, 246, 247, 248, 249, ...}; [FOR-] (330) ($RES_BND_1531) [----] for $i1 in 1:10 loop [----] [RECD] (33) borHol.intHex[$i1].borFieDat = borHol.borFieDat ($RES_BND_1532) [----] end for; slice: {240, 241, 242, 243, 244, 245, 246, 247, 248, 249, ...}; Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [RECD] (230) final parameter Buildings.Fluid.Geothermal.Borefields.Data.Configuration.Template[10] borHol.intHex.borFieDat.conDat = {borHol.borFieDat.conDat, borHol.borFieDat.conDat, borHol.borFieDat.conDat, borHol.borFieDat.conDat, borHol.borFieDat.conDat, borHol.borFieDat.conDat, borHol.borFieDat.conDat, borHol.borFieDat.conDat, borHol.borFieDat.conDat, borHol.borFieDat.conDat} (borCon, use_Rb, Rb, mBor_flow_nominal, mBorFie_flow_nominal, dp_nominal, hBor(min = {0.0 for $f30 in 1:10}), rBor(min = {0.0 for $f33 in 1:10}), dBor(min = {0.0 for $f36 in 1:10}), nBor, cooBor, rTub(min = {0.0 for $f45 in 1:10}), kTub, eTub, xC, mBor_flow_small(min = {0.0 for $f54 in 1:10})), [RECD] (50) final parameter Buildings.Fluid.Geothermal.Borefields.Data.Filling.Template[10] borHol.intHex.borFieDat.filDat = {borHol.borFieDat.filDat, borHol.borFieDat.filDat, borHol.borFieDat.filDat, borHol.borFieDat.filDat, borHol.borFieDat.filDat, borHol.borFieDat.filDat, borHol.borFieDat.filDat, borHol.borFieDat.filDat, borHol.borFieDat.filDat, borHol.borFieDat.filDat} (kFil, cFil, dFil(min = {0.0 for $f6 in 1:10}), steadyState, aFil), [RECD] (230) parameter Buildings.Fluid.Geothermal.Borefields.Data.Configuration.Template[10] borHol.intHex.intResUTub.borFieDat.conDat = {borHol.intHex[10].borFieDat.conDat, borHol.intHex[10].borFieDat.conDat, borHol.intHex[10].borFieDat.conDat, borHol.intHex[10].borFieDat.conDat, borHol.intHex[10].borFieDat.conDat, borHol.intHex[10].borFieDat.conDat, borHol.intHex[10].borFieDat.conDat, borHol.intHex[10].borFieDat.conDat, borHol.intHex[10].borFieDat.conDat, borHol.intHex[10].borFieDat.conDat} (borCon, use_Rb, Rb, mBor_flow_nominal, mBorFie_flow_nominal, dp_nominal, hBor(min = {0.0 for $f29 in 1:10}), rBor(min = {0.0 for $f32 in 1:10}), dBor(min = {0.0 for $f35 in 1:10}), nBor, cooBor, rTub(min = {0.0 for $f44 in 1:10}), kTub, eTub, xC, mBor_flow_small(min = {0.0 for $f53 in 1:10})), [RECD] (50) parameter Buildings.Fluid.Geothermal.Borefields.Data.Filling.Template[10] borHol.intHex.intResUTub.borFieDat.filDat = {borHol.intHex[10].borFieDat.filDat, borHol.intHex[10].borFieDat.filDat, borHol.intHex[10].borFieDat.filDat, borHol.intHex[10].borFieDat.filDat, borHol.intHex[10].borFieDat.filDat, borHol.intHex[10].borFieDat.filDat, borHol.intHex[10].borFieDat.filDat, borHol.intHex[10].borFieDat.filDat, borHol.intHex[10].borFieDat.filDat, borHol.intHex[10].borFieDat.filDat} (kFil, cFil, dFil(min = {0.0 for $f5 in 1:10}), steadyState, aFil) Following equations were created by fixing variables: [ARRY] (10) borHol.intHex.Rgb_val = $START.borHol.intHex.Rgb_val ($RES_SRT_1679) [FOR-] (8) ($RES_SRT_1676) [----] for $i478 in 3:1:10 loop [----] [SCAL] (1) borHol.intHex[$i478].x = $START.borHol.intHex[$i478].x ($RES_SRT_1676) [----] end for; [FOR-] (9) ($RES_SRT_1678) [----] for $i479 in 1:1:9 loop [----] [SCAL] (1) borHol.intHex[$i479].RCondGro_val = $START.borHol.intHex[$i479].RCondGro_val ($RES_SRT_1678) [----] end for; Use -d=bltdump for more verbose debug output. Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 6.112357371021062] Failed to read output from testmodel.py, exit status != 0: 0.48853964312002063 0.501735537 0.30560021699999995 Calling exit ...