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.001072/0.001072, allocations: 112.8 kB / 17.03 MB, free: 5.707 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.001132/0.001133, allocations: 195 kB / 17.97 MB, free: 5.109 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.233/1.233, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6715/0.6715, allocations: 115.1 MB / 406.9 MB, free: 6.387 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 67.89 kB / 494.9 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.323, allocations: 76.15 MB / 0.5576 GB, free: 36.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes): time 0.002574/0.3256, allocations: 1.304 MB / 0.5589 GB, free: 35.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002216/0.3279, allocations: 1.296 MB / 0.5602 GB, free: 34.87 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.373e-05/0.3279, allocations: 0 / 0.5602 GB, free: 34.87 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.3281, allocations: 7.375 kB / 0.5602 GB, free: 34.87 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000259/0.3283, allocations: 29.19 kB / 0.5602 GB, free: 34.86 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.001238/0.3296, allocations: 381.8 kB / 0.5606 GB, free: 34.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.744e-05/0.3297, allocations: 35.47 kB / 0.5606 GB, free: 34.69 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.24e-05/0.3297, allocations: 4.344 kB / 0.5606 GB, free: 34.69 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.866e-05/0.3298, allocations: 10.48 kB / 0.5606 GB, free: 34.69 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.064e-05/0.3299, allocations: 32.78 kB / 0.5606 GB, free: 34.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.3299, allocations: 0.9688 kB / 0.5606 GB, free: 34.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/0.3309, allocations: 0.5538 MB / 0.5612 GB, free: 34.51 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009222/0.3319, allocations: 0.5629 MB / 0.5617 GB, free: 34.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002928/0.3322, allocations: 299.3 kB / 0.562 GB, free: 34.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001738/0.3339, allocations: 0.9454 MB / 0.5629 GB, free: 33.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3339, allocations: 4.781 kB / 0.5629 GB, free: 33.83 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.334, allocations: 0 / 0.5629 GB, free: 33.83 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.334, allocations: 1.469 kB / 0.5629 GB, free: 33.83 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.001522/0.3355, allocations: 1.257 MB / 0.5642 GB, free: 32.87 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.3356, allocations: 13.84 kB / 0.5642 GB, free: 32.87 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002404/0.3358, allocations: 106.9 kB / 0.5643 GB, free: 32.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005191/0.3363, allocations: 481.9 kB / 0.5647 GB, free: 32.4 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.3364, allocations: 1.469 kB / 0.5647 GB, free: 32.4 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.3364, allocations: 4.062 kB / 0.5647 GB, free: 32.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002793/0.3367, allocations: 168.2 kB / 0.5649 GB, free: 32.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.3367, allocations: 1.125 kB / 0.5649 GB, free: 32.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.3367, allocations: 1.672 kB / 0.5649 GB, free: 32.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.3367, allocations: 0 / 0.5649 GB, free: 32.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003116/0.337, allocations: 265.8 kB / 0.5652 GB, free: 32.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006892/0.3377, allocations: 0.5521 MB / 0.5657 GB, free: 32.03 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.3379, allocations: 153.8 kB / 0.5658 GB, free: 32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.3381, allocations: 143 kB / 0.566 GB, free: 31.99 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001125/0.3382, allocations: 83.84 kB / 0.5661 GB, free: 31.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.3382, allocations: 35.25 kB / 0.5661 GB, free: 31.94 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.3382, allocations: 4.781 kB / 0.5661 GB, free: 31.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0007681/0.339, allocations: 0.5262 MB / 0.5666 GB, free: 31.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.3391, allocations: 52.2 kB / 0.5667 GB, free: 31.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001792/0.3408, allocations: 1.386 MB / 0.568 GB, free: 31.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.357e-06/0.3409, allocations: 27.2 kB / 0.568 GB, free: 31.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003001/0.3412, allocations: 452.5 kB / 0.5685 GB, free: 30.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.165e-05/0.3412, allocations: 2 kB / 0.5685 GB, free: 30.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.3413, allocations: 117.2 kB / 0.5686 GB, free: 30.92 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.916e-05/0.3414, allocations: 343 kB / 0.5689 GB, free: 30.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005011/0.3419, allocations: 0.5865 MB / 0.5695 GB, free: 30.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004588/0.3424, allocations: 0.5979 MB / 0.5701 GB, free: 30.35 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007953/0.3432, allocations: 1.163 MB / 0.5712 GB, free: 29.74 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3432, allocations: 0 / 0.5712 GB, free: 29.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001358/0.3446, allocations: 1.395 MB / 0.5726 GB, free: 29.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.3446, allocations: 10.62 kB / 0.5726 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/0.3446, allocations: 3.266 kB / 0.5726 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.3446, allocations: 0 / 0.5726 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.623e-05/0.3447, allocations: 1.688 kB / 0.5726 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.3447, allocations: 0.8125 kB / 0.5726 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002453/0.3449, allocations: 73.34 kB / 0.5727 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.3449, allocations: 0.8125 kB / 0.5727 GB, free: 29.32 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.0004366/0.3454, allocations: 381.9 kB / 0.573 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.469e-05/0.3455, allocations: 109.6 kB / 0.5731 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003744/0.3458, allocations: 407.1 kB / 0.5735 GB, free: 29.06 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3458, allocations: 0 / 0.5735 GB, free: 29.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3459, allocations: 2.938 kB / 0.5735 GB, free: 29.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3459, allocations: 4.875 kB / 0.5735 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005266/0.3464, allocations: 0.5479 MB / 0.5741 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3464, allocations: 1.078 kB / 0.5741 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.28e-06/0.3464, allocations: 0.5 kB / 0.5741 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3464, allocations: 6.312 kB / 0.5741 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.3464, allocations: 0 / 0.5741 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.3464, allocations: 2.531 kB / 0.5741 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3464, allocations: 0.5312 kB / 0.5741 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003168/0.3468, allocations: 432.5 kB / 0.5745 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.3469, allocations: 170.3 kB / 0.5746 GB, free: 28.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.029e-05/0.347, allocations: 3.109 kB / 0.5746 GB, free: 28.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.602e-05/0.3471, allocations: 0 / 0.5746 GB, free: 28.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.775e-05/0.3471, allocations: 3.109 kB / 0.5746 GB, free: 28.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.3471, allocations: 1.438 kB / 0.5747 GB, free: 28.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009354/0.348, allocations: 0.9108 MB / 0.5755 GB, free: 28.19 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3481, allocations: 0 / 0.5755 GB, free: 28.19 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006663/0.3487, allocations: 180.6 kB / 0.5757 GB, free: 28.17 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.0005983/0.3493, allocations: 286.1 kB / 0.576 GB, free: 28.03 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008204/0.3502, allocations: 1.048 MB / 0.577 GB, free: 27.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3502, allocations: 0 / 0.577 GB, free: 27.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.3503, allocations: 134.6 kB / 0.5771 GB, free: 27.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.3506, allocations: 40.22 kB / 0.5772 GB, free: 27.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/0.3525, allocations: 1.664 MB / 0.5788 GB, free: 27.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004884/0.353, allocations: 1.013 MB / 0.5798 GB, free: 26.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.488e-05/0.353, allocations: 3.391 kB / 0.5798 GB, free: 26.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.453e-05/0.3531, allocations: 10.12 kB / 0.5798 GB, free: 26.35 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3531, allocations: 1.281 kB / 0.5798 GB, free: 26.35 MB / 446.1 MB Notification: Performance of Templates: time 0.0104/0.3635, allocations: 4.494 MB / 0.5842 GB, free: 24.89 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe 2>&1)