Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_10_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="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_10_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.001079/0.001083, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001458/0.001458, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.598/2.598, allocations: 437.7 MB / 0.7117 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003271/0.0003273, allocations: 8 kB / 0.8722 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6014/0.6017, allocations: 153.8 MB / 1.022 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001412/0.6032, allocations: 1.133 MB / 1.024 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005471/0.6087, allocations: 3.923 MB / 1.027 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.01e-05/0.6088, allocations: 3.938 kB / 1.027 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.332e-05/0.6089, allocations: 11.92 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002041/0.6091, allocations: 23.91 kB / 1.027 GB, free: 10.93 MB / 0.7794 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.002965/0.612, allocations: 1.131 MB / 1.029 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.6122, allocations: 107.6 kB / 1.029 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.106e-05/0.6122, allocations: 3.984 kB / 1.029 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.454e-05/0.6123, allocations: 43.91 kB / 1.029 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002788/0.6126, allocations: 247.6 kB / 1.029 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.654e-05/0.6127, allocations: 12 kB / 1.029 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002888/0.6155, allocations: 1.946 MB / 1.031 GB, free: 7.449 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0006621/0.6162, allocations: 0.7716 MB / 1.032 GB, free: 6.676 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001862/0.6164, allocations: 204.8 kB / 1.032 GB, free: 6.469 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001986/0.6184, allocations: 1.674 MB / 1.033 GB, free: 4.793 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.6184, allocations: 7.938 kB / 1.033 GB, free: 4.785 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6184, allocations: 0 / 1.033 GB, free: 4.785 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.719e-05/0.6185, allocations: 0 / 1.033 GB, free: 4.785 MB / 0.7794 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.007791/0.6263, allocations: 1.867 MB / 1.035 GB, free: 2.859 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.6263, allocations: 12.56 kB / 1.035 GB, free: 2.848 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004238/0.6267, allocations: 161.6 kB / 1.035 GB, free: 2.688 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005884/0.6273, allocations: 0.5417 MB / 1.036 GB, free: 2.082 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.6274, allocations: 4 kB / 1.036 GB, free: 2.078 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.647e-05/0.6274, allocations: 8 kB / 1.036 GB, free: 2.07 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00042/0.6278, allocations: 395.1 kB / 1.036 GB, free: 1.672 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.6279, allocations: 0 / 1.036 GB, free: 1.672 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.6279, allocations: 0 / 1.036 GB, free: 1.672 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.6279, allocations: 3.938 kB / 1.036 GB, free: 1.668 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004038/0.6283, allocations: 443.6 kB / 1.037 GB, free: 1.234 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008143/0.6291, allocations: 0.9258 MB / 1.038 GB, free: 256 kB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004956/0.6296, allocations: 0.5672 MB / 1.038 GB, free: 15.66 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002895/0.6299, allocations: 333.6 kB / 1.039 GB, free: 15.33 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009248/0.6309, allocations: 1.036 MB / 1.04 GB, free: 14.07 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003926/0.6313, allocations: 408.8 kB / 1.04 GB, free: 13.66 MB / 0.795 GB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.6313, allocations: 3.938 kB / 1.04 GB, free: 13.65 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.001323/0.6326, allocations: 1.354 MB / 1.041 GB, free: 12.29 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.6327, allocations: 89.03 kB / 1.041 GB, free: 12.18 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002183/0.6349, allocations: 2.212 MB / 1.043 GB, free: 9.941 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.81e-05/0.6349, allocations: 25.7 kB / 1.044 GB, free: 9.91 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004003/0.6353, allocations: 0.525 MB / 1.044 GB, free: 9.379 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.095e-05/0.6354, allocations: 19.8 kB / 1.044 GB, free: 9.359 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.421e-05/0.6354, allocations: 4 kB / 1.044 GB, free: 9.355 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.6356, allocations: 445 kB / 1.044 GB, free: 8.914 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001695/0.6373, allocations: 2.061 MB / 1.046 GB, free: 6.852 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001776/0.6391, allocations: 2.23 MB / 1.049 GB, free: 4.613 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002233/0.6413, allocations: 2.984 MB / 1.052 GB, free: 1.578 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.6413, allocations: 0 / 1.052 GB, free: 1.578 MB / 0.795 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.006034/0.6474, allocations: 6.212 MB / 1.058 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.6474, allocations: 9.984 kB / 1.058 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.836e-05/0.6474, allocations: 4 kB / 1.058 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.6475, allocations: 0 / 1.058 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.6476, allocations: 15.98 kB / 1.058 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.6476, allocations: 320 / 1.058 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005665/0.6482, allocations: 307.1 kB / 1.058 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.944e-05/0.6482, allocations: 28.02 kB / 1.058 GB, free: 10.9 MB / 0.8106 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 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2,labels[1],labels[2],labels[3],labels[4],labels[5],labels[6],labels[7],labels[8],labels[9],labels[10],labels[11],labels[12],labels[13],labels[14],labels[15],labels[16],labels[17],labels[18],labels[19],labels[20],labels[21],labels[22],labels[23],labels[24],labels[25],labels[26],labels[27],labels[28],labels[29],labels[30],labels[31],labels[32],labels[33],labels[34],labels[35],labels[36],labels[37],labels[38],labels[39],labels[40],labels[41],labels[42],labels[43],labels[44],labels[45],labels[46],labels[47],labels[48],labels[49],labels[50],labels[51],labels[52],labels[53],labels[54],labels[55],labels[56],labels[57],labels[58],labels[59],labels[60],labels[61],labels[62],labels[63],labels[64],labels[65],labels[66],labels[67],labels[68],labels[69],labels[70],labels[71],labels[72],labels[73],labels[74],labels[75],labels[76],labels[77],labels[78],labels[79],labels[80],labels[81],labels[82],labels[83],labels[84],labels[85],labels[86],labels[87],labels[88],labels[89],labels[90],labels[91],labels[92],labels[93],labels[94],labels[95],labels[96],labels[97],labels[98],labels[99],labels[100],cluSiz[1],cluSiz[2],cluSiz[3],cluSiz[4],cluSiz[5]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005762/0.6488, allocations: 474.6 kB / 1.058 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.649, allocations: 137.7 kB / 1.059 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000364/0.6493, allocations: 156 kB / 1.059 GB, free: 10.13 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.6493, allocations: 0 / 1.059 GB, free: 10.13 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.6493, allocations: 0 / 1.059 GB, free: 10.13 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.6494, allocations: 0 / 1.059 GB, free: 10.13 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006898/0.6501, allocations: 0.7711 MB / 1.059 GB, free: 9.305 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.6501, allocations: 0 / 1.059 GB, free: 9.305 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.185e-05/0.6501, allocations: 15.92 kB / 1.059 GB, free: 9.289 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.6502, allocations: 0 / 1.059 GB, free: 9.289 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.6502, allocations: 0 / 1.059 GB, free: 9.289 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.573e-06/0.6502, allocations: 7.953 kB / 1.06 GB, free: 9.281 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.6502, allocations: 8.016 kB / 1.06 GB, free: 9.273 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009478/0.6511, allocations: 1.068 MB / 1.061 GB, free: 8.18 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001927/0.6513, allocations: 222.6 kB / 1.061 GB, free: 7.941 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.6515, allocations: 4 kB / 1.061 GB, free: 7.938 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/0.6517, allocations: 15.98 kB / 1.061 GB, free: 7.922 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.952e-05/0.6517, allocations: 7.891 kB / 1.061 GB, free: 7.914 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-05/0.6517, allocations: 19.91 kB / 1.061 GB, free: 7.895 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001478/0.6532, allocations: 1.294 MB / 1.062 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6532, allocations: 0 / 1.062 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001413/0.6547, allocations: 0.6247 MB / 1.063 GB, free: 5.961 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001961/0.6566, allocations: 0.6777 MB / 1.063 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002937/0.6596, allocations: 3.564 MB / 1.067 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.6596, allocations: 3.938 kB / 1.067 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003083/0.6599, allocations: 335.8 kB / 1.067 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.6603, allocations: 55.91 kB / 1.067 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003414/0.6637, allocations: 3.074 MB / 1.07 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007478/0.6645, allocations: 1.235 MB / 1.071 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001756/0.6647, allocations: 32.56 kB / 1.071 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.492e-05/0.6648, allocations: 27.41 kB / 1.071 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of SimCode: time 6.82e-07/0.6648, allocations: 0 / 1.071 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of Templates: time 0.02354/0.6883, allocations: 13.83 MB / 1.085 GB, free: 15.11 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)