Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 111.8 kB / 17.1 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001728/0.001729, allocations: 194.2 kB / 18.03 MB, free: 5.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.642/1.642, allocations: 222.9 MB / 241.7 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8539/0.8539, allocations: 115.3 MB / 407.2 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.462e-05/2.464e-05, allocations: 2.281 kB / 0.5583 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes): time 0.002343/0.002376, allocations: 1.322 MB / 0.5596 GB, free: 31.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00211/0.004504, allocations: 1.303 MB / 0.5609 GB, free: 30.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.133e-05/0.004559, allocations: 1.344 kB / 0.5609 GB, free: 30.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001091/0.004675, allocations: 7.5 kB / 0.5609 GB, free: 30.46 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002536/0.004936, allocations: 22.5 kB / 0.5609 GB, free: 30.45 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.006153, allocations: 374.2 kB / 0.5613 GB, free: 30.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.817e-05/0.006261, allocations: 34.59 kB / 0.5613 GB, free: 30.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.275e-05/0.006319, allocations: 12.05 kB / 0.5613 GB, free: 30.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.593e-05/0.00636, allocations: 18.02 kB / 0.5614 GB, free: 30.28 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.986e-05/0.006416, allocations: 16.64 kB / 0.5614 GB, free: 30.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.00644, allocations: 1.562 kB / 0.5614 GB, free: 30.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007105/0.007156, allocations: 0.5107 MB / 0.5619 GB, free: 30.11 MB / 446.1 MB Notification: Performance of combineBinaries: time 7.734e-05/0.007243, allocations: 64.23 kB / 0.5619 GB, free: 30.07 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 2.781e-05/0.007279, allocations: 33 kB / 0.562 GB, free: 30.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.676e-05/0.007301, allocations: 1.781 kB / 0.562 GB, free: 30.05 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.234e-05/0.007319, allocations: 1.312 kB / 0.562 GB, free: 30.05 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 (1) * Number of variables: 1 (1) Notification: Performance of Bindings: time 0.0003381/0.007663, allocations: 257.8 kB / 0.5622 GB, free: 29.77 MB / 446.1 MB Notification: Performance of FunctionAlias: time 5.538e-05/0.007726, allocations: 14.23 kB / 0.5622 GB, free: 29.76 MB / 446.1 MB Notification: Performance of Early Inline: time 6.49e-05/0.007797, allocations: 64.34 kB / 0.5623 GB, free: 29.68 MB / 446.1 MB Notification: Performance of simplify1: time 8.446e-06/0.007813, allocations: 8.062 kB / 0.5623 GB, free: 29.68 MB / 446.1 MB Notification: Performance of Alias: time 0.0002231/0.00804, allocations: 95.55 kB / 0.5624 GB, free: 29.57 MB / 446.1 MB Notification: Performance of simplify2: time 3.266e-06/0.008052, allocations: 1.094 kB / 0.5624 GB, free: 29.57 MB / 446.1 MB Notification: Performance of Events: time 1.406e-05/0.008072, allocations: 7.75 kB / 0.5624 GB, free: 29.56 MB / 446.1 MB Notification: Performance of Detect States: time 5.463e-05/0.008131, allocations: 32.02 kB / 0.5624 GB, free: 29.52 MB / 446.1 MB Notification: Performance of Partitioning: time 3.469e-05/0.008171, allocations: 13.73 kB / 0.5624 GB, free: 29.51 MB / 446.1 MB Notification: Performance of Causalize: time 5.063e-05/0.008228, allocations: 26.34 kB / 0.5625 GB, free: 29.49 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 3.802e-05/0.008273, allocations: 58.44 kB / 0.5625 GB, free: 29.42 MB / 446.1 MB Notification: Performance of Inline: time 0.0001735/0.008453, allocations: 114.9 kB / 0.5626 GB, free: 29.32 MB / 446.1 MB Notification: Performance of Partitioning: time 1.154e-05/0.008474, allocations: 14.95 kB / 0.5626 GB, free: 29.3 MB / 446.1 MB Notification: Performance of Cleanup: time 1.052e-05/0.00849, allocations: 5.125 kB / 0.5626 GB, free: 29.3 MB / 446.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [FOR-] (200) ($RES_BND_3) [----] for $i1 in 1:100 loop [----] [ARRY] (2) cooBor[$i1] = {7.5 * mod((-1) + $i1, 10), 7.5 * floor(0.1 * ((-1) + $i1))} ($RES_BND_4) [----] end for; slice: {199}; Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [PRMT] (200) parameter Real[100, 2] cooBor = {{mod(i - 1, 10) * 7.5, floor((i - 1) / 10.0) * 7.5} for i in 1:100} (fixed = {true for $i1 in 1:100, $i2 in 1:2}) Following equations were created by fixing variables: [ARRY] (100) labels = $START.labels ($RES_SRT_5) Use -d=bltdump for more verbose debug output. Error: Internal error NBInitialization.main failed to apply modules!