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.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/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.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.001034/0.001034, allocations: 90.92 kB / 15.35 MB, free: 0.7422 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.005929/0.005929, allocations: 180.5 kB / 16.26 MB, free: 6.605 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.359/1.359, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.814/2.814, allocations: 473.4 MB / 0.7469 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003173/0.0003173, allocations: 9.938 kB / 0.9158 GB, free: 33.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2787, allocations: 162.2 MB / 1.074 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001315/0.2801, allocations: 1.153 MB / 1.075 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006311/0.2864, allocations: 4.395 MB / 1.08 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.006e-05/0.2865, allocations: 0 / 1.08 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001189/0.2866, allocations: 11.92 kB / 1.08 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002114/0.2868, allocations: 27.84 kB / 1.08 GB, free: 1.875 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‘. Notification: Performance of NFTyping.typeClassSections: time 0.003468/0.2903, allocations: 1.189 MB / 1.081 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.2905, allocations: 115.8 kB / 1.081 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.123e-05/0.2905, allocations: 7.984 kB / 1.081 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.865e-05/0.2906, allocations: 51.78 kB / 1.081 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002943/0.2909, allocations: 228.8 kB / 1.081 GB, free: 300 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.883e-05/0.291, allocations: 16 kB / 1.081 GB, free: 284 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00342/0.2944, allocations: 2.18 MB / 1.083 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0007004/0.2951, allocations: 0.7536 MB / 1.084 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0004007/0.2955, allocations: 0.5331 MB / 1.085 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.003575/0.2991, allocations: 2.567 MB / 1.087 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2991, allocations: 4 kB / 1.087 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2991, allocations: 0 / 1.087 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.212e-05/0.2991, allocations: 4 kB / 1.087 GB, free: 10.21 MB / 0.8419 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.01166/0.3108, allocations: 1.856 MB / 1.089 GB, free: 8.293 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.3109, allocations: 11.97 kB / 1.089 GB, free: 8.281 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004235/0.3113, allocations: 162.6 kB / 1.089 GB, free: 8.121 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005585/0.3119, allocations: 0.5695 MB / 1.09 GB, free: 7.488 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.3119, allocations: 4.375 kB / 1.09 GB, free: 7.484 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.285e-05/0.3119, allocations: 8.375 kB / 1.09 GB, free: 7.477 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000442/0.3124, allocations: 399.5 kB / 1.09 GB, free: 7.074 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.3124, allocations: 0 / 1.09 GB, free: 7.074 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.3124, allocations: 3.984 kB / 1.09 GB, free: 7.07 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.3124, allocations: 4 kB / 1.09 GB, free: 7.066 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004534/0.3129, allocations: 431.7 kB / 1.09 GB, free: 6.645 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000818/0.3137, allocations: 0.9259 MB / 1.091 GB, free: 5.66 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005334/0.3143, allocations: 0.5595 MB / 1.092 GB, free: 5.082 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003182/0.3146, allocations: 337.6 kB / 1.092 GB, free: 4.746 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001055/0.3157, allocations: 1.04 MB / 1.093 GB, free: 3.484 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003972/0.3161, allocations: 408.8 kB / 1.094 GB, free: 3.066 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.3161, allocations: 0 / 1.094 GB, free: 3.066 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.00139/0.3175, allocations: 1.366 MB / 1.095 GB, free: 1.691 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.3175, allocations: 81.11 kB / 1.095 GB, free: 1.594 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002161/0.3197, allocations: 2.216 MB / 1.097 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.63e-05/0.3198, allocations: 33.7 kB / 1.097 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003994/0.3202, allocations: 0.529 MB / 1.098 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.526e-05/0.3202, allocations: 19.75 kB / 1.098 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003098/0.3205, allocations: 383.4 kB / 1.098 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.968e-05/0.3206, allocations: 305.1 kB / 1.098 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001781/0.3224, allocations: 2.053 MB / 1.1 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001866/0.3243, allocations: 2.24 MB / 1.103 GB, free: 9.77 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007905/0.3322, allocations: 4.682 MB / 1.107 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.3322, allocations: 0 / 1.107 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.006187/0.3384, allocations: 6.239 MB / 1.113 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.3385, allocations: 4 kB / 1.113 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/0.3385, allocations: 4 kB / 1.113 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.3385, allocations: 4.031 kB / 1.113 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.3386, allocations: 23.92 kB / 1.113 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.3387, allocations: 4 kB / 1.113 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006599/0.3393, allocations: 303 kB / 1.114 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.227e-05/0.3394, allocations: 27.97 kB / 1.114 GB, free: 14.25 MB / 0.8731 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.0005846/0.34, allocations: 475.3 kB / 1.114 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.3401, allocations: 141.6 kB / 1.114 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003411/0.3404, allocations: 148 kB / 1.114 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.3405, allocations: 0 / 1.114 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3405, allocations: 0 / 1.114 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3405, allocations: 4 kB / 1.114 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006944/0.3412, allocations: 0.771 MB / 1.115 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3412, allocations: 4.031 kB / 1.115 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.448e-05/0.3413, allocations: 19.86 kB / 1.115 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.3413, allocations: 0 / 1.115 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.3413, allocations: 4 kB / 1.115 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3413, allocations: 0 / 1.115 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.3413, allocations: 3.984 kB / 1.115 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009703/0.3423, allocations: 1.072 MB / 1.116 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001736/0.3425, allocations: 222.7 kB / 1.116 GB, free: 11.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.932e-05/0.3426, allocations: 7.984 kB / 1.116 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/0.3428, allocations: 4 kB / 1.116 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.919e-05/0.3429, allocations: 7.984 kB / 1.116 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.268e-05/0.3429, allocations: 15.92 kB / 1.116 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001435/0.3443, allocations: 1.298 MB / 1.118 GB, free: 9.934 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3443, allocations: 4 kB / 1.118 GB, free: 9.93 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001515/0.3459, allocations: 0.6404 MB / 1.118 GB, free: 9.289 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001773/0.3476, allocations: 0.6866 MB / 1.119 GB, free: 8.609 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003165/0.3508, allocations: 3.552 MB / 1.122 GB, free: 5.043 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3508, allocations: 0 / 1.122 GB, free: 5.043 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003595/0.3512, allocations: 343.9 kB / 1.123 GB, free: 4.707 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005533/0.3518, allocations: 59.86 kB / 1.123 GB, free: 4.645 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003432/0.3552, allocations: 3.263 MB / 1.126 GB, free: 1.344 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008256/0.3561, allocations: 1.231 MB / 1.127 GB, free: 88 kB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001971/0.3563, allocations: 36.55 kB / 1.127 GB, free: 52 kB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.3564, allocations: 23.42 kB / 1.127 GB, free: 28 kB / 0.8731 GB Notification: Performance of SimCode: time 5.31e-07/0.3564, allocations: 0 / 1.127 GB, free: 28 kB / 0.8731 GB Notification: Performance of Templates: time 0.02509/0.3815, allocations: 14.06 MB / 1.141 GB, free: 2.004 MB / 0.8887 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)