Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001031/0.001031, allocations: 91.3 kB / 15.36 MB, free: 0.7344 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.008095/0.008095, allocations: 169.2 kB / 16.26 MB, free: 6.68 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.387/1.387, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.887/2.887, allocations: 473.4 MB / 0.7469 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004409/0.0004409, allocations: 9.75 kB / 0.9158 GB, free: 33.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2762, allocations: 162.2 MB / 1.074 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001363/0.2777, allocations: 1.153 MB / 1.075 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005987/0.2837, allocations: 4.399 MB / 1.08 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.209e-05/0.2837, allocations: 0 / 1.08 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.561e-05/0.2838, allocations: 11.86 kB / 1.08 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001707/0.284, allocations: 27.91 kB / 1.08 GB, free: 1.859 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.002572/0.2866, allocations: 1.185 MB / 1.081 GB, free: 0.6758 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.2867, allocations: 123.6 kB / 1.081 GB, free: 0.5547 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.09e-05/0.2868, allocations: 7.984 kB / 1.081 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.498e-05/0.2868, allocations: 47.84 kB / 1.081 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002766/0.2871, allocations: 232.8 kB / 1.081 GB, free: 280 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.86e-05/0.2872, allocations: 16 kB / 1.081 GB, free: 264 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002802/0.29, allocations: 2.176 MB / 1.083 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0006496/0.2906, allocations: 0.7458 MB / 1.084 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0004009/0.291, allocations: 0.5331 MB / 1.085 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002681/0.2937, allocations: 2.571 MB / 1.087 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2937, allocations: 0 / 1.087 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2938, allocations: 7.938 kB / 1.087 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.355e-06/0.2938, allocations: 7.938 kB / 1.087 GB, free: 10.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.01126/0.305, allocations: 1.856 MB / 1.089 GB, free: 8.273 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.3051, allocations: 8.031 kB / 1.089 GB, free: 8.266 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004061/0.3055, allocations: 158.6 kB / 1.089 GB, free: 8.109 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005385/0.306, allocations: 0.5696 MB / 1.09 GB, free: 7.477 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.3061, allocations: 12.38 kB / 1.09 GB, free: 7.465 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.318e-05/0.3061, allocations: 8.375 kB / 1.09 GB, free: 7.457 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004078/0.3065, allocations: 387.5 kB / 1.09 GB, free: 7.066 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.3065, allocations: 3.984 kB / 1.09 GB, free: 7.062 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.3066, allocations: 0 / 1.09 GB, free: 7.062 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.3066, allocations: 4 kB / 1.09 GB, free: 7.059 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004197/0.307, allocations: 435.7 kB / 1.09 GB, free: 6.633 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007843/0.3078, allocations: 0.9298 MB / 1.091 GB, free: 5.645 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005059/0.3083, allocations: 0.5594 MB / 1.092 GB, free: 5.066 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003087/0.3086, allocations: 341.7 kB / 1.092 GB, free: 4.727 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009761/0.3096, allocations: 1.036 MB / 1.093 GB, free: 3.469 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003985/0.31, allocations: 404.8 kB / 1.094 GB, free: 3.055 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 2.575e-06/0.31, allocations: 3.938 kB / 1.094 GB, free: 3.051 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.001315/0.3113, allocations: 1.366 MB / 1.095 GB, free: 1.676 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.3114, allocations: 89.05 kB / 1.095 GB, free: 1.57 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002111/0.3135, allocations: 2.216 MB / 1.097 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.746e-05/0.3136, allocations: 29.7 kB / 1.097 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004005/0.314, allocations: 0.5328 MB / 1.098 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.178e-05/0.314, allocations: 19.75 kB / 1.098 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003258/0.3144, allocations: 379.4 kB / 1.098 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.974e-05/0.3145, allocations: 301.1 kB / 1.098 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001753/0.3162, allocations: 2.061 MB / 1.1 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001925/0.3181, allocations: 2.234 MB / 1.103 GB, free: 9.75 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008039/0.3262, allocations: 4.678 MB / 1.107 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3262, allocations: 0 / 1.107 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.006401/0.3326, allocations: 6.235 MB / 1.113 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.3327, allocations: 9.75 kB / 1.113 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.526e-05/0.3327, allocations: 4 kB / 1.113 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.3327, allocations: 0 / 1.113 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.3328, allocations: 23.92 kB / 1.113 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.3329, allocations: 320 / 1.113 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006554/0.3335, allocations: 303 kB / 1.114 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.067e-05/0.3336, allocations: 27.97 kB / 1.114 GB, free: 14.23 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.0005847/0.3342, allocations: 475.3 kB / 1.114 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.3343, allocations: 141.6 kB / 1.114 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003406/0.3346, allocations: 152 kB / 1.114 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.3346, allocations: 3.938 kB / 1.114 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3347, allocations: 0 / 1.114 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3347, allocations: 0 / 1.114 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000699/0.3354, allocations: 0.775 MB / 1.115 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.3354, allocations: 3.984 kB / 1.115 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.097e-05/0.3355, allocations: 11.94 kB / 1.115 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3355, allocations: 0 / 1.115 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.3355, allocations: 3.984 kB / 1.115 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.3355, allocations: 4 kB / 1.115 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3355, allocations: 0 / 1.115 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009919/0.3365, allocations: 1.084 MB / 1.116 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001774/0.3367, allocations: 218.7 kB / 1.116 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.755e-05/0.3368, allocations: 7.984 kB / 1.116 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/0.337, allocations: 4 kB / 1.116 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.595e-05/0.3371, allocations: 11.98 kB / 1.116 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-05/0.3371, allocations: 11.98 kB / 1.116 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001456/0.3386, allocations: 1.305 MB / 1.118 GB, free: 9.91 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.5e-07/0.3386, allocations: 0 / 1.118 GB, free: 9.91 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001502/0.3401, allocations: 0.6364 MB / 1.118 GB, free: 9.273 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.001769/0.3419, allocations: 0.6809 MB / 1.119 GB, free: 8.602 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003132/0.345, allocations: 3.556 MB / 1.122 GB, free: 5.031 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.345, allocations: 0 / 1.122 GB, free: 5.031 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003578/0.3454, allocations: 343.8 kB / 1.123 GB, free: 4.695 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004932/0.3459, allocations: 63.83 kB / 1.123 GB, free: 4.629 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003505/0.3494, allocations: 3.259 MB / 1.126 GB, free: 1.332 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007848/0.3502, allocations: 1.231 MB / 1.127 GB, free: 76 kB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001744/0.3504, allocations: 36.55 kB / 1.127 GB, free: 40 kB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.806e-05/0.3505, allocations: 23.42 kB / 1.127 GB, free: 16 kB / 0.8731 GB Notification: Performance of SimCode: time 6.61e-07/0.3505, allocations: 0 / 1.127 GB, free: 16 kB / 0.8731 GB Notification: Performance of Templates: time 0.02425/0.3747, allocations: 14.05 MB / 1.141 GB, free: 2 MB / 0.8887 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)