Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001412/0.001412, allocations: 104.5 kB / 15.98 MB, free: 6.344 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.001575/0.001575, allocations: 197.4 kB / 16.91 MB, free: 6.188 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.328/1.328, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7623/0.7623, allocations: 122.9 MB / 413.6 MB, free: 16 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002267/0.002267, allocations: 59.91 kB / 0.4907 GB, free: 7.711 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.367, allocations: 77.93 MB / 0.5668 GB, free: 32.05 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes): time 0.002324/0.3694, allocations: 1.382 MB / 0.5681 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001782/0.3712, allocations: 1.289 MB / 0.5694 GB, free: 30.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.369e-05/0.3713, allocations: 5.438 kB / 0.5694 GB, free: 30.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.505e-05/0.3714, allocations: 0.7969 kB / 0.5694 GB, free: 30.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001893/0.3716, allocations: 28.31 kB / 0.5694 GB, free: 30.22 MB / 446.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/IBPSA 4.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.0009477/0.3725, allocations: 335 kB / 0.5697 GB, free: 30.1 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.923e-05/0.3726, allocations: 52.34 kB / 0.5698 GB, free: 30.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.041e-05/0.3726, allocations: 2.641 kB / 0.5698 GB, free: 30.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.15e-05/0.3727, allocations: 10.67 kB / 0.5698 GB, free: 30.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.3728, allocations: 95.97 kB / 0.5699 GB, free: 30.06 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.3729, allocations: 2 kB / 0.5699 GB, free: 30.06 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007927/0.3737, allocations: 0.5054 MB / 0.5704 GB, free: 29.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005424/0.3742, allocations: 0.5654 MB / 0.5709 GB, free: 29.78 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.3744, allocations: 299.4 kB / 0.5712 GB, free: 29.58 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009551/0.3754, allocations: 0.9335 MB / 0.5721 GB, free: 29.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3754, allocations: 0 / 0.5721 GB, free: 29.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3754, allocations: 2 kB / 0.5721 GB, free: 29.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.483e-05/0.3754, allocations: 1.062 kB / 0.5721 GB, free: 29.23 MB / 446.1 MB 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.001025/0.3764, allocations: 1.256 MB / 0.5734 GB, free: 28.27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.3765, allocations: 11.66 kB / 0.5734 GB, free: 28.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.3766, allocations: 108.8 kB / 0.5735 GB, free: 28.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.3769, allocations: 478.4 kB / 0.5739 GB, free: 27.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.78e-06/0.3769, allocations: 2.281 kB / 0.5739 GB, free: 27.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.377, allocations: 5.656 kB / 0.5739 GB, free: 27.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.3772, allocations: 169.8 kB / 0.5741 GB, free: 27.76 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.3772, allocations: 0 / 0.5741 GB, free: 27.76 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.3772, allocations: 0.5 kB / 0.5741 GB, free: 27.76 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.3772, allocations: 2 kB / 0.5741 GB, free: 27.76 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002145/0.3774, allocations: 265.2 kB / 0.5744 GB, free: 27.76 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004715/0.3779, allocations: 0.5504 MB / 0.5749 GB, free: 27.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.378, allocations: 152.5 kB / 0.575 GB, free: 27.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.3782, allocations: 138.2 kB / 0.5752 GB, free: 27.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.184e-05/0.3783, allocations: 86.48 kB / 0.5753 GB, free: 27.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.41e-05/0.3783, allocations: 41.73 kB / 0.5753 GB, free: 27.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.3783, allocations: 3.938 kB / 0.5753 GB, free: 27.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.000539/0.3788, allocations: 0.5233 MB / 0.5758 GB, free: 27.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.3789, allocations: 53.45 kB / 0.5759 GB, free: 27.17 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00145/0.3803, allocations: 1.383 MB / 0.5772 GB, free: 26.74 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.035e-06/0.3803, allocations: 26.73 kB / 0.5772 GB, free: 26.71 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002924/0.3806, allocations: 453.8 kB / 0.5777 GB, free: 26.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.475e-05/0.3807, allocations: 1.281 kB / 0.5777 GB, free: 26.36 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.3808, allocations: 121 kB / 0.5778 GB, free: 26.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.831e-05/0.3809, allocations: 343.3 kB / 0.5781 GB, free: 26 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004896/0.3814, allocations: 0.5871 MB / 0.5787 GB, free: 25.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004511/0.3818, allocations: 0.5988 MB / 0.5793 GB, free: 25.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007697/0.3826, allocations: 1.162 MB / 0.5804 GB, free: 25.14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3826, allocations: 0 / 0.5804 GB, free: 25.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001392/0.384, allocations: 1.398 MB / 0.5818 GB, free: 24.78 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.384, allocations: 10.7 kB / 0.5818 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/0.3841, allocations: 0.6562 kB / 0.5818 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.3841, allocations: 1.344 kB / 0.5818 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.775e-05/0.3841, allocations: 1.141 kB / 0.5818 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3841, allocations: 0.9688 kB / 0.5818 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/0.3844, allocations: 68.47 kB / 0.5819 GB, free: 24.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.188e-06/0.3844, allocations: 2.266 kB / 0.5819 GB, free: 24.72 MB / 446.1 MB 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.0004642/0.3848, allocations: 388.2 kB / 0.5822 GB, free: 24.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.22e-05/0.3849, allocations: 108.5 kB / 0.5823 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003907/0.3853, allocations: 409.7 kB / 0.5827 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3853, allocations: 1.922 kB / 0.5827 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.3853, allocations: 0 / 0.5827 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/0.3853, allocations: 0 / 0.5827 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005467/0.3859, allocations: 0.5535 MB / 0.5833 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3859, allocations: 0.75 kB / 0.5833 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.261e-06/0.3859, allocations: 0 / 0.5833 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.3859, allocations: 6.484 kB / 0.5833 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.3859, allocations: 0 / 0.5833 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3859, allocations: 1.328 kB / 0.5833 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.386, allocations: 1.531 kB / 0.5833 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003273/0.3863, allocations: 429.1 kB / 0.5837 GB, free: 24 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.3864, allocations: 170.6 kB / 0.5838 GB, free: 23.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.734e-05/0.3865, allocations: 2.219 kB / 0.5838 GB, free: 23.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.3866, allocations: 1.156 kB / 0.5838 GB, free: 23.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.63e-05/0.3866, allocations: 4.562 kB / 0.5839 GB, free: 23.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.3866, allocations: 1.312 kB / 0.5839 GB, free: 23.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009483/0.3876, allocations: 0.9094 MB / 0.5847 GB, free: 23.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3876, allocations: 0 / 0.5847 GB, free: 23.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007309/0.3883, allocations: 186.6 kB / 0.5849 GB, free: 23.42 MB / 446.1 MB 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.0006697/0.389, allocations: 275.5 kB / 0.5852 GB, free: 23.28 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007111/0.3897, allocations: 1.053 MB / 0.5862 GB, free: 22.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3897, allocations: 0.5 kB / 0.5862 GB, free: 22.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.121e-05/0.3898, allocations: 136.5 kB / 0.5863 GB, free: 22.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003846/0.3902, allocations: 40.92 kB / 0.5864 GB, free: 22.42 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.3918, allocations: 1.89 MB / 0.5882 GB, free: 20.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.3921, allocations: 1.016 MB / 0.5892 GB, free: 19.49 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.418e-05/0.3922, allocations: 0 / 0.5892 GB, free: 19.49 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.521e-05/0.3922, allocations: 11.38 kB / 0.5892 GB, free: 19.48 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3922, allocations: 0 / 0.5892 GB, free: 19.48 MB / 446.1 MB Notification: Performance of Templates: time 0.008801/0.401, allocations: 4.486 MB / 0.5936 GB, free: 15.04 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe 2>&1)