Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.701/1.701, allocations: 285.6 MB / 293.1 MB, free: 10.22 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.001158/0.001158, allocations: 172.9 kB / 361.4 MB, free: 6.82 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.534/1.534, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0009685/0.0009685, allocations: 85.11 kB / 0.733 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.94e-05/2.944e-05, allocations: 4 kB / 0.8519 GB, free: 2.621 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.72/0.7201, allocations: 115.3 MB / 0.9645 GB, free: 78.77 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2155/0.9356, allocations: 156.7 MB / 1.117 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003326/0.936, allocations: 116.3 kB / 1.118 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.1087/1.045, allocations: 29.46 MB / 1.146 GB, free: 1.633 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.453e-06/1.045, allocations: 0 / 1.146 GB, free: 1.633 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.682e-05/1.045, allocations: 20 kB / 1.146 GB, free: 1.613 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.002626/1.047, allocations: 1.048 MB / 1.147 GB, free: 0.5195 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/1.048, allocations: 8.031 kB / 1.147 GB, free: 0.5117 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004485/1.048, allocations: 106.6 kB / 1.148 GB, free: 416 kB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009366/1.049, allocations: 460.9 kB / 1.148 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/1.049, allocations: 3.984 kB / 1.148 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.393e-05/1.049, allocations: 24 kB / 1.148 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004795/1.05, allocations: 423.7 kB / 1.148 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004895/1.05, allocations: 384.4 kB / 1.149 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/1.05, allocations: 0 / 1.149 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/1.05, allocations: 4.875 kB / 1.149 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/1.05, allocations: 0 / 1.149 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/1.051, allocations: 0.7225 MB / 1.149 GB, free: 14.31 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005142/1.052, allocations: 0.5555 MB / 1.15 GB, free: 13.74 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003097/1.052, allocations: 329.7 kB / 1.15 GB, free: 13.41 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001159/1.053, allocations: 1.04 MB / 1.151 GB, free: 12.15 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004275/1.054, allocations: 396.9 kB / 1.152 GB, free: 11.74 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=8): time 2.204e-06/1.054, allocations: 0 / 1.152 GB, free: 11.74 MB / 0.7605 GB Notification: Performance of matching and sorting (n=8): time 0.001086/1.055, allocations: 0.9647 MB / 1.153 GB, free: 10.77 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/1.055, allocations: 85.11 kB / 1.153 GB, free: 10.67 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001366/1.056, allocations: 1.06 MB / 1.154 GB, free: 9.598 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 6.693e-05/1.056, allocations: 25.7 kB / 1.154 GB, free: 9.566 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002933/1.057, allocations: 289.4 kB / 1.154 GB, free: 9.281 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.627e-05/1.057, allocations: 19.72 kB / 1.154 GB, free: 9.262 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.212e-05/1.057, allocations: 0 / 1.154 GB, free: 9.262 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002329/1.057, allocations: 427.8 kB / 1.154 GB, free: 8.836 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001365/1.058, allocations: 1.194 MB / 1.156 GB, free: 7.637 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00143/1.06, allocations: 1.324 MB / 1.157 GB, free: 6.305 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001819/1.062, allocations: 1.579 MB / 1.158 GB, free: 4.711 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/1.062, allocations: 4 kB / 1.158 GB, free: 4.707 MB / 0.7605 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004826/1.066, allocations: 3.391 MB / 1.162 GB, free: 1.281 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/1.066, allocations: 5.094 kB / 1.162 GB, free: 1.277 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.363e-05/1.067, allocations: 1.5 kB / 1.162 GB, free: 1.277 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.731e-05/1.067, allocations: 4 kB / 1.162 GB, free: 1.273 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006986/1.067, allocations: 143.8 kB / 1.162 GB, free: 1.133 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.21e-05/1.067, allocations: 5.719 kB / 1.162 GB, free: 1.129 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007625/1.068, allocations: 232.2 kB / 1.162 GB, free: 0.8984 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/1.068, allocations: 55.98 kB / 1.162 GB, free: 0.8438 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 () * 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.0001776/1.068, allocations: 124.8 kB / 1.162 GB, free: 0.7148 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009626/1.069, allocations: 0.9608 MB / 1.163 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/1.069, allocations: 70.69 kB / 1.163 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/1.071, allocations: 0.9329 MB / 1.164 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/1.071, allocations: 4 kB / 1.164 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/1.071, allocations: 3.938 kB / 1.164 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/1.071, allocations: 0 / 1.164 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005966/1.071, allocations: 0.4933 MB / 1.165 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/1.071, allocations: 2.5 kB / 1.165 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.044e-05/1.071, allocations: 8 kB / 1.165 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/1.071, allocations: 3.984 kB / 1.165 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/1.071, allocations: 0 / 1.165 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/1.071, allocations: 4 kB / 1.165 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.071, allocations: 0 / 1.165 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009502/1.072, allocations: 1.025 MB / 1.166 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001911/1.072, allocations: 155.8 kB / 1.166 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.174e-05/1.073, allocations: 4 kB / 1.166 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/1.073, allocations: 7.984 kB / 1.166 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/1.073, allocations: 4 kB / 1.166 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.982e-05/1.073, allocations: 15.97 kB / 1.166 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0007741/1.074, allocations: 0.64 MB / 1.167 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4.01e-07/1.074, allocations: 4 kB / 1.167 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001706/1.075, allocations: 491.3 kB / 1.167 GB, free: 11.8 MB / 0.7761 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.003994/1.079, allocations: 2.172 MB / 1.169 GB, free: 9.59 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00261/1.082, allocations: 2.326 MB / 1.171 GB, free: 7.254 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/1.082, allocations: 0 / 1.171 GB, free: 7.254 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003285/1.082, allocations: 339.8 kB / 1.172 GB, free: 6.922 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004666/1.083, allocations: 47.56 kB / 1.172 GB, free: 6.875 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00349/1.086, allocations: 1.845 MB / 1.174 GB, free: 4.98 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006648/1.087, allocations: 1.002 MB / 1.175 GB, free: 3.953 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002572/1.087, allocations: 63.27 kB / 1.175 GB, free: 3.895 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003671/1.088, allocations: 299.1 kB / 1.175 GB, free: 3.605 MB / 0.7761 GB Notification: Performance of SimCode: time 9.82e-07/1.088, allocations: 0 / 1.175 GB, free: 3.605 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04452/1.132, allocations: 17.94 MB / 1.192 GB, free: 1.797 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002459/1.133, allocations: 248.7 kB / 1.193 GB, free: 1.512 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.756/3.889, allocations: 1.5 kB / 1.193 GB, free: 1.512 MB / 0.7917 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)