Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001081/0.001081, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001203/0.001203, allocations: 194 kB / 16.25 MB, free: 6.621 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.351/1.351, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.713/2.713, allocations: 472.6 MB / 0.7448 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 67.56 kB / 0.9116 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3005, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes): time 0.002451/0.3029, allocations: 1.39 MB / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001984/0.3049, allocations: 1.302 MB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.968e-05/0.305, allocations: 0 / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 7.99e-05/0.3051, allocations: 11.92 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001924/0.3053, allocations: 28.92 kB / 1.07 GB, free: 8.008 MB / 0.8262 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.0009265/0.3062, allocations: 336.1 kB / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.742e-05/0.3063, allocations: 40.86 kB / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.876e-05/0.3064, allocations: 3.984 kB / 1.071 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.442e-05/0.3064, allocations: 11.98 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.3065, allocations: 105.8 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.3066, allocations: 0 / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007385/0.3073, allocations: 0.5148 MB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0005029/0.3078, allocations: 0.5592 MB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002119/0.308, allocations: 305.2 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008896/0.3089, allocations: 0.9301 MB / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.3089, allocations: 4 kB / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.312e-06/0.309, allocations: 0 / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.309, allocations: 4 kB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.001157/0.3101, allocations: 1.245 MB / 1.074 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.3102, allocations: 8.031 kB / 1.074 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.3103, allocations: 107.4 kB / 1.074 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004056/0.3107, allocations: 487.5 kB / 1.075 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-06/0.3107, allocations: 8.297 kB / 1.075 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.3108, allocations: 8.375 kB / 1.075 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.311, allocations: 161.9 kB / 1.075 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.311, allocations: 0 / 1.075 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.311, allocations: 8 kB / 1.075 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.311, allocations: 0 / 1.075 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002154/0.3112, allocations: 263.8 kB / 1.075 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004858/0.3117, allocations: 0.5521 MB / 1.076 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.3119, allocations: 150.5 kB / 1.076 GB, free: 2.062 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.312, allocations: 136.8 kB / 1.076 GB, free: 1.926 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.463e-05/0.3121, allocations: 84.64 kB / 1.076 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.3121, allocations: 38.5 kB / 1.076 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.3121, allocations: 0 / 1.076 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0004947/0.3126, allocations: 0.5233 MB / 1.077 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.3126, allocations: 55.41 kB / 1.077 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/0.3139, allocations: 1.384 MB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.314, allocations: 25.7 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003192/0.3143, allocations: 457.4 kB / 1.079 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.198e-05/0.3143, allocations: 128 / 1.079 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.3144, allocations: 121.6 kB / 1.079 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.3145, allocations: 341.9 kB / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004472/0.315, allocations: 0.5867 MB / 1.08 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004389/0.3154, allocations: 0.5945 MB / 1.08 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008882/0.3163, allocations: 1.162 MB / 1.081 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3163, allocations: 3.938 kB / 1.081 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001325/0.3177, allocations: 1.392 MB / 1.083 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.3177, allocations: 7.938 kB / 1.083 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.01e-05/0.3177, allocations: 8.062 kB / 1.083 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.3177, allocations: 3.938 kB / 1.083 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.806e-05/0.3178, allocations: 0 / 1.083 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.3178, allocations: 0 / 1.083 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/0.3179, allocations: 66.84 kB / 1.083 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.318, allocations: 4 kB / 1.083 GB, free: 10.87 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 105 (cluSiz[4],cluSiz[3],cluSiz[2],cluSiz[1],labels[100],labels[99],labels[98],labels[97],labels[96],labels[95],labels[94],labels[93],labels[92],labels[91],labels[90],labels[89],labels[88],labels[87],labels[86],labels[85],labels[84],labels[83],labels[82],labels[81],labels[80],labels[79],labels[78],labels[77],labels[76],labels[75],labels[74],labels[73],labels[72],labels[71],labels[70],labels[69],labels[68],labels[67],labels[66],labels[65],labels[64],labels[63],labels[62],labels[61],labels[60],labels[59],labels[58],labels[57],labels[56],labels[55],labels[54],labels[53],labels[52],labels[51],labels[50],labels[49],labels[48],labels[47],labels[46],labels[45],labels[44],labels[43],labels[42],labels[41],labels[40],labels[39],labels[38],labels[37],labels[36],labels[35],labels[34],labels[33],labels[32],labels[31],labels[30],labels[29],labels[28],labels[27],labels[26],labels[25],labels[24],labels[23],labels[22],labels[21],labels[20],labels[19],labels[18],labels[17],labels[16],labels[15],labels[14],labels[13],labels[12],labels[11],labels[10],labels[9],labels[8],labels[7],labels[6],labels[5],labels[4],labels[3],labels[2],labels[1],cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004243/0.3184, allocations: 378.8 kB / 1.083 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.222e-05/0.3185, allocations: 110.4 kB / 1.083 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003907/0.3189, allocations: 412.6 kB / 1.084 GB, free: 9.957 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3189, allocations: 3.938 kB / 1.084 GB, free: 9.953 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3189, allocations: 0 / 1.084 GB, free: 9.953 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3189, allocations: 0 / 1.084 GB, free: 9.953 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004395/0.3194, allocations: 0.5448 MB / 1.084 GB, free: 9.355 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3194, allocations: 0 / 1.084 GB, free: 9.355 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.54e-06/0.3194, allocations: 0 / 1.084 GB, free: 9.355 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3194, allocations: 11.88 kB / 1.084 GB, free: 9.344 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.521e-06/0.3194, allocations: 0 / 1.084 GB, free: 9.344 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3194, allocations: 4.031 kB / 1.084 GB, free: 9.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3194, allocations: 0 / 1.084 GB, free: 9.34 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000318/0.3197, allocations: 430.2 kB / 1.085 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.3199, allocations: 179.5 kB / 1.085 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.155e-05/0.3199, allocations: 7.938 kB / 1.085 GB, free: 8.695 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.314e-05/0.32, allocations: 0 / 1.085 GB, free: 8.695 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.32e-05/0.3201, allocations: 0 / 1.085 GB, free: 8.695 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.3201, allocations: 4.031 kB / 1.085 GB, free: 8.691 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0009311/0.321, allocations: 0.9075 MB / 1.086 GB, free: 7.785 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.11e-07/0.321, allocations: 0 / 1.086 GB, free: 7.785 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005648/0.3216, allocations: 176 kB / 1.086 GB, free: 7.613 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006623/0.3223, allocations: 297.1 kB / 1.086 GB, free: 7.332 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008346/0.3231, allocations: 1.049 MB / 1.087 GB, free: 6.277 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3231, allocations: 0 / 1.087 GB, free: 6.277 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.301e-05/0.3232, allocations: 135.9 kB / 1.087 GB, free: 6.145 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.3236, allocations: 41.19 kB / 1.087 GB, free: 6.105 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/0.3256, allocations: 1.889 MB / 1.089 GB, free: 4.188 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000599/0.3262, allocations: 1.012 MB / 1.09 GB, free: 3.148 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.9e-05/0.3262, allocations: 7.984 kB / 1.09 GB, free: 3.141 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.211e-05/0.3263, allocations: 7.438 kB / 1.09 GB, free: 3.133 MB / 0.8419 GB Notification: Performance of SimCode: time 5.01e-07/0.3263, allocations: 0 / 1.09 GB, free: 3.133 MB / 0.8419 GB Notification: Performance of Templates: time 0.01045/0.3367, allocations: 4.472 MB / 1.095 GB, free: 14.7 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.makefile (rm -f Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.sim & ./Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe 2>&1)