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.001113/0.001113, allocations: 100.7 kB / 15.98 MB, free: 6.34 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.001161/0.001162, allocations: 198.6 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.29/1.29, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7443/0.7443, allocations: 122.9 MB / 413.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 67.84 kB / 0.4906 GB, free: 7.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3549, allocations: 77.91 MB / 0.5667 GB, free: 32.9 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes): time 0.002563/0.3575, allocations: 1.38 MB / 0.5681 GB, free: 31.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00206/0.3595, allocations: 1.294 MB / 0.5693 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.763e-05/0.3596, allocations: 0 / 0.5693 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.404e-05/0.3597, allocations: 6.844 kB / 0.5693 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002227/0.36, allocations: 27.67 kB / 0.5694 GB, free: 31.07 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.001141/0.3611, allocations: 336.1 kB / 0.5697 GB, free: 30.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.49e-05/0.3612, allocations: 43.56 kB / 0.5697 GB, free: 30.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.864e-05/0.3612, allocations: 3.047 kB / 0.5697 GB, free: 30.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.563e-05/0.3613, allocations: 10.66 kB / 0.5697 GB, free: 30.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.3614, allocations: 99.48 kB / 0.5698 GB, free: 30.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.3615, allocations: 1.688 kB / 0.5698 GB, free: 30.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008974/0.3624, allocations: 0.5059 MB / 0.5703 GB, free: 30.76 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005488/0.3629, allocations: 0.5647 MB / 0.5709 GB, free: 30.63 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003419/0.3633, allocations: 300.5 kB / 0.5712 GB, free: 30.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001287/0.3646, allocations: 0.9329 MB / 0.5721 GB, free: 30.08 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.3646, allocations: 0 / 0.5721 GB, free: 30.08 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3646, allocations: 0 / 0.5721 GB, free: 30.08 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.569e-05/0.3646, allocations: 1.281 kB / 0.5721 GB, free: 30.08 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.001557/0.3662, allocations: 1.259 MB / 0.5733 GB, free: 29.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.3662, allocations: 11.62 kB / 0.5733 GB, free: 29.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.3664, allocations: 111.2 kB / 0.5734 GB, free: 29.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003917/0.3668, allocations: 476.7 kB / 0.5739 GB, free: 28.65 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.392e-06/0.3668, allocations: 5.406 kB / 0.5739 GB, free: 28.65 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.3668, allocations: 1.469 kB / 0.5739 GB, free: 28.65 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.367, allocations: 169.9 kB / 0.5741 GB, free: 28.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.367, allocations: 0.6875 kB / 0.5741 GB, free: 28.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.367, allocations: 0 / 0.5741 GB, free: 28.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.3671, allocations: 2.875 kB / 0.5741 GB, free: 28.61 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000243/0.3673, allocations: 264.1 kB / 0.5743 GB, free: 28.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006612/0.368, allocations: 0.5538 MB / 0.5749 GB, free: 28.28 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.3681, allocations: 153.9 kB / 0.575 GB, free: 28.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.3682, allocations: 137.9 kB / 0.5751 GB, free: 28.24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.381e-05/0.3683, allocations: 82.88 kB / 0.5752 GB, free: 28.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.375e-05/0.3683, allocations: 45.2 kB / 0.5753 GB, free: 28.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.3683, allocations: 0 / 0.5753 GB, free: 28.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0005495/0.3689, allocations: 0.5243 MB / 0.5758 GB, free: 28.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.06e-05/0.3689, allocations: 54.12 kB / 0.5758 GB, free: 28.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001674/0.3706, allocations: 1.386 MB / 0.5772 GB, free: 27.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/0.3706, allocations: 25.7 kB / 0.5772 GB, free: 27.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002794/0.3709, allocations: 452.9 kB / 0.5776 GB, free: 27.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.302e-05/0.3709, allocations: 1.875 kB / 0.5776 GB, free: 27.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.371, allocations: 117 kB / 0.5777 GB, free: 27.17 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.433e-05/0.3711, allocations: 344 kB / 0.5781 GB, free: 26.85 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004906/0.3716, allocations: 0.5951 MB / 0.5787 GB, free: 26.72 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004366/0.3721, allocations: 0.5928 MB / 0.5792 GB, free: 26.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008442/0.3729, allocations: 1.164 MB / 0.5804 GB, free: 25.99 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3729, allocations: 0.75 kB / 0.5804 GB, free: 25.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001501/0.3744, allocations: 1.393 MB / 0.5817 GB, free: 25.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.3745, allocations: 13.2 kB / 0.5817 GB, free: 25.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/0.3745, allocations: 1.281 kB / 0.5817 GB, free: 25.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.3745, allocations: 3.938 kB / 0.5817 GB, free: 25.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.655e-05/0.3745, allocations: 0 / 0.5817 GB, free: 25.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.3745, allocations: 1.281 kB / 0.5817 GB, free: 25.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000254/0.3748, allocations: 71.81 kB / 0.5818 GB, free: 25.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.3748, allocations: 1.062 kB / 0.5818 GB, free: 25.55 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.0004223/0.3752, allocations: 381.4 kB / 0.5822 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.418e-05/0.3753, allocations: 108.5 kB / 0.5823 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003682/0.3757, allocations: 418.9 kB / 0.5827 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3757, allocations: 0 / 0.5827 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.3757, allocations: 0 / 0.5827 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.3757, allocations: 0 / 0.5827 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005199/0.3763, allocations: 0.5491 MB / 0.5832 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.3763, allocations: 0 / 0.5832 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.313e-06/0.3763, allocations: 1.094 kB / 0.5832 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3763, allocations: 5.469 kB / 0.5832 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.3763, allocations: 1.031 kB / 0.5832 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3763, allocations: 0 / 0.5832 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3763, allocations: 1.125 kB / 0.5832 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003184/0.3766, allocations: 432.4 kB / 0.5836 GB, free: 24.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.3768, allocations: 174.4 kB / 0.5838 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.808e-05/0.3769, allocations: 0.5 kB / 0.5838 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.377, allocations: 7.094 kB / 0.5838 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.471e-05/0.377, allocations: 0 / 0.5838 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.377, allocations: 1.281 kB / 0.5838 GB, free: 24.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001044/0.3781, allocations: 0.9042 MB / 0.5847 GB, free: 24 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3781, allocations: 0.625 kB / 0.5847 GB, free: 24 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007124/0.3788, allocations: 178.9 kB / 0.5849 GB, free: 23.98 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.0008249/0.3796, allocations: 278 kB / 0.5851 GB, free: 23.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005916/0.3802, allocations: 1.047 MB / 0.5862 GB, free: 22.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.3802, allocations: 0 / 0.5862 GB, free: 22.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.808e-05/0.3803, allocations: 143.9 kB / 0.5863 GB, free: 22.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.3807, allocations: 49.77 kB / 0.5863 GB, free: 22.58 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.3824, allocations: 1.884 MB / 0.5882 GB, free: 20.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.3828, allocations: 1.012 MB / 0.5892 GB, free: 19.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.445e-05/0.3828, allocations: 0 / 0.5892 GB, free: 19.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.433e-05/0.3828, allocations: 15.44 kB / 0.5892 GB, free: 19.64 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3828, allocations: 0 / 0.5892 GB, free: 19.64 MB / 446.1 MB Notification: Performance of Templates: time 0.009223/0.3921, allocations: 4.48 MB / 0.5936 GB, free: 15.21 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)