Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.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.001458/0.001458, allocations: 100.4 kB / 19.72 MB, free: 2.121 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.00159/0.00159, allocations: 209 kB / 23.01 MB, free: 4.93 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.298/1.298, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.808/2.808, allocations: 0.49 GB / 0.7958 GB, free: 35.51 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.BoreholeTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TBorOut.T|TBorIn.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TBorOut.T|TBorIn.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.379e-05/1.379e-05, allocations: 2.281 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube): time 0.07183/0.07184, allocations: 77.96 MB / 1.231 GB, free: 4.879 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.03758/0.1094, allocations: 23.9 MB / 1.255 GB, free: 4.523 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005021/0.1144, allocations: 161.2 kB / 1.255 GB, free: 4.445 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.005707/0.1201, allocations: 1.753 MB / 1.256 GB, free: 3.059 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.01224/0.1324, allocations: 4.242 MB / 1.261 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.01045/0.1428, allocations: 4.135 MB / 1.265 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.03247/0.1753, allocations: 31.95 MB / 1.296 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02381/0.1991, allocations: 16.21 MB / 1.312 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01855/0.2177, allocations: 9.483 MB / 1.321 GB, free: 7.133 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01243/0.2301, allocations: 8.226 MB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.003601/0.2337, allocations: 1.578 MB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0124/0.2461, allocations: 4.963 MB / 1.335 GB, free: 8.344 MB / 1.029 GB Notification: Performance of combineBinaries: time 0.02182/0.2679, allocations: 16.16 MB / 1.351 GB, free: 8.109 MB / 1.045 GB Notification: Performance of replaceArrayConstructors: time 0.008228/0.2762, allocations: 7.167 MB / 1.358 GB, free: 0.9102 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.003316/0.2795, allocations: 0.5898 MB / 1.359 GB, free: 328 kB / 1.045 GB Notification: Performance of FrontEnd: time 0.0007305/0.2802, allocations: 87.67 kB / 1.359 GB, free: 240 kB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4407 (2042) * Number of variables: 4407 (455) Notification: Performance of [SIM] Bindings: time 0.06545/0.3456, allocations: 53.02 MB / 1.41 GB, free: 10.62 MB / 1.107 GB Notification: Performance of [SIM] FunctionAlias: time 0.01244/0.3581, allocations: 8.075 MB / 1.418 GB, free: 2.609 MB / 1.107 GB Notification: Performance of [SIM] Early Inline: time 0.05135/0.4094, allocations: 40.3 MB / 1.458 GB, free: 10.11 MB / 1.154 GB Notification: Performance of [SIM] Simplify 1: time 0.009656/0.4191, allocations: 4.83 MB / 1.462 GB, free: 5.078 MB / 1.154 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.03031/0.4494, allocations: 22.33 MB / 1.484 GB, free: 14.31 MB / 1.186 GB Notification: Performance of [SIM] Simplify 2: time 0.008472/0.4579, allocations: 4.868 MB / 1.489 GB, free: 9.242 MB / 1.186 GB Notification: Performance of [SIM] Remove Stream: time 0.005857/0.4637, allocations: 3.844 MB / 1.493 GB, free: 5.266 MB / 1.186 GB Notification: Performance of [SIM] Detect States: time 0.009251/0.473, allocations: 8.067 MB / 1.501 GB, free: 13.1 MB / 1.201 GB Notification: Performance of [SIM] Events: time 0.00235/0.4753, allocations: 1.426 MB / 1.502 GB, free: 11.67 MB / 1.201 GB Notification: Performance of [SIM] Partitioning: time 0.01971/0.4951, allocations: 15.15 MB / 1.517 GB, free: 12.29 MB / 1.217 GB Notification: Performance of [SIM] Causalize: time 0.6706/1.166, allocations: 97.04 MB / 1.612 GB, free: 204.3 MB / 1.295 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0367/1.202, allocations: 32.62 MB / 1.643 GB, free: 204.3 MB / 1.295 GB Notification: Performance of [INI] Simplify: time 0.03037/1.233, allocations: 13.25 MB / 1.656 GB, free: 202.1 MB / 1.295 GB Notification: Performance of [INI] Inline: time 0.07293/1.306, allocations: 58.97 MB / 1.714 GB, free: 176.4 MB / 1.295 GB Notification: Performance of [INI] Partitioning: time 0.00221/1.308, allocations: 0.5052 MB / 1.714 GB, free: 176.2 MB / 1.295 GB Notification: Performance of [INI] Cleanup: time 0.01581/1.324, allocations: 11.31 MB / 1.726 GB, free: 168.4 MB / 1.295 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [FOR-] (50) ($RES_AUX_2442) [----] for $i1 in 1:10 loop [----] [TUPL] (5) ($FUN_94[$i1], $FUN_95[$i1], $FUN_96[$i1], $FUN_97[$i1], $FUN_98[$i1]) = Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesTwoUTube(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, \"BoreholeTwoUTube.borHol.intHex\") ($RES_AUX_2443) [----] end for; slice: {34, 35, 36, 37, 38, 39, 40, 41, 42, 43, ...}; [FOR-] (10) ($RES_BND_2792) [----] for $i1 in 1:10 loop [----] [SCAL] (1) borHol.intHex[$i1].m1_flow_nominal = borHol.m_flow_nominal / 2.0 ($RES_BND_2793) [----] end for; slice: {1, 2, 3, 4, 5, 6, 7, 8, 9}; [FOR-] (10) ($RES_BND_2768) [----] for $i1 in 1:10 loop [----] [SCAL] (1) borHol.intHex[$i1].hSeg = borHol.borFieDat.conDat.hBor / 10.0 ($RES_BND_2769) [----] end for;; [SCAL] (1) borHol.m_flow_nominal = borFieDat.conDat.mBor_flow_nominal ($RES_BND_2764); [FOR-] (330) ($RES_BND_3051) [----] for $i1 in 1:10 loop [----] [RECD] (33) borHol.intHex[$i1].intRes2UTub.borFieDat = borHol.intHex[$i1].borFieDat ($RES_BND_3052) [----] end for; slice: {240, 241, 242, 243, 244, 245, 246, 247, 248, 249, ...}; [FOR-] (330) ($RES_BND_3033) [----] for $i1 in 1:10 loop [----] [RECD] (33) borHol.intHex[$i1].borFieDat = borHol.borFieDat ($RES_BND_3034) [----] 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.intRes2UTub.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.Soil.Template[10] borHol.intHex.intRes2UTub.borFieDat.soiDat = {borHol.intHex[10].borFieDat.soiDat, borHol.intHex[10].borFieDat.soiDat, borHol.intHex[10].borFieDat.soiDat, borHol.intHex[10].borFieDat.soiDat, borHol.intHex[10].borFieDat.soiDat, borHol.intHex[10].borFieDat.soiDat, borHol.intHex[10].borFieDat.soiDat, borHol.intHex[10].borFieDat.soiDat, borHol.intHex[10].borFieDat.soiDat, borHol.intHex[10].borFieDat.soiDat} (kSoi, cSoi, dSoi(min = {0.0 for $f15 in 1:10}), steadyState, aSoi) Following equations were created by fixing variables: [ARRY] (10) borHol.intHex.Rgb_val = $START.borHol.intHex.Rgb_val ($RES_SRT_3207) [FOR-] (8) ($RES_SRT_3202) [----] for $i892 in 3:1:10 loop [----] [SCAL] (1) $FUN_94[$i892] = $START.$FUN_94[$i892] ($RES_SRT_3202) [----] end for; [FOR-] (9) ($RES_SRT_3204) [----] for $i893 in 1:1:9 loop [----] [SCAL] (1) $FUN_98[$i893] = $START.$FUN_98[$i893] ($RES_SRT_3204) [----] end for; [FOR-] (9) ($RES_SRT_3206) [----] for $i894 in 1:1:9 loop [----] [SCAL] (1) borHol.intHex[$i894].Rgg2_val = $START.borHol.intHex[$i894].Rgg2_val ($RES_SRT_3206) [----] end for; Use -d=bltdump for more verbose debug output. Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 299] [Calling sys.exit(0), Time elapsed: 7.012791145127267] Failed to read output from testmodel.py, exit status != 0: 1.399490024894476 1.407496821 1.125076362 Calling exit ...