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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 99.31 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00121/0.001211, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.628/1.628, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.058/2.058, allocations: 292.6 MB / 0.5497 GB, free: 14.58 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005594/0.0005597, allocations: 22.84 kB / 0.6737 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2601, allocations: 116.3 MB / 0.7873 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001276/0.2614, allocations: 1.107 MB / 0.7884 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00383/0.2653, allocations: 2.826 MB / 0.7911 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.581e-05/0.2654, allocations: 0 / 0.7911 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.2655, allocations: 11.92 kB / 0.7911 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001806/0.2657, allocations: 27.89 kB / 0.7912 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001967/0.2677, allocations: 0.7245 MB / 0.7919 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.504e-05/0.2678, allocations: 55.84 kB / 0.7919 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.228e-05/0.2678, allocations: 4.281 kB / 0.7919 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.738e-05/0.2679, allocations: 31.92 kB / 0.7919 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001981/0.2681, allocations: 147.7 kB / 0.7921 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.272e-05/0.2681, allocations: 12 kB / 0.7921 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001726/0.2699, allocations: 1.264 MB / 0.7933 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001746/0.27, allocations: 243.3 kB / 0.7936 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.346e-05/0.2701, allocations: 105.3 kB / 0.7937 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001149/0.2713, allocations: 0.9744 MB / 0.7946 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.2713, allocations: 11.88 kB / 0.7946 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2713, allocations: 0 / 0.7946 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.2713, allocations: 0 / 0.7946 GB, free: 4.266 MB / 0.6075 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.01002/0.2814, allocations: 1.164 MB / 0.7958 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.2814, allocations: 8.031 kB / 0.7958 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.265e-05/0.2815, allocations: 46.48 kB / 0.7958 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003726/0.2819, allocations: 78.84 kB / 0.7959 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004495/0.2823, allocations: 359.5 kB / 0.7962 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.2824, allocations: 8 kB / 0.7962 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.903e-05/0.2824, allocations: 4 kB / 0.7962 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00045/0.2829, allocations: 395.2 kB / 0.7966 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.2829, allocations: 0 / 0.7966 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.2829, allocations: 0 / 0.7966 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.882e-06/0.2829, allocations: 0 / 0.7966 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004764/0.2834, allocations: 439.7 kB / 0.797 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006112/0.284, allocations: 0.6326 MB / 0.7977 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004914/0.2845, allocations: 0.5712 MB / 0.7982 GB, free: 404 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001022/0.2855, allocations: 1.036 MB / 0.7992 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003888/0.286, allocations: 408.8 kB / 0.7996 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 1.412e-06/0.286, allocations: 0 / 0.7996 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.001331/0.2873, allocations: 1.289 MB / 0.8009 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.779e-05/0.2874, allocations: 85.09 kB / 0.801 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.2885, allocations: 1.19 MB / 0.8021 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.76e-05/0.2885, allocations: 29.7 kB / 0.8021 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001839/0.2887, allocations: 261.4 kB / 0.8024 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.2888, allocations: 15.81 kB / 0.8024 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.212e-05/0.2888, allocations: 3.938 kB / 0.8024 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002007/0.289, allocations: 423.9 kB / 0.8028 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001238/0.2903, allocations: 1.365 MB / 0.8042 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001386/0.2916, allocations: 1.496 MB / 0.8056 GB, free: 8.504 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001597/0.2933, allocations: 1.895 MB / 0.8075 GB, free: 6.594 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.2933, allocations: 0 / 0.8075 GB, free: 6.594 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004156/0.2974, allocations: 3.945 MB / 0.8113 GB, free: 2.613 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.457e-05/0.2975, allocations: 8 kB / 0.8113 GB, free: 2.605 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.226e-05/0.2975, allocations: 0 / 0.8113 GB, free: 2.605 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.639e-05/0.2976, allocations: 0 / 0.8113 GB, free: 2.605 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.2977, allocations: 15.98 kB / 0.8113 GB, free: 2.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.2977, allocations: 4 kB / 0.8113 GB, free: 2.586 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005279/0.2983, allocations: 224.4 kB / 0.8116 GB, free: 2.363 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-05/0.2983, allocations: 32 kB / 0.8116 GB, free: 2.332 MB / 0.6231 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 (16): * Single equations (assignments): 13 * Array equations: 2 * 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.0002968/0.2986, allocations: 245.5 kB / 0.8118 GB, free: 2.082 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.327e-05/0.2987, allocations: 66.78 kB / 0.8119 GB, free: 2.016 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002801/0.299, allocations: 70.84 kB / 0.812 GB, free: 1.934 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.299, allocations: 4 kB / 0.812 GB, free: 1.93 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.299, allocations: 32 / 0.812 GB, free: 1.93 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.299, allocations: 4 kB / 0.812 GB, free: 1.926 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000424/0.2995, allocations: 0.4889 MB / 0.8124 GB, free: 1.391 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2995, allocations: 0 / 0.8124 GB, free: 1.391 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.154e-05/0.2995, allocations: 11.98 kB / 0.8125 GB, free: 1.379 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.2996, allocations: 0 / 0.8125 GB, free: 1.379 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.2996, allocations: 0 / 0.8125 GB, free: 1.379 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/0.2996, allocations: 11.98 kB / 0.8125 GB, free: 1.367 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.2996, allocations: 0 / 0.8125 GB, free: 1.367 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008726/0.3005, allocations: 1.016 MB / 0.8135 GB, free: 332 kB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.737e-05/0.3006, allocations: 155.8 kB / 0.8136 GB, free: 156 kB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.164e-05/0.3006, allocations: 3.984 kB / 0.8136 GB, free: 152 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.3008, allocations: 4 kB / 0.8136 GB, free: 148 kB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.73e-05/0.3008, allocations: 11.98 kB / 0.8136 GB, free: 136 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.826e-05/0.3009, allocations: 15.98 kB / 0.8136 GB, free: 120 kB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007363/0.3016, allocations: 0.6532 MB / 0.8143 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.242e-06/0.3017, allocations: 0 / 0.8143 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00108/0.3027, allocations: 399.8 kB / 0.8147 GB, free: 15.06 MB / 0.6387 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.002422/0.3052, allocations: 1.998 MB / 0.8166 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002296/0.3075, allocations: 2.499 MB / 0.819 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.3075, allocations: 0 / 0.819 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003236/0.3078, allocations: 335.8 kB / 0.8194 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.3081, allocations: 36.48 kB / 0.8194 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002916/0.311, allocations: 2.578 MB / 0.8219 GB, free: 7.52 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005439/0.3116, allocations: 0.9796 MB / 0.8229 GB, free: 6.516 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001685/0.3118, allocations: 32.56 kB / 0.8229 GB, free: 6.484 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002809/0.3121, allocations: 263.3 kB / 0.8232 GB, free: 6.227 MB / 0.6387 GB Notification: Performance of SimCode: time 1.974e-06/0.3121, allocations: 0 / 0.8232 GB, free: 6.227 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03354/0.3456, allocations: 16.46 MB / 0.8392 GB, free: 5.996 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002252/0.3459, allocations: 266.9 kB / 0.8395 GB, free: 5.641 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.817/3.163, allocations: 4 kB / 0.8395 GB, free: 5.637 MB / 0.6544 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) Environment - environmentSimulation: