Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.734/1.734, allocations: 293 MB / 309 MB, free: 4.832 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001376/0.001376, allocations: 180.6 kB / 378.7 MB, free: 1.02 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.608/1.608, allocations: 205.4 MB / 0.6383 GB, free: 9.16 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007655/0.0007658, allocations: 97.27 kB / 0.7527 GB, free: 62.49 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003815/0.0003817, allocations: 16 kB / 0.8768 GB, free: 10.51 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2499, allocations: 116.4 MB / 0.9905 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6911/0.941, allocations: 154 MB / 1.141 GB, free: 24.71 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003244/0.9414, allocations: 112.6 kB / 1.141 GB, free: 24.63 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.07042/1.012, allocations: 21.93 MB / 1.162 GB, free: 5.715 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.345e-06/1.012, allocations: 0 / 1.162 GB, free: 5.715 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.306e-05/1.012, allocations: 16 kB / 1.162 GB, free: 5.699 MB / 0.7292 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.002349/1.014, allocations: 1.146 MB / 1.163 GB, free: 4.504 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/1.014, allocations: 12.03 kB / 1.164 GB, free: 4.492 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003614/1.015, allocations: 91.69 kB / 1.164 GB, free: 4.402 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005384/1.015, allocations: 428.7 kB / 1.164 GB, free: 3.934 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/1.015, allocations: 28.36 kB / 1.164 GB, free: 3.906 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.86e-05/1.015, allocations: 36.38 kB / 1.164 GB, free: 3.871 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003405/1.016, allocations: 388.5 kB / 1.164 GB, free: 3.48 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/1.016, allocations: 192 / 1.164 GB, free: 3.48 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/1.016, allocations: 3.938 kB / 1.164 GB, free: 3.477 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/1.016, allocations: 7.984 kB / 1.164 GB, free: 3.469 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000314/1.016, allocations: 431.7 kB / 1.165 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006489/1.017, allocations: 0.7418 MB / 1.166 GB, free: 2.254 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003598/1.017, allocations: 0.5594 MB / 1.166 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002188/1.017, allocations: 337.7 kB / 1.166 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007036/1.018, allocations: 1.036 MB / 1.167 GB, free: 84 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000408/1.018, allocations: 398.4 kB / 1.168 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.623e-06/1.018, allocations: 4 kB / 1.168 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.00138/1.02, allocations: 1.309 MB / 1.169 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.078e-05/1.02, allocations: 81.11 kB / 1.169 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/1.021, allocations: 1.194 MB / 1.17 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.165e-05/1.021, allocations: 45.69 kB / 1.17 GB, free: 13 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002459/1.022, allocations: 273.9 kB / 1.171 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.696e-05/1.022, allocations: 23.73 kB / 1.171 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.446e-05/1.022, allocations: 20.12 kB / 1.171 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002001/1.022, allocations: 415.8 kB / 1.171 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001367/1.023, allocations: 1.222 MB / 1.172 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001429/1.025, allocations: 1.358 MB / 1.174 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005213/1.03, allocations: 2.754 MB / 1.176 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/1.03, allocations: 0 / 1.176 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004285/1.034, allocations: 3.448 MB / 1.18 GB, free: 3.352 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/1.034, allocations: 11.94 kB / 1.18 GB, free: 3.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/1.034, allocations: 0 / 1.18 GB, free: 3.34 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/1.034, allocations: 4 kB / 1.18 GB, free: 3.336 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006071/1.035, allocations: 143.8 kB / 1.18 GB, free: 3.195 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.152e-05/1.035, allocations: 4 kB / 1.18 GB, free: 3.191 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005504/1.036, allocations: 240.3 kB / 1.18 GB, free: 2.953 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.567e-05/1.036, allocations: 60.53 kB / 1.18 GB, free: 2.895 MB / 0.7448 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.0003586/1.036, allocations: 261.5 kB / 1.18 GB, free: 2.629 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.194e-05/1.036, allocations: 66.72 kB / 1.18 GB, free: 2.562 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/1.037, allocations: 0.9455 MB / 1.181 GB, free: 1.605 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/1.037, allocations: 0 / 1.181 GB, free: 1.605 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/1.037, allocations: 4 kB / 1.181 GB, free: 1.602 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/1.037, allocations: 0 / 1.181 GB, free: 1.602 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004846/1.038, allocations: 497.5 kB / 1.182 GB, free: 1.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/1.038, allocations: 0 / 1.182 GB, free: 1.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.641e-05/1.038, allocations: 12.92 kB / 1.182 GB, free: 1.059 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/1.038, allocations: 3.938 kB / 1.182 GB, free: 1.055 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/1.038, allocations: 0 / 1.182 GB, free: 1.055 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/1.038, allocations: 8.031 kB / 1.182 GB, free: 1.047 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.038, allocations: 3.938 kB / 1.182 GB, free: 1.043 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008842/1.039, allocations: 0.9982 MB / 1.183 GB, free: 24 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001572/1.039, allocations: 152.7 kB / 1.183 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.57e-05/1.039, allocations: 5.188 kB / 1.183 GB, free: 15.85 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/1.039, allocations: 11.98 kB / 1.183 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.353e-05/1.039, allocations: 7.938 kB / 1.183 GB, free: 15.83 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.525e-05/1.039, allocations: 15.97 kB / 1.183 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0007932/1.04, allocations: 0.6531 MB / 1.184 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.2e-07/1.04, allocations: 0 / 1.184 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001822/1.042, allocations: 499.4 kB / 1.184 GB, free: 14.67 MB / 0.7605 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.002393/1.044, allocations: 0.5641 MB / 1.185 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.002466/1.047, allocations: 2.367 MB / 1.187 GB, free: 11.72 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.047, allocations: 0 / 1.187 GB, free: 11.72 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003185/1.047, allocations: 336.5 kB / 1.187 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/1.048, allocations: 37.59 kB / 1.187 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/1.05, allocations: 1.85 MB / 1.189 GB, free: 9.477 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005443/1.05, allocations: 0.9653 MB / 1.19 GB, free: 8.484 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.000218/1.051, allocations: 52.45 kB / 1.19 GB, free: 8.434 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/1.051, allocations: 40.53 kB / 1.19 GB, free: 8.395 MB / 0.7605 GB Notification: Performance of SimCode: time 5.21e-07/1.051, allocations: 0 / 1.19 GB, free: 8.395 MB / 0.7605 GB Notification: Performance of Templates: time 0.01867/1.069, allocations: 9.434 MB / 1.199 GB, free: 15.04 MB / 0.7761 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)