Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001296/0.001296, 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.001345/0.001345, allocations: 195.4 kB / 16.25 MB, free: 6.617 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.329/1.329, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.656/2.656, allocations: 472.6 MB / 0.7448 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 67.3 kB / 0.9116 GB, free: 33.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3056, allocations: 159.9 MB / 1.068 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes): time 0.002482/0.3082, allocations: 1.387 MB / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00204/0.3102, allocations: 1.309 MB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.153e-05/0.3103, allocations: 3.938 kB / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.271e-05/0.3104, allocations: 3.984 kB / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002184/0.3106, allocations: 28.92 kB / 1.07 GB, free: 7.961 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.0009537/0.3116, allocations: 333.2 kB / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.067e-05/0.3117, allocations: 44.8 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.769e-05/0.3117, allocations: 0 / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.682e-05/0.3118, allocations: 19.97 kB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.3119, allocations: 93.86 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.3119, allocations: 4 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007434/0.3127, allocations: 0.5109 MB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000516/0.3132, allocations: 0.5631 MB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002124/0.3134, allocations: 305.2 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008861/0.3143, allocations: 0.9301 MB / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.3143, allocations: 0 / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3143, allocations: 0 / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.3144, allocations: 0 / 1.073 GB, free: 5.168 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.0012/0.3156, allocations: 1.256 MB / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.3156, allocations: 8.031 kB / 1.074 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.3157, allocations: 107.4 kB / 1.074 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004148/0.3162, allocations: 487.5 kB / 1.075 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.915e-06/0.3162, allocations: 4.312 kB / 1.075 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.3162, allocations: 4.375 kB / 1.075 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.3164, allocations: 165.9 kB / 1.075 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.3164, allocations: 0 / 1.075 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.3164, allocations: 0 / 1.075 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.3164, allocations: 0 / 1.075 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002163/0.3166, allocations: 263.9 kB / 1.075 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004857/0.3171, allocations: 0.556 MB / 1.076 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.3173, allocations: 154.5 kB / 1.076 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.3174, allocations: 136.8 kB / 1.076 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.156e-05/0.3175, allocations: 84.64 kB / 1.076 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.3175, allocations: 34.5 kB / 1.076 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.3175, allocations: 0 / 1.076 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0004762/0.318, allocations: 0.5195 MB / 1.077 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.318, allocations: 55.53 kB / 1.077 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/0.3193, allocations: 1.392 MB / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.3194, allocations: 25.7 kB / 1.078 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000331/0.3197, allocations: 453.5 kB / 1.079 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.145e-05/0.3197, allocations: 0 / 1.079 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.664e-05/0.3198, allocations: 117.6 kB / 1.079 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.32, allocations: 341.9 kB / 1.079 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004368/0.3204, allocations: 0.5906 MB / 1.08 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004689/0.3209, allocations: 0.5984 MB / 1.08 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008575/0.3218, allocations: 1.162 MB / 1.081 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3218, allocations: 0 / 1.081 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001262/0.323, allocations: 1.392 MB / 1.083 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.3231, allocations: 7.938 kB / 1.083 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.3231, allocations: 0 / 1.083 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.3231, allocations: 3.938 kB / 1.083 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.717e-05/0.3231, allocations: 4 kB / 1.083 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3231, allocations: 0 / 1.083 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.3233, allocations: 70.78 kB / 1.083 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.3233, allocations: 4.062 kB / 1.083 GB, free: 10.82 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.0004058/0.3237, allocations: 383.5 kB / 1.083 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.758e-05/0.3238, allocations: 106.4 kB / 1.083 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003732/0.3242, allocations: 408.7 kB / 1.084 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3242, allocations: 3.938 kB / 1.084 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.3242, allocations: 0 / 1.084 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.3242, allocations: 4.031 kB / 1.084 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004591/0.3247, allocations: 0.5448 MB / 1.084 GB, free: 9.312 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3247, allocations: 4 kB / 1.084 GB, free: 9.309 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.35e-06/0.3247, allocations: 0 / 1.084 GB, free: 9.309 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3247, allocations: 3.938 kB / 1.084 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.383e-06/0.3247, allocations: 4 kB / 1.084 GB, free: 9.301 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3247, allocations: 3.938 kB / 1.084 GB, free: 9.297 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3247, allocations: 0 / 1.084 GB, free: 9.297 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003683/0.3251, allocations: 442.2 kB / 1.085 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/0.3253, allocations: 179.5 kB / 1.085 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.137e-05/0.3253, allocations: 0 / 1.085 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.496e-05/0.3254, allocations: 0 / 1.085 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.346e-05/0.3254, allocations: 0 / 1.085 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.3255, allocations: 0 / 1.085 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0009974/0.3265, allocations: 0.9035 MB / 1.086 GB, free: 7.746 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3265, allocations: 4 kB / 1.086 GB, free: 7.742 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006058/0.3271, allocations: 180 kB / 1.086 GB, free: 7.566 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.0006767/0.3278, allocations: 281.7 kB / 1.086 GB, free: 7.301 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008965/0.3287, allocations: 1.049 MB / 1.087 GB, free: 6.246 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3287, allocations: 64 / 1.087 GB, free: 6.246 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.3288, allocations: 143.9 kB / 1.087 GB, free: 6.105 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.3292, allocations: 49.17 kB / 1.087 GB, free: 6.059 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.3312, allocations: 1.885 MB / 1.089 GB, free: 4.145 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005555/0.3317, allocations: 1.012 MB / 1.09 GB, free: 3.105 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.548e-05/0.3318, allocations: 4 kB / 1.09 GB, free: 3.102 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.055e-05/0.3318, allocations: 11.42 kB / 1.09 GB, free: 3.09 MB / 0.8419 GB Notification: Performance of SimCode: time 3.31e-07/0.3318, allocations: 0 / 1.09 GB, free: 3.09 MB / 0.8419 GB Notification: Performance of Templates: time 0.01021/0.342, allocations: 4.478 MB / 1.095 GB, free: 14.66 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.sim & ./Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe 2>&1)