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_SmallScaleValidation.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_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.731/1.731, allocations: 293 MB / 309 MB, free: 4.812 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.001099/0.001099, allocations: 178.7 kB / 378.7 MB, free: 1.027 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.625/1.625, allocations: 205.4 MB / 0.6383 GB, free: 8.219 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.000719/0.000719, allocations: 90.34 kB / 0.7527 GB, free: 62.7 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004003/0.0004007, allocations: 12 kB / 0.8768 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2676, allocations: 116.4 MB / 0.9905 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6968/0.9644, allocations: 158.5 MB / 1.145 GB, free: 21.28 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/0.9648, allocations: 115.6 kB / 1.145 GB, free: 21.19 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.09093/1.056, allocations: 29.84 MB / 1.174 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.204e-06/1.056, allocations: 0.9375 kB / 1.174 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.035e-05/1.056, allocations: 12 kB / 1.174 GB, free: 9.195 MB / 0.7448 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.002124/1.058, allocations: 1.205 MB / 1.176 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/1.058, allocations: 8.031 kB / 1.176 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003429/1.058, allocations: 99.59 kB / 1.176 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006473/1.059, allocations: 477.9 kB / 1.176 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/1.059, allocations: 24.38 kB / 1.176 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.893e-05/1.059, allocations: 32.38 kB / 1.176 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004279/1.06, allocations: 391.7 kB / 1.177 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/1.06, allocations: 4.188 kB / 1.177 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/1.06, allocations: 8.594 kB / 1.177 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/1.06, allocations: 0 / 1.177 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004166/1.06, allocations: 435.7 kB / 1.177 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000717/1.061, allocations: 0.7743 MB / 1.178 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005128/1.061, allocations: 0.5594 MB / 1.178 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003247/1.062, allocations: 333.7 kB / 1.179 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009789/1.063, allocations: 1.036 MB / 1.18 GB, free: 3.438 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004055/1.063, allocations: 398.8 kB / 1.18 GB, free: 3.031 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/1.063, allocations: 0 / 1.18 GB, free: 3.031 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.00136/1.064, allocations: 1.313 MB / 1.181 GB, free: 1.711 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.992e-05/1.064, allocations: 89.05 kB / 1.181 GB, free: 1.605 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001296/1.066, allocations: 1.269 MB / 1.183 GB, free: 332 kB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.923e-05/1.066, allocations: 41.7 kB / 1.183 GB, free: 284 kB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002444/1.066, allocations: 294 kB / 1.183 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.249e-05/1.066, allocations: 23.7 kB / 1.183 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.491e-05/1.066, allocations: 20.12 kB / 1.183 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002058/1.066, allocations: 424.5 kB / 1.183 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/1.068, allocations: 1.218 MB / 1.185 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001452/1.069, allocations: 1.361 MB / 1.186 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005169/1.074, allocations: 2.754 MB / 1.189 GB, free: 10.09 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/1.074, allocations: 0 / 1.189 GB, free: 10.09 MB / 0.7605 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004183/1.079, allocations: 3.453 MB / 1.192 GB, free: 6.598 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/1.079, allocations: 11.94 kB / 1.192 GB, free: 6.586 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/1.079, allocations: 0 / 1.192 GB, free: 6.586 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/1.079, allocations: 4.938 kB / 1.192 GB, free: 6.582 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006237/1.079, allocations: 143.8 kB / 1.192 GB, free: 6.441 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/1.079, allocations: 8.031 kB / 1.192 GB, free: 6.434 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005898/1.08, allocations: 240.3 kB / 1.192 GB, free: 6.195 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.168e-05/1.08, allocations: 55.98 kB / 1.192 GB, free: 6.141 MB / 0.7605 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.000378/1.08, allocations: 273.5 kB / 1.193 GB, free: 5.863 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.876e-05/1.081, allocations: 78.61 kB / 1.193 GB, free: 5.785 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/1.082, allocations: 0.9537 MB / 1.194 GB, free: 4.824 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/1.082, allocations: 0 / 1.194 GB, free: 4.824 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/1.082, allocations: 0 / 1.194 GB, free: 4.824 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/1.082, allocations: 0 / 1.194 GB, free: 4.824 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004667/1.082, allocations: 0.5138 MB / 1.194 GB, free: 4.266 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/1.082, allocations: 0 / 1.194 GB, free: 4.266 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.919e-05/1.082, allocations: 11.97 kB / 1.194 GB, free: 4.254 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/1.082, allocations: 3.938 kB / 1.194 GB, free: 4.25 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/1.082, allocations: 5.219 kB / 1.194 GB, free: 4.246 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/1.082, allocations: 2.281 kB / 1.194 GB, free: 4.246 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.082, allocations: 4 kB / 1.194 GB, free: 4.242 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008337/1.083, allocations: 1.01 MB / 1.195 GB, free: 3.211 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/1.083, allocations: 159.8 kB / 1.195 GB, free: 3.035 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.661e-05/1.083, allocations: 3.938 kB / 1.195 GB, free: 3.031 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/1.083, allocations: 11.98 kB / 1.195 GB, free: 3.02 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.595e-05/1.083, allocations: 4 kB / 1.195 GB, free: 3.016 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.846e-05/1.083, allocations: 19.91 kB / 1.195 GB, free: 2.996 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0007696/1.084, allocations: 0.7062 MB / 1.196 GB, free: 2.285 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.3e-07/1.084, allocations: 0 / 1.196 GB, free: 2.285 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001455/1.086, allocations: 0.4916 MB / 1.197 GB, free: 1.793 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.001437/1.087, allocations: 0.6524 MB / 1.197 GB, free: 1.137 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.002173/1.089, allocations: 2.363 MB / 1.2 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/1.089, allocations: 0 / 1.2 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003309/1.09, allocations: 341 kB / 1.2 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/1.09, allocations: 47.84 kB / 1.2 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002203/1.092, allocations: 1.992 MB / 1.202 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005418/1.093, allocations: 0.9851 MB / 1.203 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002047/1.093, allocations: 59.91 kB / 1.203 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/1.093, allocations: 43.41 kB / 1.203 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of SimCode: time 2.3e-07/1.093, allocations: 0 / 1.203 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of Templates: time 0.0201/1.113, allocations: 11.19 MB / 1.214 GB, free: 172 kB / 0.7761 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)