Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmp",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmp",fileNamePrefix="Buildings_10_Buildings.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.001094/0.001094, allocations: 110.5 kB / 16.42 MB, free: 6.473 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.001063/0.001063, allocations: 188.9 kB / 17.35 MB, free: 5.703 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.147/1.147, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.117/2.117, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/1.835e-05, allocations: 2.281 kB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes): time 0.001844/0.001884, allocations: 1.339 MB / 1.02 GB, free: 8.012 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001837/0.003731, allocations: 1.307 MB / 1.022 GB, free: 6.699 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.7e-05/0.003778, allocations: 4 kB / 1.022 GB, free: 6.695 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 7.478e-05/0.003861, allocations: 11.92 kB / 1.022 GB, free: 6.684 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001945/0.004063, allocations: 28.84 kB / 1.022 GB, free: 6.652 MB / 0.795 GB [/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/Buildings 10.1.1-maint.10.0.x/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.0009239/0.005007, allocations: 371.9 kB / 1.022 GB, free: 6.289 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.158e-05/0.005097, allocations: 39.78 kB / 1.022 GB, free: 6.25 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.269e-05/0.005139, allocations: 7.984 kB / 1.022 GB, free: 6.242 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.749e-05/0.005172, allocations: 8 kB / 1.022 GB, free: 6.234 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.198e-05/0.00522, allocations: 23.91 kB / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.005242, allocations: 0 / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006483/0.0059, allocations: 0.5109 MB / 1.023 GB, free: 5.699 MB / 0.795 GB Notification: Performance of combineBinaries: time 6.126e-05/0.00597, allocations: 59.41 kB / 1.023 GB, free: 5.641 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 2.514e-05/0.006001, allocations: 39.53 kB / 1.023 GB, free: 5.602 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.364e-05/0.00602, allocations: 4 kB / 1.023 GB, free: 5.598 MB / 0.795 GB Notification: Performance of FrontEnd: time 9.437e-06/0.006033, allocations: 0 / 1.023 GB, free: 5.598 MB / 0.795 GB 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.0003082/0.006347, allocations: 256.6 kB / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of FunctionAlias: time 4.223e-05/0.006395, allocations: 15.89 kB / 1.023 GB, free: 5.23 MB / 0.795 GB Notification: Performance of Early Inline: time 5.69e-05/0.006459, allocations: 60.34 kB / 1.023 GB, free: 5.145 MB / 0.795 GB Notification: Performance of simplify1: time 4.799e-06/0.006469, allocations: 0 / 1.023 GB, free: 5.145 MB / 0.795 GB Notification: Performance of Alias: time 0.0001876/0.006661, allocations: 88.72 kB / 1.023 GB, free: 5.012 MB / 0.795 GB Notification: Performance of simplify2: time 2.915e-06/0.006672, allocations: 0 / 1.023 GB, free: 5.012 MB / 0.795 GB Notification: Performance of Detect States: time 0.0001539/0.00683, allocations: 33.28 kB / 1.023 GB, free: 4.969 MB / 0.795 GB Notification: Performance of Events: time 1.809e-05/0.006854, allocations: 19.91 kB / 1.023 GB, free: 4.949 MB / 0.795 GB Notification: Performance of Partitioning: time 2.772e-05/0.006886, allocations: 12.11 kB / 1.023 GB, free: 4.93 MB / 0.795 GB Notification: Performance of Causalize: time 4.532e-05/0.006937, allocations: 32.06 kB / 1.023 GB, free: 4.891 MB / 0.795 GB Notification: Performance of After Index Reduction Inline: time 4.301e-05/0.006986, allocations: 48.41 kB / 1.023 GB, free: 4.816 MB / 0.795 GB Notification: Performance of Inline: time 0.0001611/0.007152, allocations: 110.4 kB / 1.023 GB, free: 4.676 MB / 0.795 GB Notification: Performance of Partitioning: time 1.216e-05/0.007174, allocations: 16.11 kB / 1.024 GB, free: 4.652 MB / 0.795 GB Notification: Performance of Cleanup: time 6.572e-06/0.007185, allocations: 3.938 kB / 1.024 GB, free: 4.648 MB / 0.795 GB 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!