Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.432/1.432, allocations: 249.3 MB / 261.8 MB, free: 5.895 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 174.6 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.528/1.528, allocations: 205.2 MB / 0.572 GB, free: 10.67 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 104.9 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.567e-05/3.605e-05, allocations: 4 kB / 0.7881 GB, free: 96.97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2254, allocations: 106.3 MB / 0.8919 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7421/0.9676, allocations: 146.5 MB / 1.035 GB, free: 4.359 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003597/0.968, allocations: 111.1 kB / 1.035 GB, free: 4.293 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.08345/1.051, allocations: 21.8 MB / 1.056 GB, free: 1.316 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.873e-06/1.052, allocations: 0 / 1.056 GB, free: 1.316 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.913e-05/1.052, allocations: 16 kB / 1.056 GB, free: 1.301 MB / 0.6667 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.002257/1.054, allocations: 1.02 MB / 1.057 GB, free: 296 kB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.722e-05/1.054, allocations: 12.03 kB / 1.057 GB, free: 284 kB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.607e-05/1.054, allocations: 30.56 kB / 1.057 GB, free: 244 kB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003553/1.054, allocations: 98.7 kB / 1.058 GB, free: 144 kB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007087/1.055, allocations: 422.2 kB / 1.058 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.838e-05/1.055, allocations: 25.5 kB / 1.058 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.158e-05/1.055, allocations: 38.31 kB / 1.058 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004174/1.056, allocations: 382.8 kB / 1.058 GB, free: 15.26 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/1.056, allocations: 7.938 kB / 1.058 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/1.056, allocations: 0 / 1.058 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/1.056, allocations: 0 / 1.058 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003919/1.056, allocations: 427.3 kB / 1.059 GB, free: 14.84 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006946/1.057, allocations: 0.7445 MB / 1.06 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004952/1.057, allocations: 0.5589 MB / 1.06 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002976/1.058, allocations: 332.8 kB / 1.06 GB, free: 13.28 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001017/1.059, allocations: 1.028 MB / 1.061 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003868/1.059, allocations: 403.2 kB / 1.062 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/1.059, allocations: 0 / 1.062 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.0009852/1.06, allocations: 0.9624 MB / 1.063 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/1.06, allocations: 92.97 kB / 1.063 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/1.061, allocations: 1.051 MB / 1.064 GB, free: 9.711 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.281e-05/1.061, allocations: 52.5 kB / 1.064 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001988/1.061, allocations: 278.4 kB / 1.064 GB, free: 9.441 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/1.061, allocations: 15.25 kB / 1.064 GB, free: 9.43 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/1.061, allocations: 14.62 kB / 1.064 GB, free: 9.426 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001886/1.062, allocations: 417.6 kB / 1.065 GB, free: 9.051 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/1.063, allocations: 1.202 MB / 1.066 GB, free: 8.266 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001361/1.064, allocations: 1.345 MB / 1.067 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/1.066, allocations: 1.6 MB / 1.069 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/1.066, allocations: 8 kB / 1.069 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003932/1.07, allocations: 3.414 MB / 1.072 GB, free: 3.59 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/1.07, allocations: 4 kB / 1.072 GB, free: 3.586 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/1.07, allocations: 0 / 1.072 GB, free: 3.586 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/1.07, allocations: 4 kB / 1.072 GB, free: 3.582 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006674/1.071, allocations: 146.1 kB / 1.072 GB, free: 3.445 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/1.071, allocations: 4.062 kB / 1.072 GB, free: 3.441 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005959/1.071, allocations: 253.5 kB / 1.072 GB, free: 3.203 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-05/1.071, allocations: 59.78 kB / 1.072 GB, free: 3.148 MB / 0.6823 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.0001343/1.071, allocations: 130.8 kB / 1.073 GB, free: 3.027 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.959e-05/1.071, allocations: 66.78 kB / 1.073 GB, free: 2.961 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009762/1.072, allocations: 0.9323 MB / 1.074 GB, free: 2.035 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/1.072, allocations: 7.984 kB / 1.074 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/1.072, allocations: 0 / 1.074 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/1.072, allocations: 0 / 1.074 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004503/1.073, allocations: 0.492 MB / 1.074 GB, free: 1.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/1.073, allocations: 4.031 kB / 1.074 GB, free: 1.566 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.148e-05/1.073, allocations: 8 kB / 1.074 GB, free: 1.559 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/1.073, allocations: 0 / 1.074 GB, free: 1.559 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/1.073, allocations: 3.984 kB / 1.074 GB, free: 1.555 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/1.073, allocations: 4 kB / 1.074 GB, free: 1.551 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.073, allocations: 0 / 1.074 GB, free: 1.551 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000886/1.074, allocations: 1.001 MB / 1.075 GB, free: 0.543 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/1.074, allocations: 151.9 kB / 1.075 GB, free: 384 kB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.179e-05/1.074, allocations: 0 / 1.075 GB, free: 384 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/1.074, allocations: 7.984 kB / 1.075 GB, free: 376 kB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.295e-05/1.074, allocations: 11.25 kB / 1.075 GB, free: 368 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.202e-05/1.074, allocations: 19.91 kB / 1.075 GB, free: 348 kB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000685/1.075, allocations: 0.6448 MB / 1.076 GB, free: 15.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/1.075, allocations: 0 / 1.076 GB, free: 15.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00177/1.077, allocations: 0.4938 MB / 1.076 GB, free: 15.33 MB / 0.698 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.002809/1.08, allocations: 2.072 MB / 1.078 GB, free: 13.25 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002181/1.082, allocations: 2.346 MB / 1.081 GB, free: 11.68 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/1.082, allocations: 0 / 1.081 GB, free: 11.68 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002934/1.082, allocations: 333.3 kB / 1.081 GB, free: 11.36 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/1.082, allocations: 35.56 kB / 1.081 GB, free: 11.34 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002686/1.085, allocations: 1.796 MB / 1.083 GB, free: 9.543 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005294/1.086, allocations: 0.9852 MB / 1.084 GB, free: 8.527 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001926/1.086, allocations: 55.38 kB / 1.084 GB, free: 8.477 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002839/1.086, allocations: 275.1 kB / 1.084 GB, free: 8.422 MB / 0.698 GB Notification: Performance of SimCode: time 1.142e-06/1.086, allocations: 0 / 1.084 GB, free: 8.422 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03658/1.123, allocations: 16.85 MB / 1.1 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002177/1.123, allocations: 245.3 kB / 1.101 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.743/3.866, allocations: 2.406 kB / 1.101 GB, free: 7.387 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)