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.001548/0.001548, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001808/0.001808, allocations: 189.4 kB / 16.25 MB, free: 6.625 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.384/1.384, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.777/2.777, allocations: 472.6 MB / 0.7448 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 61.48 kB / 0.9116 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2797, allocations: 159.9 MB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002723/0.2824, allocations: 1.484 MB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006174/0.2886, allocations: 4.234 MB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.407e-05/0.2887, allocations: 0 / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.2889, allocations: 7.875 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002193/0.2891, allocations: 31.89 kB / 1.073 GB, free: 4.941 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‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.00342/0.2925, allocations: 1.35 MB / 1.075 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.2927, allocations: 95.66 kB / 1.075 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.357e-05/0.2927, allocations: 7.984 kB / 1.075 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.508e-05/0.2928, allocations: 47.83 kB / 1.075 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003013/0.2931, allocations: 236.8 kB / 1.075 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.712e-05/0.2932, allocations: 12 kB / 1.075 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00295/0.2961, allocations: 2.196 MB / 1.077 GB, free: 1 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0006665/0.2968, allocations: 0.7498 MB / 1.078 GB, free: 248 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004244/0.2972, allocations: 0.5002 MB / 1.078 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.003121/0.3004, allocations: 2.539 MB / 1.081 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3004, allocations: 0 / 1.081 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3004, allocations: 4 kB / 1.081 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.836e-05/0.3004, allocations: 0 / 1.081 GB, free: 13.19 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.01035/0.3108, allocations: 1.972 MB / 1.083 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.3108, allocations: 12.03 kB / 1.083 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005595/0.3114, allocations: 162.6 kB / 1.083 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005962/0.312, allocations: 0.5696 MB / 1.084 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.312, allocations: 4.359 kB / 1.084 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.707e-05/0.3121, allocations: 8.375 kB / 1.084 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004241/0.3125, allocations: 395.5 kB / 1.084 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.3125, allocations: 3.938 kB / 1.084 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.3126, allocations: 4 kB / 1.084 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.3126, allocations: 0 / 1.084 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004354/0.313, allocations: 439.7 kB / 1.084 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008366/0.3139, allocations: 0.9258 MB / 1.085 GB, free: 8.52 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005383/0.3144, allocations: 0.5673 MB / 1.086 GB, free: 7.934 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003159/0.3147, allocations: 337.6 kB / 1.086 GB, free: 7.598 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001059/0.3158, allocations: 1.025 MB / 1.087 GB, free: 6.352 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004034/0.3162, allocations: 404.8 kB / 1.088 GB, free: 5.938 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 2.695e-06/0.3162, allocations: 3.984 kB / 1.088 GB, free: 5.934 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.001378/0.3176, allocations: 1.366 MB / 1.089 GB, free: 4.559 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/0.3177, allocations: 81.11 kB / 1.089 GB, free: 4.461 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002182/0.3199, allocations: 2.228 MB / 1.091 GB, free: 2.203 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.316e-05/0.3199, allocations: 25.7 kB / 1.091 GB, free: 2.172 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003977/0.3203, allocations: 0.5329 MB / 1.092 GB, free: 1.633 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.257e-05/0.3204, allocations: 15.72 kB / 1.092 GB, free: 1.617 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004059/0.3208, allocations: 455.4 kB / 1.092 GB, free: 1.164 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.3209, allocations: 301.1 kB / 1.092 GB, free: 0.8672 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001693/0.3226, allocations: 2.065 MB / 1.094 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001826/0.3244, allocations: 2.232 MB / 1.097 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008098/0.3326, allocations: 4.678 MB / 1.101 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.932e-06/0.3326, allocations: 4 kB / 1.101 GB, free: 7.754 MB / 0.8575 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.006404/0.339, allocations: 6.239 MB / 1.107 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.339, allocations: 8 kB / 1.107 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.3391, allocations: 0 / 1.107 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.3391, allocations: 7.984 kB / 1.107 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.3392, allocations: 15.94 kB / 1.107 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.3392, allocations: 0 / 1.107 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006329/0.3399, allocations: 307.2 kB / 1.108 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-05/0.3399, allocations: 19.98 kB / 1.108 GB, free: 1.051 MB / 0.8575 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.0005874/0.3405, allocations: 467.4 kB / 1.108 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.3407, allocations: 145.6 kB / 1.108 GB, free: 448 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003963/0.3411, allocations: 152 kB / 1.108 GB, free: 288 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.3411, allocations: 4 kB / 1.108 GB, free: 284 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3411, allocations: 0 / 1.108 GB, free: 284 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.3411, allocations: 0 / 1.108 GB, free: 284 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007138/0.3418, allocations: 0.7789 MB / 1.109 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3418, allocations: 0 / 1.109 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.613e-05/0.3419, allocations: 7.938 kB / 1.109 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.3419, allocations: 0 / 1.109 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.3419, allocations: 7.984 kB / 1.109 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.342, allocations: 0 / 1.109 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.342, allocations: 4.031 kB / 1.109 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009667/0.3429, allocations: 1.08 MB / 1.11 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001921/0.3431, allocations: 226.6 kB / 1.11 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.3433, allocations: 0 / 1.11 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.3435, allocations: 8 kB / 1.11 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.792e-05/0.3435, allocations: 7.984 kB / 1.11 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.644e-05/0.3436, allocations: 11.98 kB / 1.11 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001443/0.345, allocations: 1.305 MB / 1.112 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.345, allocations: 0 / 1.112 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001506/0.3465, allocations: 0.6247 MB / 1.112 GB, free: 12.1 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.002015/0.3486, allocations: 0.6918 MB / 1.113 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003081/0.3517, allocations: 3.556 MB / 1.116 GB, free: 7.855 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3517, allocations: 0 / 1.116 GB, free: 7.855 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003193/0.352, allocations: 339.8 kB / 1.117 GB, free: 7.523 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000484/0.3525, allocations: 71.83 kB / 1.117 GB, free: 7.449 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003745/0.3562, allocations: 3.242 MB / 1.12 GB, free: 4.176 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007759/0.357, allocations: 1.235 MB / 1.121 GB, free: 2.914 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001779/0.3572, allocations: 32.56 kB / 1.121 GB, free: 2.883 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.3573, allocations: 27.41 kB / 1.121 GB, free: 2.855 MB / 0.8731 GB Notification: Performance of SimCode: time 2.8e-07/0.3573, allocations: 4 kB / 1.121 GB, free: 2.852 MB / 0.8731 GB Notification: Performance of Templates: time 0.02495/0.3823, allocations: 14.4 MB / 1.135 GB, free: 4.484 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)