Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 110.9 kB / 16.42 MB, free: 6.512 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.00112/0.00112, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.324/1.324, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002172/0.002172, allocations: 287.1 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9527/0.9527, allocations: 169.2 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 103.8 kB / 0.6822 GB, free: 6.848 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3799, allocations: 86.97 MB / 0.7671 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.0024/0.3823, allocations: 1.428 MB / 0.7685 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006066/0.3884, allocations: 4.197 MB / 0.7726 GB, free: 14.21 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.203e-05/0.3885, allocations: 0 / 0.7726 GB, free: 14.21 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001054/0.3886, allocations: 15.86 kB / 0.7726 GB, free: 14.2 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002009/0.3888, allocations: 31.83 kB / 0.7727 GB, free: 14.16 MB / 0.545 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/BuildingSystems 2.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.003691/0.3925, allocations: 1.499 MB / 0.7741 GB, free: 12.66 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.3927, allocations: 95.72 kB / 0.7742 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.159e-05/0.3927, allocations: 4 kB / 0.7742 GB, free: 12.56 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.387e-05/0.3928, allocations: 47.83 kB / 0.7743 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002076/0.393, allocations: 165.5 kB / 0.7744 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.677e-05/0.3931, allocations: 16 kB / 0.7744 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003202/0.3963, allocations: 2.2 MB / 0.7766 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0006887/0.397, allocations: 0.7575 MB / 0.7773 GB, free: 9.375 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004416/0.3975, allocations: 0.4964 MB / 0.7778 GB, free: 8.875 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003118/0.4006, allocations: 2.546 MB / 0.7803 GB, free: 6.324 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.4006, allocations: 0 / 0.7803 GB, free: 6.324 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.955e-06/0.4006, allocations: 0 / 0.7803 GB, free: 6.324 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.779e-05/0.4006, allocations: 7.938 kB / 0.7803 GB, free: 6.316 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01118/0.4118, allocations: 1.968 MB / 0.7822 GB, free: 4.289 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.4119, allocations: 8.031 kB / 0.7822 GB, free: 4.281 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004766/0.4123, allocations: 174.4 kB / 0.7824 GB, free: 4.109 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000616/0.413, allocations: 0.5696 MB / 0.783 GB, free: 3.477 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.413, allocations: 4.375 kB / 0.783 GB, free: 3.473 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.194e-05/0.413, allocations: 12.36 kB / 0.783 GB, free: 3.461 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000433/0.4135, allocations: 387.5 kB / 0.7833 GB, free: 3.07 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.4135, allocations: 4 kB / 0.7834 GB, free: 3.066 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.4135, allocations: 0 / 0.7834 GB, free: 3.066 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.4135, allocations: 4 kB / 0.7834 GB, free: 3.062 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004224/0.414, allocations: 435.7 kB / 0.7838 GB, free: 2.637 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008312/0.4148, allocations: 0.9298 MB / 0.7847 GB, free: 1.648 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004977/0.4153, allocations: 0.5673 MB / 0.7852 GB, free: 1.062 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003017/0.4156, allocations: 337.5 kB / 0.7856 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001019/0.4167, allocations: 1.028 MB / 0.7866 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003975/0.4171, allocations: 404.8 kB / 0.7869 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/0.4171, allocations: 0 / 0.7869 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.001363/0.4184, allocations: 1.366 MB / 0.7883 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.4185, allocations: 81.23 kB / 0.7884 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002137/0.4206, allocations: 2.228 MB / 0.7905 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.273e-05/0.4207, allocations: 29.69 kB / 0.7906 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003906/0.4211, allocations: 0.5251 MB / 0.7911 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.667e-05/0.4211, allocations: 23.66 kB / 0.7911 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004103/0.4216, allocations: 455.4 kB / 0.7915 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.144e-05/0.4217, allocations: 305.1 kB / 0.7918 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001693/0.4234, allocations: 2.061 MB / 0.7938 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001799/0.4252, allocations: 2.23 MB / 0.796 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007947/0.4331, allocations: 4.678 MB / 0.8006 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.4332, allocations: 0 / 0.8006 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.006708/0.4399, allocations: 6.235 MB / 0.8067 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/0.4399, allocations: 10.28 kB / 0.8067 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.312e-05/0.44, allocations: 4 kB / 0.8067 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.44, allocations: 0 / 0.8067 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.4402, allocations: 23.92 kB / 0.8067 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/0.4402, allocations: 4 kB / 0.8067 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007209/0.4409, allocations: 291.2 kB / 0.807 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.852e-05/0.441, allocations: 32 kB / 0.807 GB, free: 10.18 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 116 (cluSiz[5],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],gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0006253/0.4416, allocations: 474.6 kB / 0.8075 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.4418, allocations: 145.5 kB / 0.8076 GB, free: 9.559 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003693/0.4421, allocations: 152 kB / 0.8078 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.4422, allocations: 4.031 kB / 0.8078 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.4422, allocations: 4 kB / 0.8078 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002291/0.4424, allocations: 214.8 kB / 0.808 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.4425, allocations: 4 kB / 0.808 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.4428, allocations: 11.98 kB / 0.808 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.4428, allocations: 7.922 kB / 0.808 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009562/0.4438, allocations: 1.062 MB / 0.809 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001033/0.4448, allocations: 1.287 MB / 0.8103 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003198/0.4451, allocations: 343.8 kB / 0.8106 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001539/0.4467, allocations: 1.302 MB / 0.8119 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of Backend: time 3e-07/0.4467, allocations: 0 / 0.8119 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005253/0.452, allocations: 3.899 MB / 0.8157 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of SimCode: time 0.003171/0.4552, allocations: 2.893 MB / 0.8185 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of Templates: time 0.02489/0.4801, allocations: 14.81 MB / 0.833 GB, free: 15.49 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)