Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_latest_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_latest_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.0009613/0.0009613, allocations: 91.84 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.00111/0.00111, 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.348/1.348, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.674/2.674, allocations: 462.6 MB / 0.736 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003204/0.0003205, allocations: 9.969 kB / 0.9022 GB, free: 36.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2646, allocations: 159.6 MB / 1.058 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.00144/0.266, allocations: 1.124 MB / 1.059 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005773/0.2718, allocations: 3.938 MB / 1.063 GB, free: 188 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.838e-05/0.2719, allocations: 3.938 kB / 1.063 GB, free: 184 kB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001165/0.272, allocations: 7.922 kB / 1.063 GB, free: 176 kB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000249/0.2723, allocations: 27.91 kB / 1.063 GB, free: 148 kB / 0.8106 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.003245/0.2755, allocations: 1.121 MB / 1.064 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.2757, allocations: 103.6 kB / 1.064 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.121e-05/0.2757, allocations: 4 kB / 1.064 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.211e-05/0.2758, allocations: 55.83 kB / 1.064 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002814/0.2761, allocations: 239.7 kB / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.122e-05/0.2762, allocations: 15.94 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002854/0.279, allocations: 1.942 MB / 1.066 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0006856/0.2797, allocations: 0.7716 MB / 1.067 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001493/0.2799, allocations: 200.8 kB / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001756/0.2816, allocations: 1.684 MB / 1.069 GB, free: 10 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.2817, allocations: 0 / 1.069 GB, free: 10 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2817, allocations: 0 / 1.069 GB, free: 10 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.375e-06/0.2817, allocations: 0 / 1.069 GB, free: 10 MB / 0.8262 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.007527/0.2892, allocations: 1.875 MB / 1.071 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.2893, allocations: 8.031 kB / 1.071 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003934/0.2897, allocations: 169.5 kB / 1.071 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005337/0.2902, allocations: 0.5301 MB / 1.072 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.2902, allocations: 4 kB / 1.072 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.807e-05/0.2903, allocations: 11.95 kB / 1.072 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004043/0.2907, allocations: 387.2 kB / 1.072 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.2907, allocations: 3.938 kB / 1.072 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.2907, allocations: 3.938 kB / 1.072 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.2907, allocations: 4 kB / 1.072 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004263/0.2912, allocations: 435.7 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007572/0.2919, allocations: 0.9336 MB / 1.073 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004988/0.2924, allocations: 0.5632 MB / 1.074 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002917/0.2927, allocations: 337.7 kB / 1.074 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009121/0.2937, allocations: 1.036 MB / 1.075 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003849/0.2941, allocations: 408.8 kB / 1.076 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/0.2941, allocations: 0 / 1.076 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.001299/0.2954, allocations: 1.358 MB / 1.077 GB, free: 1.504 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.2954, allocations: 93.16 kB / 1.077 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002045/0.2975, allocations: 2.204 MB / 1.079 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.631e-05/0.2975, allocations: 33.7 kB / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003735/0.2979, allocations: 0.525 MB / 1.08 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.242e-05/0.298, allocations: 19.75 kB / 1.08 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-05/0.298, allocations: 4 kB / 1.08 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.2982, allocations: 440.9 kB / 1.08 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001663/0.2998, allocations: 2.061 MB / 1.082 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001766/0.3016, allocations: 2.23 MB / 1.084 GB, free: 9.828 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002205/0.3038, allocations: 2.984 MB / 1.087 GB, free: 6.793 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3038, allocations: 0 / 1.087 GB, free: 6.793 MB / 0.8419 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.005846/0.3097, allocations: 6.219 MB / 1.093 GB, free: 476 kB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.3097, allocations: 5.719 kB / 1.093 GB, free: 472 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.3098, allocations: 4 kB / 1.093 GB, free: 468 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.3098, allocations: 0 / 1.093 GB, free: 468 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.3099, allocations: 15.98 kB / 1.093 GB, free: 452 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.3099, allocations: 0 / 1.093 GB, free: 452 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005675/0.3105, allocations: 295.2 kB / 1.094 GB, free: 152 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.372e-05/0.3106, allocations: 35.95 kB / 1.094 GB, free: 116 kB / 0.8419 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.0005979/0.3112, allocations: 470.7 kB / 1.094 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.3113, allocations: 141.6 kB / 1.094 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003314/0.3116, allocations: 152 kB / 1.094 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.3116, allocations: 0 / 1.094 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3116, allocations: 32 / 1.094 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.3117, allocations: 8 kB / 1.094 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006395/0.3123, allocations: 0.7672 MB / 1.095 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.3123, allocations: 3.984 kB / 1.095 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.031e-05/0.3124, allocations: 11.92 kB / 1.095 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.3124, allocations: 4 kB / 1.095 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.3124, allocations: 7.953 kB / 1.095 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.3124, allocations: 0 / 1.095 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.299e-06/0.3124, allocations: 7.984 kB / 1.095 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009187/0.3134, allocations: 1.076 MB / 1.096 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001629/0.3135, allocations: 214.8 kB / 1.096 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.913e-05/0.3136, allocations: 11.92 kB / 1.096 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.3138, allocations: 7.891 kB / 1.096 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.274e-05/0.3139, allocations: 11.98 kB / 1.096 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.284e-05/0.3139, allocations: 19.92 kB / 1.096 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001419/0.3154, allocations: 1.294 MB / 1.098 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3154, allocations: 0 / 1.098 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001443/0.3168, allocations: 0.6247 MB / 1.098 GB, free: 11.16 MB / 0.8575 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.001618/0.3184, allocations: 0.6641 MB / 1.099 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002949/0.3214, allocations: 3.552 MB / 1.102 GB, free: 6.949 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3214, allocations: 4.062 kB / 1.102 GB, free: 6.945 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003106/0.3217, allocations: 331.8 kB / 1.103 GB, free: 6.621 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.3221, allocations: 71.78 kB / 1.103 GB, free: 6.547 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003279/0.3254, allocations: 3.07 MB / 1.106 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007129/0.3261, allocations: 1.235 MB / 1.107 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001775/0.3263, allocations: 36.55 kB / 1.107 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.467e-05/0.3264, allocations: 27.42 kB / 1.107 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of SimCode: time 6.01e-07/0.3264, allocations: 0 / 1.107 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of Templates: time 0.02317/0.3496, allocations: 13.84 MB / 1.121 GB, free: 4.309 MB / 0.8731 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)