Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_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.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 104.4 kB / 16.37 MB, free: 6.371 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.001071/0.001071, allocations: 182.9 kB / 17.3 MB, free: 5.914 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.153/1.153, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001925/0.001925, allocations: 300.4 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8068/0.8068, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/1.871e-05, allocations: 5.375 kB / 0.5966 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002006/0.002038, allocations: 1.424 MB / 0.598 GB, free: 13.05 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005053/0.007104, allocations: 4.207 MB / 0.6021 GB, free: 8.832 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.513e-05/0.007151, allocations: 1.156 kB / 0.6021 GB, free: 8.832 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 8.542e-05/0.007242, allocations: 15.86 kB / 0.6021 GB, free: 8.816 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001622/0.00741, allocations: 28.66 kB / 0.6022 GB, free: 8.789 MB / 414.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.002517/0.009942, allocations: 1.507 MB / 0.6036 GB, free: 7.289 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.01006, allocations: 103.7 kB / 0.6037 GB, free: 7.188 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.536e-05/0.01011, allocations: 4.531 kB / 0.6037 GB, free: 7.184 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.181e-05/0.01017, allocations: 52.97 kB / 0.6038 GB, free: 7.133 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.959e-05/0.01026, allocations: 51.81 kB / 0.6038 GB, free: 7.082 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.01028, allocations: 4 kB / 0.6038 GB, free: 7.078 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002055/0.01234, allocations: 2.155 MB / 0.6059 GB, free: 4.922 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.0001119/0.01247, allocations: 142.5 kB / 0.6061 GB, free: 4.781 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 4.86e-05/0.01252, allocations: 87.47 kB / 0.6062 GB, free: 4.695 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.688e-05/0.01255, allocations: 17.47 kB / 0.6062 GB, free: 4.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 6.903e-06/0.01257, allocations: 3.938 kB / 0.6062 GB, free: 4.676 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 (7) * Number of variables: 7 (7) Notification: Performance of Bindings: time 0.0004342/0.013, allocations: 476.5 kB / 0.6066 GB, free: 4.113 MB / 414.1 MB Notification: Performance of FunctionAlias: time 0.0001219/0.01313, allocations: 75.91 kB / 0.6067 GB, free: 4.047 MB / 414.1 MB Notification: Performance of Early Inline: time 0.0002881/0.01343, allocations: 286 kB / 0.607 GB, free: 3.742 MB / 414.1 MB Notification: Performance of simplify1: time 2.699e-05/0.01346, allocations: 24.45 kB / 0.607 GB, free: 3.719 MB / 414.1 MB Notification: Performance of Alias: time 0.000256/0.01373, allocations: 202.5 kB / 0.6072 GB, free: 3.469 MB / 414.1 MB Notification: Performance of simplify2: time 2.523e-05/0.01376, allocations: 24.69 kB / 0.6072 GB, free: 3.445 MB / 414.1 MB Notification: Performance of Events: time 9.794e-05/0.01386, allocations: 61.78 kB / 0.6073 GB, free: 3.391 MB / 414.1 MB Notification: Performance of Detect States: time 0.0001379/0.01401, allocations: 121.5 kB / 0.6074 GB, free: 3.262 MB / 414.1 MB Notification: Performance of Partitioning: time 7.648e-05/0.01409, allocations: 70.75 kB / 0.6075 GB, free: 3.18 MB / 414.1 MB Notification: Performance of Causalize: time 0.0002887/0.01439, allocations: 296.1 kB / 0.6077 GB, free: 2.875 MB / 414.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001838/0.01458, allocations: 242.6 kB / 0.608 GB, free: 2.613 MB / 414.1 MB Notification: Performance of Inline: time 0.0003417/0.01493, allocations: 390.2 kB / 0.6083 GB, free: 2.203 MB / 414.1 MB Notification: Performance of Partitioning: time 2.377e-05/0.01496, allocations: 24.12 kB / 0.6084 GB, free: 2.172 MB / 414.1 MB Notification: Performance of Cleanup: time 1.781e-05/0.01498, allocations: 15.97 kB / 0.6084 GB, free: 2.156 MB / 414.1 MB Error: Internal error NBSlice.fillDependencyArray failed because number of flattened indices 1 for dependency $FUN_5 could not be devided by the body size 76 without rest. Error: Internal error NBInitialization.main failed to apply modules!