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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.321/2.321, allocations: 390.5 MB / 398 MB, free: 10.93 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 171.3 kB / 491.2 MB, free: 1.59 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 221.5 MB / 0.7868 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009211/0.0009211, allocations: 101.4 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.219e-05/2.222e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3499, allocations: 143 MB / 1.212 GB, free: 39.49 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.067/1.417, allocations: 172.8 MB / 1.381 GB, free: 15.34 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002906/1.417, allocations: 114.2 kB / 1.381 GB, free: 15.32 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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 FrontEnd - DAE generated: time 0.1224/1.54, allocations: 34.28 MB / 1.415 GB, free: 10.83 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.274e-06/1.54, allocations: 4 kB / 1.415 GB, free: 10.82 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.305e-05/1.54, allocations: 27.94 kB / 1.415 GB, free: 10.8 MB / 0.8386 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.003566/1.543, allocations: 1.583 MB / 1.416 GB, free: 9.262 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/1.543, allocations: 8.031 kB / 1.416 GB, free: 9.254 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004957/1.544, allocations: 177.6 kB / 1.416 GB, free: 9.078 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/1.545, allocations: 0.7847 MB / 1.417 GB, free: 8.277 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/1.545, allocations: 8 kB / 1.417 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/1.545, allocations: 24 kB / 1.417 GB, free: 8.246 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003863/1.546, allocations: 427.5 kB / 1.418 GB, free: 7.836 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003363/1.546, allocations: 380.7 kB / 1.418 GB, free: 7.461 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/1.546, allocations: 0 / 1.418 GB, free: 7.461 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/1.546, allocations: 0 / 1.418 GB, free: 7.461 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/1.546, allocations: 7.891 kB / 1.418 GB, free: 7.453 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/1.547, allocations: 1.155 MB / 1.419 GB, free: 6.469 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000446/1.548, allocations: 0.5459 MB / 1.42 GB, free: 5.91 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002487/1.548, allocations: 331.7 kB / 1.42 GB, free: 5.586 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001075/1.549, allocations: 1.035 MB / 1.421 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003702/1.549, allocations: 403.3 kB / 1.421 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/1.549, allocations: 0 / 1.421 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.001054/1.55, allocations: 1.037 MB / 1.422 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.243e-05/1.551, allocations: 85.05 kB / 1.422 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001795/1.552, allocations: 1.836 MB / 1.424 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001008/1.552, allocations: 40.11 kB / 1.424 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004825/1.553, allocations: 0.5278 MB / 1.425 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.734e-05/1.553, allocations: 23.05 kB / 1.425 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.921e-05/1.553, allocations: 4 kB / 1.425 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002115/1.553, allocations: 445.8 kB / 1.425 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002024/1.555, allocations: 2.061 MB / 1.427 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00216/1.557, allocations: 2.235 MB / 1.429 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002629/1.56, allocations: 2.856 MB / 1.432 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/1.56, allocations: 0 / 1.432 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.007037/1.567, allocations: 6.047 MB / 1.438 GB, free: 6.09 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/1.567, allocations: 11.98 kB / 1.438 GB, free: 6.078 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001431/1.567, allocations: 56 kB / 1.438 GB, free: 6.023 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/1.567, allocations: 4 kB / 1.438 GB, free: 6.02 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006593/1.568, allocations: 144 kB / 1.438 GB, free: 5.887 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/1.568, allocations: 4 kB / 1.438 GB, free: 5.883 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/1.569, allocations: 299.2 kB / 1.439 GB, free: 5.586 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001631/1.569, allocations: 143.8 kB / 1.439 GB, free: 5.461 MB / 0.8542 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * Array equations: 1 * 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.0002465/1.57, allocations: 178.8 kB / 1.439 GB, free: 5.289 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/1.57, allocations: 145.6 kB / 1.439 GB, free: 5.145 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/1.571, allocations: 0.996 MB / 1.44 GB, free: 4.168 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/1.571, allocations: 0 / 1.44 GB, free: 4.168 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/1.571, allocations: 4.031 kB / 1.44 GB, free: 4.164 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/1.571, allocations: 4 kB / 1.44 GB, free: 4.16 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008452/1.572, allocations: 0.7455 MB / 1.441 GB, free: 3.531 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/1.572, allocations: 0 / 1.441 GB, free: 3.531 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.518e-05/1.572, allocations: 7.984 kB / 1.441 GB, free: 3.523 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/1.572, allocations: 4 kB / 1.441 GB, free: 3.52 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/1.572, allocations: 3.562 kB / 1.441 GB, free: 3.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/1.572, allocations: 3.938 kB / 1.441 GB, free: 3.516 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/1.572, allocations: 0 / 1.441 GB, free: 3.516 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009435/1.573, allocations: 1.094 MB / 1.442 GB, free: 2.406 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002199/1.573, allocations: 230.7 kB / 1.442 GB, free: 2.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/1.573, allocations: 7.984 kB / 1.442 GB, free: 2.152 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003339/1.574, allocations: 4 kB / 1.442 GB, free: 2.148 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.659e-05/1.574, allocations: 7.984 kB / 1.442 GB, free: 2.141 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.044e-05/1.574, allocations: 15.48 kB / 1.442 GB, free: 2.129 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001269/1.575, allocations: 1.181 MB / 1.443 GB, free: 1.16 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.31e-07/1.575, allocations: 0 / 1.443 GB, free: 1.16 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003415/1.578, allocations: 0.7312 MB / 1.444 GB, free: 460 kB / 0.8542 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) * 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.002493/1.581, allocations: 0.8108 MB / 1.445 GB, free: 15.71 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003271/1.584, allocations: 3.38 MB / 1.448 GB, free: 13.41 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/1.584, allocations: 0 / 1.448 GB, free: 13.41 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003158/1.585, allocations: 336.9 kB / 1.448 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000446/1.585, allocations: 75.06 kB / 1.449 GB, free: 13.06 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003166/1.588, allocations: 2.345 MB / 1.451 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008218/1.589, allocations: 1.269 MB / 1.452 GB, free: 9.434 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003987/1.589, allocations: 122.4 kB / 1.452 GB, free: 9.309 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/1.59, allocations: 70.12 kB / 1.452 GB, free: 9.25 MB / 0.8698 GB Notification: Performance of SimCode: time 3.41e-07/1.59, allocations: 0 / 1.452 GB, free: 9.25 MB / 0.8698 GB Notification: Performance of Templates: time 0.02746/1.617, allocations: 15.12 MB / 1.467 GB, free: 10.2 MB / 0.8855 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)