Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmp",fileNamePrefix="Buildings_latest_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_latest_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.00112/0.00112, allocations: 101.4 kB / 16.42 MB, free: 6.484 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.001049/0.001049, allocations: 192.3 kB / 17.36 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.16/1.16, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.229/2.229, allocations: 472.6 MB / 0.7459 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.95e-05/1.952e-05, allocations: 6.219 kB / 1.07 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes): time 0.001884/0.001911, allocations: 1.34 MB / 1.071 GB, free: 8.254 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001811/0.003733, allocations: 1.301 MB / 1.073 GB, free: 6.945 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.854e-05/0.003781, allocations: 0 / 1.073 GB, free: 6.945 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 7.048e-05/0.003859, allocations: 3.938 kB / 1.073 GB, free: 6.941 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001773/0.004044, allocations: 40.84 kB / 1.073 GB, free: 6.902 MB / 0.8419 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 12.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.0009235/0.004983, allocations: 366.9 kB / 1.073 GB, free: 6.543 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.354e-05/0.005077, allocations: 39.83 kB / 1.073 GB, free: 6.504 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.219e-05/0.005115, allocations: 4 kB / 1.073 GB, free: 6.5 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.022e-05/0.005149, allocations: 11.98 kB / 1.073 GB, free: 6.488 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.507e-05/0.005199, allocations: 15.92 kB / 1.073 GB, free: 6.473 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.005221, allocations: 3.938 kB / 1.073 GB, free: 6.469 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006632/0.005888, allocations: 0.5148 MB / 1.074 GB, free: 5.953 MB / 0.8419 GB Notification: Performance of combineBinaries: time 6.244e-05/0.005959, allocations: 59.41 kB / 1.074 GB, free: 5.895 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 2.272e-05/0.005989, allocations: 39.55 kB / 1.074 GB, free: 5.855 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.3e-05/0.006007, allocations: 4 kB / 1.074 GB, free: 5.852 MB / 0.8419 GB Notification: Performance of FrontEnd: time 8.957e-06/0.00602, allocations: 0 / 1.074 GB, free: 5.852 MB / 0.8419 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.000303/0.006327, allocations: 254.5 kB / 1.074 GB, free: 5.504 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 4.669e-05/0.00638, allocations: 23.81 kB / 1.074 GB, free: 5.48 MB / 0.8419 GB Notification: Performance of Early Inline: time 6.084e-05/0.006446, allocations: 52.42 kB / 1.074 GB, free: 5.402 MB / 0.8419 GB Notification: Performance of simplify1: time 5.981e-06/0.006457, allocations: 7.922 kB / 1.074 GB, free: 5.395 MB / 0.8419 GB Notification: Performance of Alias: time 0.0001862/0.006648, allocations: 92.91 kB / 1.074 GB, free: 5.258 MB / 0.8419 GB Notification: Performance of simplify2: time 4.098e-06/0.00666, allocations: 4 kB / 1.074 GB, free: 5.254 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0001236/0.006788, allocations: 32.17 kB / 1.074 GB, free: 5.207 MB / 0.8419 GB Notification: Performance of Events: time 1.241e-05/0.006807, allocations: 7.938 kB / 1.074 GB, free: 5.199 MB / 0.8419 GB Notification: Performance of Partitioning: time 2.899e-05/0.00684, allocations: 16.11 kB / 1.074 GB, free: 5.176 MB / 0.8419 GB Notification: Performance of Causalize: time 4.416e-05/0.006889, allocations: 28.14 kB / 1.074 GB, free: 5.141 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 4.124e-05/0.006939, allocations: 52.45 kB / 1.074 GB, free: 5.062 MB / 0.8419 GB Notification: Performance of Inline: time 0.0001596/0.007103, allocations: 113 kB / 1.074 GB, free: 4.918 MB / 0.8419 GB Notification: Performance of Partitioning: time 1.089e-05/0.007123, allocations: 12.06 kB / 1.074 GB, free: 4.898 MB / 0.8419 GB Notification: Performance of Cleanup: time 6.071e-06/0.007134, allocations: 0 / 1.074 GB, free: 4.898 MB / 0.8419 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!