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 9.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 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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_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="empty",numberOfIntervals=5000,variableFilter="",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 9.0.0-master/package.mo): time 1.661/1.661, allocations: 297.8 MB / 313.7 MB, free: 144 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 170.9 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 223.2 MB / 0.6626 GB, free: 4.293 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007614/0.0007616, allocations: 93.5 kB / 0.7808 GB, free: 50.17 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003902/0.0003903, allocations: 16 kB / 0.9088 GB, free: 2.859 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6646/0.665, allocations: 120.3 MB / 1.026 GB, free: 56.03 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1938/0.8588, allocations: 156.2 MB / 1.179 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003035/0.8592, allocations: 113.3 kB / 1.179 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.09639/0.9556, allocations: 25.34 MB / 1.204 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.715e-06/0.9556, allocations: 4 kB / 1.204 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.563e-05/0.9557, allocations: 20 kB / 1.204 GB, free: 12.48 MB / 0.7761 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.003523/0.9592, allocations: 1.61 MB / 1.205 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.9593, allocations: 8.031 kB / 1.205 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005161/0.9598, allocations: 154.9 kB / 1.205 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.961, allocations: 0.6811 MB / 1.206 GB, free: 9.895 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.555e-05/0.961, allocations: 35.83 kB / 1.206 GB, free: 9.863 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.9611, allocations: 32.38 kB / 1.206 GB, free: 9.832 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004522/0.9616, allocations: 388.6 kB / 1.207 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.9616, allocations: 192 / 1.207 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/0.9617, allocations: 11.88 kB / 1.207 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.9617, allocations: 7.938 kB / 1.207 GB, free: 9.422 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004219/0.9621, allocations: 436.9 kB / 1.207 GB, free: 8.996 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001276/0.9634, allocations: 0.9828 MB / 1.208 GB, free: 7.949 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005015/0.9639, allocations: 0.5611 MB / 1.209 GB, free: 7.371 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003019/0.9642, allocations: 337.7 kB / 1.209 GB, free: 7.035 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001007/0.9652, allocations: 1.038 MB / 1.21 GB, free: 5.777 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004203/0.9657, allocations: 406 kB / 1.21 GB, free: 5.363 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.653e-06/0.9657, allocations: 4 kB / 1.21 GB, free: 5.359 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.001567/0.9672, allocations: 1.347 MB / 1.212 GB, free: 4.004 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.139e-05/0.9673, allocations: 93.03 kB / 1.212 GB, free: 3.895 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002535/0.9699, allocations: 1.85 MB / 1.213 GB, free: 1.996 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001046/0.97, allocations: 41.7 kB / 1.213 GB, free: 1.949 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004867/0.9705, allocations: 498 kB / 1.214 GB, free: 1.457 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.068e-05/0.9705, allocations: 20.64 kB / 1.214 GB, free: 1.438 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.427e-05/0.9706, allocations: 20 kB / 1.214 GB, free: 1.418 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001881/0.9708, allocations: 403 kB / 1.214 GB, free: 1.02 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001725/0.9725, allocations: 1.479 MB / 1.216 GB, free: 15.53 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001764/0.9743, allocations: 1.619 MB / 1.217 GB, free: 13.9 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005605/0.9799, allocations: 3.015 MB / 1.22 GB, free: 10.8 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.289e-06/0.98, allocations: 0 / 1.22 GB, free: 10.8 MB / 0.7917 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.006211/0.9862, allocations: 4.036 MB / 1.224 GB, free: 6.723 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/0.9863, allocations: 7.938 kB / 1.224 GB, free: 6.715 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.605e-05/0.9863, allocations: 21.22 kB / 1.224 GB, free: 6.695 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.849e-05/0.9864, allocations: 8.031 kB / 1.224 GB, free: 6.688 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000646/0.987, allocations: 147.8 kB / 1.224 GB, free: 6.543 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.976e-05/0.9871, allocations: 7.984 kB / 1.224 GB, free: 6.535 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009377/0.988, allocations: 240.3 kB / 1.225 GB, free: 6.297 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/0.9881, allocations: 95.92 kB / 1.225 GB, free: 6.203 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0006194/0.9888, allocations: 387 kB / 1.225 GB, free: 5.816 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001995/0.989, allocations: 122 kB / 1.225 GB, free: 5.695 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/0.9902, allocations: 1.026 MB / 1.226 GB, free: 4.664 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.9902, allocations: 0 / 1.226 GB, free: 4.664 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.9902, allocations: 4 kB / 1.226 GB, free: 4.66 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.9902, allocations: 0 / 1.226 GB, free: 4.66 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008809/0.9911, allocations: 0.6717 MB / 1.227 GB, free: 3.93 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.9911, allocations: 0.75 kB / 1.227 GB, free: 3.93 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.039e-05/0.9912, allocations: 7.984 kB / 1.227 GB, free: 3.922 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.9912, allocations: 7.969 kB / 1.227 GB, free: 3.914 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.9913, allocations: 4 kB / 1.227 GB, free: 3.91 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.9913, allocations: 3.188 kB / 1.227 GB, free: 3.91 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.9913, allocations: 0 / 1.227 GB, free: 3.91 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.9923, allocations: 1.064 MB / 1.228 GB, free: 2.82 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002759/0.9926, allocations: 208 kB / 1.228 GB, free: 2.598 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001673/0.9928, allocations: 11.92 kB / 1.228 GB, free: 2.586 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003368/0.9931, allocations: 4 kB / 1.228 GB, free: 2.582 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.431e-05/0.9932, allocations: 3.984 kB / 1.228 GB, free: 2.578 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.405e-05/0.9932, allocations: 13.06 kB / 1.228 GB, free: 2.566 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001434/0.9947, allocations: 1.112 MB / 1.229 GB, free: 1.43 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9947, allocations: 0 / 1.229 GB, free: 1.43 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001747/0.9964, allocations: 0.5189 MB / 1.23 GB, free: 0.9102 MB / 0.7917 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.002297/0.9988, allocations: 0.566 MB / 1.23 GB, free: 344 kB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002718/1.001, allocations: 2.513 MB / 1.233 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.002, allocations: 0 / 1.233 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0003412/1.002, allocations: 343.9 kB / 1.233 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007178/1.003, allocations: 63.58 kB / 1.233 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003677/1.006, allocations: 2.722 MB / 1.236 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007804/1.007, allocations: 1.163 MB / 1.237 GB, free: 9.469 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0004731/1.008, allocations: 123.5 kB / 1.237 GB, free: 9.344 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/1.008, allocations: 67.39 kB / 1.237 GB, free: 9.281 MB / 0.8073 GB Notification: Performance of SimCode: time 6.31e-07/1.008, allocations: 0 / 1.237 GB, free: 9.281 MB / 0.8073 GB Notification: Performance of Templates: time 0.02382/1.032, allocations: 11.72 MB / 1.249 GB, free: 13.64 MB / 0.823 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 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)