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.001523/0.001523, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002819/0.002819, allocations: 192.3 kB / 16.13 MB, free: 6.66 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.379/1.379, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.769/2.769, allocations: 472.6 MB / 0.7447 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 67.66 kB / 0.9114 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2589, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002468/0.2614, allocations: 1.49 MB / 1.069 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006571/0.268, allocations: 4.492 MB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.525e-05/0.2681, allocations: 0 / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.2682, allocations: 11.86 kB / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001972/0.2684, allocations: 23.91 kB / 1.073 GB, free: 4.828 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.002856/0.2713, allocations: 1.2 MB / 1.075 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.2714, allocations: 119.6 kB / 1.075 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.424e-05/0.2715, allocations: 7.984 kB / 1.075 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.506e-05/0.2716, allocations: 47.84 kB / 1.075 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002727/0.2718, allocations: 232.8 kB / 1.075 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.828e-05/0.2719, allocations: 16 kB / 1.075 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002998/0.2749, allocations: 2.176 MB / 1.077 GB, free: 1.035 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0006868/0.2756, allocations: 0.7458 MB / 1.078 GB, free: 288 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004192/0.276, allocations: 0.5081 MB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002762/0.2788, allocations: 2.571 MB / 1.081 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2788, allocations: 4 kB / 1.081 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of FrontEnd: time 7.71e-07/0.2788, allocations: 0 / 1.081 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.807e-06/0.2788, 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.00902/0.2879, allocations: 1.968 MB / 1.083 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.2879, allocations: 12.03 kB / 1.083 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004739/0.2884, allocations: 162.5 kB / 1.083 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005928/0.289, allocations: 0.5657 MB / 1.084 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.289, allocations: 384 / 1.084 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.216e-05/0.2891, allocations: 16.36 kB / 1.084 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004301/0.2895, allocations: 391.5 kB / 1.084 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.2895, allocations: 3.938 kB / 1.084 GB, free: 9.945 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.2895, allocations: 4 kB / 1.084 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2896, allocations: 0 / 1.084 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004533/0.29, allocations: 435.7 kB / 1.084 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008412/0.2909, allocations: 0.9297 MB / 1.085 GB, free: 8.527 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005715/0.2914, allocations: 0.5633 MB / 1.086 GB, free: 7.945 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003455/0.2918, allocations: 333.7 kB / 1.086 GB, free: 7.613 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001145/0.293, allocations: 1.032 MB / 1.087 GB, free: 6.359 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004269/0.2934, allocations: 400.8 kB / 1.087 GB, free: 5.949 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.2934, allocations: 3.938 kB / 1.087 GB, free: 5.945 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.001471/0.2949, allocations: 1.366 MB / 1.089 GB, free: 4.57 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.295, allocations: 89.05 kB / 1.089 GB, free: 4.465 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002193/0.2972, allocations: 2.22 MB / 1.091 GB, free: 2.215 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.091e-05/0.2973, allocations: 25.7 kB / 1.091 GB, free: 2.184 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003999/0.2977, allocations: 0.529 MB / 1.092 GB, free: 1.648 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.668e-05/0.2977, allocations: 19.75 kB / 1.092 GB, free: 1.629 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004127/0.2981, allocations: 455.5 kB / 1.092 GB, free: 1.176 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.2982, allocations: 301.1 kB / 1.092 GB, free: 0.8789 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001813/0.3001, allocations: 2.069 MB / 1.094 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001949/0.302, allocations: 2.229 MB / 1.097 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008237/0.3103, allocations: 4.682 MB / 1.101 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.3103, allocations: 3.938 kB / 1.101 GB, free: 7.762 MB / 0.8575 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.006413/0.3167, allocations: 6.235 MB / 1.107 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.3168, allocations: 8 kB / 1.107 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.3168, allocations: 0 / 1.107 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.3168, allocations: 4 kB / 1.107 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.317, allocations: 27.91 kB / 1.107 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.317, allocations: 4.031 kB / 1.107 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006142/0.3176, allocations: 299.1 kB / 1.108 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-05/0.3177, allocations: 23.98 kB / 1.108 GB, free: 1.055 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.0005952/0.3183, allocations: 462.7 kB / 1.108 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.3184, allocations: 145.6 kB / 1.108 GB, free: 456 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000361/0.3188, allocations: 152 kB / 1.108 GB, free: 296 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.3188, allocations: 4 kB / 1.108 GB, free: 292 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3188, allocations: 0 / 1.108 GB, free: 292 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3188, allocations: 0 / 1.108 GB, free: 292 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007146/0.3195, allocations: 0.7789 MB / 1.109 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3195, allocations: 4 kB / 1.109 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.643e-05/0.3196, allocations: 7.938 kB / 1.109 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3196, allocations: 4.031 kB / 1.109 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.364e-05/0.3196, allocations: 7.984 kB / 1.109 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3196, allocations: 0 / 1.109 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3197, allocations: 0 / 1.109 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009714/0.3206, allocations: 1.08 MB / 1.11 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001784/0.3208, allocations: 222.7 kB / 1.11 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.3209, allocations: 3.984 kB / 1.11 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.3212, allocations: 4 kB / 1.11 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.3212, allocations: 7.984 kB / 1.11 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.192e-05/0.3213, allocations: 11.98 kB / 1.11 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001443/0.3227, allocations: 1.302 MB / 1.112 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3227, allocations: 0 / 1.112 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001583/0.3243, allocations: 0.6364 MB / 1.112 GB, free: 12.11 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.001892/0.3262, allocations: 0.6918 MB / 1.113 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00317/0.3294, allocations: 3.552 MB / 1.116 GB, free: 7.855 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3294, allocations: 4 kB / 1.116 GB, free: 7.852 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003323/0.3297, allocations: 339.8 kB / 1.117 GB, free: 7.52 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004531/0.3302, allocations: 59.84 kB / 1.117 GB, free: 7.457 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00357/0.3338, allocations: 3.248 MB / 1.12 GB, free: 4.176 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000815/0.3346, allocations: 1.235 MB / 1.121 GB, free: 2.914 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001839/0.3348, allocations: 32.55 kB / 1.121 GB, free: 2.883 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.335, allocations: 27.42 kB / 1.121 GB, free: 2.855 MB / 0.8731 GB Notification: Performance of SimCode: time 7.31e-07/0.335, allocations: 0 / 1.121 GB, free: 2.855 MB / 0.8731 GB Notification: Performance of Templates: time 0.02473/0.3597, allocations: 14.15 MB / 1.135 GB, free: 4.742 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)