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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.729/1.729, allocations: 292.6 MB / 307.5 MB, free: 5.219 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.002008/0.002007, allocations: 181 kB / 377.1 MB, free: 1.531 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.749/1.749, allocations: 205.4 MB / 0.6367 GB, free: 8.629 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.0009862/0.0009863, allocations: 91.66 kB / 0.751 GB, free: 63.29 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003434, allocations: 8 kB / 0.8748 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2893, allocations: 116.3 MB / 0.9884 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7873/1.077, allocations: 158.4 MB / 1.143 GB, free: 22.18 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003396/1.077, allocations: 122.1 kB / 1.143 GB, free: 22.09 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.09128/1.168, allocations: 29.74 MB / 1.172 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.945e-06/1.168, allocations: 4 kB / 1.172 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.784e-05/1.169, allocations: 12 kB / 1.172 GB, free: 10.32 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.002992/1.172, allocations: 1.205 MB / 1.173 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/1.172, allocations: 16.02 kB / 1.173 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004725/1.172, allocations: 98.66 kB / 1.174 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000942/1.173, allocations: 476.1 kB / 1.174 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.181e-05/1.173, allocations: 24.66 kB / 1.174 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.263e-05/1.173, allocations: 38 kB / 1.174 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004669/1.174, allocations: 391.8 kB / 1.174 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/1.174, allocations: 0 / 1.174 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/1.174, allocations: 0 / 1.174 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/1.174, allocations: 0 / 1.174 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004403/1.174, allocations: 435.8 kB / 1.175 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009371/1.175, allocations: 0.7721 MB / 1.176 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005376/1.176, allocations: 0.5595 MB / 1.176 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001027/1.177, allocations: 1.043 MB / 1.177 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004193/1.177, allocations: 400.8 kB / 1.178 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/1.177, allocations: 0 / 1.178 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.001458/1.179, allocations: 1.309 MB / 1.179 GB, free: 3.176 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/1.179, allocations: 78.05 kB / 1.179 GB, free: 3.082 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001413/1.18, allocations: 1.138 MB / 1.18 GB, free: 1.934 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.348e-05/1.18, allocations: 41.7 kB / 1.18 GB, free: 1.887 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002563/1.18, allocations: 294 kB / 1.18 GB, free: 1.594 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.384e-05/1.18, allocations: 19.8 kB / 1.18 GB, free: 1.574 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/1.181, allocations: 12.12 kB / 1.18 GB, free: 1.562 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002117/1.181, allocations: 435.8 kB / 1.181 GB, free: 1.129 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/1.182, allocations: 1.222 MB / 1.182 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001433/1.184, allocations: 1.354 MB / 1.183 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001665/1.185, allocations: 1.611 MB / 1.185 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/1.185, allocations: 4.938 kB / 1.185 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.0043/1.19, allocations: 3.451 MB / 1.188 GB, free: 9.426 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/1.19, allocations: 6.031 kB / 1.188 GB, free: 9.422 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.364e-05/1.19, allocations: 4 kB / 1.188 GB, free: 9.418 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/1.19, allocations: 4 kB / 1.188 GB, free: 9.414 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006069/1.19, allocations: 143.8 kB / 1.188 GB, free: 9.273 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/1.19, allocations: 4.859 kB / 1.188 GB, free: 9.27 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005901/1.191, allocations: 244.3 kB / 1.189 GB, free: 9.027 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/1.191, allocations: 59.97 kB / 1.189 GB, free: 8.969 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.0003587/1.191, allocations: 270.2 kB / 1.189 GB, free: 8.695 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.553e-05/1.191, allocations: 71.62 kB / 1.189 GB, free: 8.625 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/1.192, allocations: 0.9367 MB / 1.19 GB, free: 7.68 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/1.192, allocations: 11.97 kB / 1.19 GB, free: 7.668 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/1.193, allocations: 1.938 kB / 1.19 GB, free: 7.668 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/1.193, allocations: 0 / 1.19 GB, free: 7.668 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005172/1.193, allocations: 0.526 MB / 1.19 GB, free: 7.098 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/1.193, allocations: 0 / 1.19 GB, free: 7.098 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.08e-05/1.193, allocations: 7.984 kB / 1.19 GB, free: 7.09 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/1.193, allocations: 0 / 1.19 GB, free: 7.09 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/1.193, allocations: 4 kB / 1.191 GB, free: 7.086 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/1.193, allocations: 0 / 1.191 GB, free: 7.086 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/1.193, allocations: 0 / 1.191 GB, free: 7.086 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009516/1.194, allocations: 1.026 MB / 1.192 GB, free: 6.035 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/1.194, allocations: 155.8 kB / 1.192 GB, free: 5.863 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.385e-05/1.194, allocations: 7.984 kB / 1.192 GB, free: 5.855 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/1.195, allocations: 4 kB / 1.192 GB, free: 5.852 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/1.195, allocations: 19.91 kB / 1.192 GB, free: 5.832 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.676e-05/1.195, allocations: 13.73 kB / 1.192 GB, free: 5.82 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0007938/1.195, allocations: 0.7101 MB / 1.192 GB, free: 5.105 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.51e-07/1.195, allocations: 0 / 1.192 GB, free: 5.105 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001814/1.197, allocations: 0.4916 MB / 1.193 GB, free: 4.613 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.001665/1.199, allocations: 0.6451 MB / 1.194 GB, free: 3.965 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.002339/1.201, allocations: 2.372 MB / 1.196 GB, free: 1.586 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.201, allocations: 0 / 1.196 GB, free: 1.586 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003234/1.202, allocations: 331.8 kB / 1.196 GB, free: 1.262 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/1.202, allocations: 62.27 kB / 1.196 GB, free: 1.203 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/1.204, allocations: 1.97 MB / 1.198 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005992/1.205, allocations: 1.005 MB / 1.199 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002223/1.205, allocations: 63.98 kB / 1.199 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/1.205, allocations: 35.42 kB / 1.199 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of SimCode: time 1.012e-06/1.205, allocations: 0 / 1.199 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of Templates: time 0.02063/1.226, allocations: 10.93 MB / 1.21 GB, free: 3.238 MB / 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)