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.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_1borehole_5meters,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",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.608/1.608, allocations: 289.9 MB / 297.4 MB, free: 6.359 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.001066/0.001066, allocations: 176.8 kB / 366.7 MB, free: 1.656 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.567/1.567, allocations: 205.2 MB / 0.626 GB, free: 7.203 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.0008269/0.0008269, allocations: 85.94 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.418e-05/2.421e-05, allocations: 8 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7251/0.7252, allocations: 116.3 MB / 0.9734 GB, free: 76.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2186/0.9438, allocations: 153.2 MB / 1.123 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000334/0.9442, allocations: 111.9 kB / 1.123 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.08261/1.027, allocations: 21.7 MB / 1.144 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.553e-06/1.027, allocations: 0 / 1.144 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.991e-05/1.027, allocations: 16 kB / 1.144 GB, free: 7.121 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.00202/1.029, allocations: 1.02 MB / 1.145 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/1.029, allocations: 12.03 kB / 1.145 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003411/1.029, allocations: 98.7 kB / 1.145 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005724/1.03, allocations: 431.4 kB / 1.146 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/1.03, allocations: 0 / 1.146 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.139e-05/1.03, allocations: 24 kB / 1.146 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003829/1.03, allocations: 419.8 kB / 1.146 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003462/1.031, allocations: 383.2 kB / 1.147 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/1.031, allocations: 0 / 1.147 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/1.031, allocations: 0 / 1.147 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.81e-06/1.031, allocations: 4 kB / 1.147 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006499/1.031, allocations: 0.6865 MB / 1.147 GB, free: 3.922 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004568/1.032, allocations: 0.5555 MB / 1.148 GB, free: 3.348 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002633/1.032, allocations: 333.7 kB / 1.148 GB, free: 3.016 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009364/1.033, allocations: 1.032 MB / 1.149 GB, free: 1.762 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003562/1.034, allocations: 396.8 kB / 1.15 GB, free: 1.355 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/1.034, allocations: 4 kB / 1.15 GB, free: 1.352 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0009827/1.035, allocations: 0.957 MB / 1.15 GB, free: 396 kB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/1.035, allocations: 85.09 kB / 1.151 GB, free: 292 kB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009496/1.036, allocations: 0.9973 MB / 1.152 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.579e-05/1.036, allocations: 41.44 kB / 1.152 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002023/1.036, allocations: 254.1 kB / 1.152 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/1.036, allocations: 19.73 kB / 1.152 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.114e-05/1.036, allocations: 4 kB / 1.152 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000177/1.036, allocations: 419.8 kB / 1.152 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/1.037, allocations: 1.194 MB / 1.153 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/1.039, allocations: 1.324 MB / 1.155 GB, free: 12 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001573/1.04, allocations: 1.587 MB / 1.156 GB, free: 10.4 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/1.04, allocations: 3.938 kB / 1.156 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003914/1.044, allocations: 3.376 MB / 1.16 GB, free: 6.984 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/1.044, allocations: 7.984 kB / 1.16 GB, free: 6.977 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.016e-05/1.044, allocations: 8.031 kB / 1.16 GB, free: 6.969 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/1.044, allocations: 0 / 1.16 GB, free: 6.969 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006827/1.045, allocations: 147.7 kB / 1.16 GB, free: 6.824 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/1.045, allocations: 4 kB / 1.16 GB, free: 6.82 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005624/1.045, allocations: 220.4 kB / 1.16 GB, free: 6.602 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/1.046, allocations: 63.97 kB / 1.16 GB, free: 6.539 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.0001561/1.046, allocations: 116.8 kB / 1.16 GB, free: 6.418 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009401/1.047, allocations: 0.9552 MB / 1.161 GB, free: 5.457 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.715e-05/1.047, allocations: 66.78 kB / 1.161 GB, free: 5.391 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009532/1.048, allocations: 0.9205 MB / 1.162 GB, free: 4.457 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/1.048, allocations: 0 / 1.162 GB, free: 4.457 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/1.048, allocations: 4 kB / 1.162 GB, free: 4.453 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/1.048, allocations: 3.938 kB / 1.162 GB, free: 4.449 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004839/1.048, allocations: 477.6 kB / 1.162 GB, free: 3.949 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/1.048, allocations: 4 kB / 1.162 GB, free: 3.945 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.086e-05/1.048, allocations: 7.984 kB / 1.162 GB, free: 3.938 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/1.048, allocations: 4.031 kB / 1.162 GB, free: 3.934 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/1.048, allocations: 4 kB / 1.162 GB, free: 3.93 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/1.048, allocations: 0 / 1.162 GB, free: 3.93 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.048, allocations: 0 / 1.162 GB, free: 3.93 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009256/1.049, allocations: 1 MB / 1.163 GB, free: 2.902 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/1.049, allocations: 151.9 kB / 1.164 GB, free: 2.734 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.897e-05/1.05, allocations: 4 kB / 1.164 GB, free: 2.73 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/1.05, allocations: 14.55 kB / 1.164 GB, free: 2.719 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/1.05, allocations: 9.953 kB / 1.164 GB, free: 2.711 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.066e-05/1.05, allocations: 23.91 kB / 1.164 GB, free: 2.688 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0006237/1.05, allocations: 0.5869 MB / 1.164 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.715e-06/1.05, allocations: 0 / 1.164 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001882/1.052, allocations: 483.3 kB / 1.165 GB, free: 1.621 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) * 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.002698/1.055, allocations: 2.077 MB / 1.167 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002174/1.057, allocations: 2.335 MB / 1.169 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.057, allocations: 4.062 kB / 1.169 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002895/1.058, allocations: 327.8 kB / 1.169 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/1.058, allocations: 34.12 kB / 1.169 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00243/1.06, allocations: 1.767 MB / 1.171 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005646/1.061, allocations: 0.9853 MB / 1.172 GB, free: 9.977 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001998/1.061, allocations: 55.12 kB / 1.172 GB, free: 9.93 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002989/1.061, allocations: 275.3 kB / 1.172 GB, free: 9.664 MB / 0.7761 GB Notification: Performance of SimCode: time 2.81e-07/1.061, allocations: 0 / 1.172 GB, free: 9.664 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04071/1.102, allocations: 16.09 MB / 1.188 GB, free: 9.652 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002453/1.102, allocations: 227.1 kB / 1.188 GB, free: 9.367 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.753/3.856, allocations: 1.016 kB / 1.188 GB, free: 9.367 MB / 0.7917 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)