Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.00111/0.00111, allocations: 110.8 kB / 16.42 MB, free: 6.461 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.001055/0.001055, allocations: 187.2 kB / 17.35 MB, free: 5.734 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.156/1.156, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001866/0.001866, allocations: 288.3 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8171/0.8171, allocations: 169.3 MB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.825e-05/1.826e-05, allocations: 2.281 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes): time 0.001823/0.001852, allocations: 1.332 MB / 0.6834 GB, free: 5.645 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001821/0.003684, allocations: 1.302 MB / 0.6846 GB, free: 4.332 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.49e-05/0.00373, allocations: 4 kB / 0.6847 GB, free: 4.328 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.488e-05/0.00381, allocations: 3.938 kB / 0.6847 GB, free: 4.324 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001826/0.003998, allocations: 24.92 kB / 0.6847 GB, free: 4.301 MB / 494.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/BuildingSystems 2.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.0009691/0.004976, allocations: 378 kB / 0.685 GB, free: 3.934 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.551e-05/0.00507, allocations: 39.84 kB / 0.6851 GB, free: 3.895 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.228e-05/0.005108, allocations: 0 / 0.6851 GB, free: 3.895 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.198e-05/0.005146, allocations: 19.91 kB / 0.6851 GB, free: 3.875 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.985e-05/0.005194, allocations: 15.94 kB / 0.6851 GB, free: 3.859 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.005213, allocations: 0 / 0.6851 GB, free: 3.859 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006634/0.005882, allocations: 0.5187 MB / 0.6856 GB, free: 3.34 MB / 494.1 MB Notification: Performance of combineBinaries: time 7.019e-05/0.005961, allocations: 63.39 kB / 0.6857 GB, free: 3.277 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 2.205e-05/0.005989, allocations: 31.5 kB / 0.6857 GB, free: 3.246 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.398e-05/0.006008, allocations: 4 kB / 0.6857 GB, free: 3.242 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.746e-06/0.006021, allocations: 0 / 0.6857 GB, free: 3.242 MB / 494.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.0003001/0.006325, allocations: 268.5 kB / 0.686 GB, free: 2.879 MB / 494.1 MB Notification: Performance of FunctionAlias: time 4.279e-05/0.006373, allocations: 4 kB / 0.686 GB, free: 2.875 MB / 494.1 MB Notification: Performance of Early Inline: time 6.8e-05/0.006447, allocations: 64.3 kB / 0.686 GB, free: 2.785 MB / 494.1 MB Notification: Performance of simplify1: time 6.412e-06/0.006459, allocations: 3.984 kB / 0.686 GB, free: 2.781 MB / 494.1 MB Notification: Performance of Alias: time 0.0001995/0.006662, allocations: 96.59 kB / 0.6861 GB, free: 2.641 MB / 494.1 MB Notification: Performance of simplify2: time 4.288e-06/0.006674, allocations: 4 kB / 0.6861 GB, free: 2.637 MB / 494.1 MB Notification: Performance of Events: time 1.203e-05/0.006691, allocations: 8 kB / 0.6861 GB, free: 2.629 MB / 494.1 MB Notification: Performance of Detect States: time 0.0001269/0.006821, allocations: 28.42 kB / 0.6862 GB, free: 2.586 MB / 494.1 MB Notification: Performance of Partitioning: time 3.336e-05/0.006861, allocations: 16.12 kB / 0.6862 GB, free: 2.562 MB / 494.1 MB Notification: Performance of Causalize: time 4.487e-05/0.006911, allocations: 24.11 kB / 0.6862 GB, free: 2.531 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 4.334e-05/0.00696, allocations: 56.3 kB / 0.6863 GB, free: 2.449 MB / 494.1 MB Notification: Performance of Inline: time 0.0001677/0.007133, allocations: 114.5 kB / 0.6864 GB, free: 2.305 MB / 494.1 MB Notification: Performance of Partitioning: time 1.121e-05/0.007155, allocations: 16.06 kB / 0.6864 GB, free: 2.281 MB / 494.1 MB Notification: Performance of Cleanup: time 7.484e-06/0.007167, allocations: 3.938 kB / 0.6864 GB, free: 2.277 MB / 494.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!