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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.684/1.684, allocations: 289.9 MB / 297.4 MB, free: 6.324 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.001213/0.001213, allocations: 188.8 kB / 366.7 MB, free: 1.613 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.677/1.677, allocations: 205.2 MB / 0.626 GB, free: 7.145 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.0009513/0.0009514, allocations: 82.95 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.203e-05/3.205e-05, allocations: 4 kB / 0.8598 GB, free: 12.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7294/0.7295, allocations: 116.3 MB / 0.9734 GB, free: 76.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2019/0.9314, allocations: 157.7 MB / 1.127 GB, free: 8.336 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003131/0.9318, allocations: 111.9 kB / 1.127 GB, free: 8.227 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.1059/1.038, allocations: 29.47 MB / 1.156 GB, free: 10.79 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.284e-06/1.038, allocations: 0 / 1.156 GB, free: 10.79 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.225e-05/1.038, allocations: 16 kB / 1.156 GB, free: 10.77 MB / 0.7605 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.002093/1.04, allocations: 1.056 MB / 1.157 GB, free: 9.668 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/1.04, allocations: 12.03 kB / 1.157 GB, free: 9.656 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000374/1.04, allocations: 106.6 kB / 1.157 GB, free: 9.551 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006702/1.041, allocations: 456.8 kB / 1.158 GB, free: 9.055 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/1.041, allocations: 7.984 kB / 1.158 GB, free: 9.047 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.453e-05/1.041, allocations: 20 kB / 1.158 GB, free: 9.027 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003859/1.042, allocations: 427.7 kB / 1.158 GB, free: 8.609 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003748/1.042, allocations: 379.2 kB / 1.159 GB, free: 8.227 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/1.042, allocations: 0 / 1.159 GB, free: 8.227 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/1.042, allocations: 8 kB / 1.159 GB, free: 8.219 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/1.042, allocations: 0 / 1.159 GB, free: 8.219 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007057/1.043, allocations: 0.7186 MB / 1.159 GB, free: 7.461 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000503/1.043, allocations: 0.5632 MB / 1.16 GB, free: 6.879 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002748/1.043, allocations: 329.7 kB / 1.16 GB, free: 6.551 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00101/1.044, allocations: 1.032 MB / 1.161 GB, free: 5.297 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003592/1.045, allocations: 398.9 kB / 1.162 GB, free: 4.891 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/1.045, allocations: 0 / 1.162 GB, free: 4.891 MB / 0.7605 GB Notification: Performance of matching and sorting (n=8): time 0.0009367/1.046, allocations: 0.9686 MB / 1.163 GB, free: 3.914 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/1.046, allocations: 81.11 kB / 1.163 GB, free: 3.816 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/1.047, allocations: 1.06 MB / 1.164 GB, free: 2.746 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 6.504e-05/1.047, allocations: 29.7 kB / 1.164 GB, free: 2.711 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000223/1.047, allocations: 286.1 kB / 1.164 GB, free: 2.426 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/1.047, allocations: 19.72 kB / 1.164 GB, free: 2.406 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.319e-05/1.047, allocations: 0 / 1.164 GB, free: 2.406 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001912/1.048, allocations: 429.8 kB / 1.164 GB, free: 1.98 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/1.049, allocations: 1.194 MB / 1.166 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001315/1.05, allocations: 1.324 MB / 1.167 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001595/1.052, allocations: 1.583 MB / 1.168 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/1.052, allocations: 0 / 1.168 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00401/1.056, allocations: 3.387 MB / 1.172 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/1.056, allocations: 8 kB / 1.172 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/1.056, allocations: 0 / 1.172 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/1.056, allocations: 4 kB / 1.172 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006772/1.056, allocations: 139.8 kB / 1.172 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/1.056, allocations: 4 kB / 1.172 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005702/1.057, allocations: 236.2 kB / 1.172 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.07e-05/1.057, allocations: 54.98 kB / 1.172 GB, free: 9.988 MB / 0.7761 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.0001395/1.057, allocations: 126.5 kB / 1.172 GB, free: 9.859 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008727/1.058, allocations: 0.9608 MB / 1.173 GB, free: 8.891 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.837e-05/1.058, allocations: 70.69 kB / 1.173 GB, free: 8.82 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009318/1.059, allocations: 0.9332 MB / 1.174 GB, free: 7.875 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/1.059, allocations: 3.984 kB / 1.174 GB, free: 7.871 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/1.059, allocations: 0 / 1.174 GB, free: 7.871 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/1.059, allocations: 7.938 kB / 1.174 GB, free: 7.863 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004775/1.06, allocations: 0.4971 MB / 1.175 GB, free: 7.336 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/1.06, allocations: 0 / 1.175 GB, free: 7.336 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.351e-05/1.06, allocations: 7.938 kB / 1.175 GB, free: 7.328 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/1.06, allocations: 3.984 kB / 1.175 GB, free: 7.324 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/1.06, allocations: 4 kB / 1.175 GB, free: 7.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/1.06, allocations: 0 / 1.175 GB, free: 7.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.06, allocations: 0 / 1.175 GB, free: 7.32 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008504/1.061, allocations: 1.013 MB / 1.176 GB, free: 6.281 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/1.061, allocations: 155.8 kB / 1.176 GB, free: 6.109 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.674e-05/1.061, allocations: 8 kB / 1.176 GB, free: 6.102 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/1.061, allocations: 3.984 kB / 1.176 GB, free: 6.098 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/1.061, allocations: 4 kB / 1.176 GB, free: 6.094 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.923e-05/1.061, allocations: 15.97 kB / 1.176 GB, free: 6.078 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0006787/1.062, allocations: 0.64 MB / 1.176 GB, free: 5.434 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.81e-07/1.062, allocations: 7.938 kB / 1.176 GB, free: 5.426 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001555/1.063, allocations: 492.7 kB / 1.177 GB, free: 4.945 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.002778/1.066, allocations: 2.171 MB / 1.179 GB, free: 2.746 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00212/1.068, allocations: 2.326 MB / 1.181 GB, free: 424 kB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/1.068, allocations: 0 / 1.181 GB, free: 424 kB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002722/1.069, allocations: 339.7 kB / 1.182 GB, free: 84 kB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/1.069, allocations: 50.36 kB / 1.182 GB, free: 32 kB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002539/1.072, allocations: 1.845 MB / 1.184 GB, free: 14.14 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005861/1.072, allocations: 1.006 MB / 1.185 GB, free: 13.11 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002108/1.072, allocations: 59.27 kB / 1.185 GB, free: 13.05 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003342/1.073, allocations: 299.3 kB / 1.185 GB, free: 12.76 MB / 0.7917 GB Notification: Performance of SimCode: time 3.71e-07/1.073, allocations: 0 / 1.185 GB, free: 12.76 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04314/1.116, allocations: 17.94 MB / 1.202 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002458/1.116, allocations: 242.5 kB / 1.203 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.917/4.033, allocations: 4.031 kB / 1.203 GB, free: 10.64 MB / 0.8073 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)