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.761/1.761, allocations: 288.2 MB / 303.2 MB, free: 8.172 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.001408/0.001408, allocations: 187.7 kB / 371.8 MB, free: 10.27 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.651/1.651, allocations: 205.4 MB / 0.6305 GB, free: 9.996 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008627/0.0008627, allocations: 86.94 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005459/0.0005461, allocations: 12.91 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3012, allocations: 115.3 MB / 0.9795 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.00165/0.3029, allocations: 1.374 MB / 0.9809 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004294/0.3072, allocations: 3.849 MB / 0.9846 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.763e-05/0.3073, allocations: 3.938 kB / 0.9846 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009087/0.3083, allocations: 334.9 kB / 0.9849 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.978e-05/0.3084, allocations: 43.91 kB / 0.985 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001924/0.3103, allocations: 0.7248 MB / 0.9857 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001543/0.3104, allocations: 103.7 kB / 0.9858 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.683e-05/0.3105, allocations: 5.562 kB / 0.9858 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.987e-05/0.3106, allocations: 55.78 kB / 0.9859 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001921/0.3108, allocations: 159.6 kB / 0.986 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.862e-05/0.3108, allocations: 16 kB / 0.986 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001475/0.3123, allocations: 1.256 MB / 0.9872 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.3125, allocations: 255.2 kB / 0.9875 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.121e-05/0.3126, allocations: 121.1 kB / 0.9876 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001061/0.3136, allocations: 1.033 MB / 0.9886 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3137, allocations: 0 / 0.9886 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.764e-06/0.3137, allocations: 3.938 kB / 0.9886 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.3137, allocations: 4 kB / 0.9886 GB, free: 18.22 MB / 0.6198 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.009762/0.3235, allocations: 1.222 MB / 0.9898 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.3235, allocations: 16.02 kB / 0.9898 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.188e-05/0.3236, allocations: 30.56 kB / 0.9899 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003246/0.3239, allocations: 98.64 kB / 0.99 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004072/0.3243, allocations: 392.8 kB / 0.9903 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.3243, allocations: 11.98 kB / 0.9903 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.729e-05/0.3244, allocations: 7.984 kB / 0.9903 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003358/0.3247, allocations: 391.1 kB / 0.9907 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.3247, allocations: 0 / 0.9907 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.3248, allocations: 0 / 0.9907 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.3248, allocations: 0 / 0.9907 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003231/0.3251, allocations: 439.7 kB / 0.9911 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004488/0.3256, allocations: 0.6574 MB / 0.9918 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003689/0.3259, allocations: 0.5634 MB / 0.9923 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007729/0.3267, allocations: 1.04 MB / 0.9933 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002961/0.327, allocations: 400.8 kB / 0.9937 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.253e-06/0.327, allocations: 3.938 kB / 0.9937 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0009901/0.328, allocations: 1.3 MB / 0.995 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.3281, allocations: 81.11 kB / 0.9951 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009644/0.3291, allocations: 1.269 MB / 0.9963 GB, free: 9.863 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/0.3291, allocations: 37.64 kB / 0.9964 GB, free: 9.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.3292, allocations: 285.4 kB / 0.9966 GB, free: 9.535 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.3293, allocations: 19.94 kB / 0.9966 GB, free: 9.516 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.255e-05/0.3293, allocations: 4 kB / 0.9966 GB, free: 9.512 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.3294, allocations: 427.8 kB / 0.9971 GB, free: 9.086 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008651/0.3303, allocations: 1.357 MB / 0.9984 GB, free: 7.727 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009241/0.3312, allocations: 1.497 MB / 0.9998 GB, free: 6.219 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.3323, allocations: 1.891 MB / 1.002 GB, free: 4.312 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3323, allocations: 4 kB / 1.002 GB, free: 4.309 MB / 0.6198 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003159/0.3355, allocations: 3.953 MB / 1.006 GB, free: 328 kB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.3355, allocations: 4 kB / 1.006 GB, free: 324 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.3356, allocations: 4 kB / 1.006 GB, free: 320 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.3356, allocations: 0 / 1.006 GB, free: 320 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.3357, allocations: 23.91 kB / 1.006 GB, free: 296 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.3357, allocations: 4.031 kB / 1.006 GB, free: 292 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004622/0.3362, allocations: 228.3 kB / 1.006 GB, free: 60 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.411e-05/0.3363, allocations: 27.98 kB / 1.006 GB, free: 32 kB / 0.6198 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.000317/0.3366, allocations: 241.6 kB / 1.006 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.619e-05/0.3367, allocations: 74.69 kB / 1.006 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000345/0.337, allocations: 83.66 kB / 1.006 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.337, allocations: 4 kB / 1.006 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.337, allocations: 0 / 1.006 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.337, allocations: 3.984 kB / 1.006 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004608/0.3375, allocations: 0.5099 MB / 1.007 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3375, allocations: 4 kB / 1.007 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.858e-05/0.3376, allocations: 7.984 kB / 1.007 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3376, allocations: 0 / 1.007 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.3376, allocations: 4 kB / 1.007 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.3376, allocations: 3.984 kB / 1.007 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3376, allocations: 4.031 kB / 1.007 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000976/0.3386, allocations: 1.025 MB / 1.008 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.3388, allocations: 159.7 kB / 1.008 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.938e-05/0.3388, allocations: 7.984 kB / 1.008 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.339, allocations: 8 kB / 1.008 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.324e-05/0.339, allocations: 11.98 kB / 1.008 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.999e-05/0.3391, allocations: 11.92 kB / 1.008 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0008625/0.34, allocations: 0.7101 MB / 1.009 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.51e-07/0.34, allocations: 3.938 kB / 1.009 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001134/0.3411, allocations: 399.9 kB / 1.009 GB, free: 12.66 MB / 0.6355 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.002508/0.3436, allocations: 2.011 MB / 1.011 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002404/0.346, allocations: 2.492 MB / 1.013 GB, free: 8.109 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3461, allocations: 0 / 1.013 GB, free: 8.109 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000331/0.3464, allocations: 335.8 kB / 1.014 GB, free: 7.781 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.3467, allocations: 52.84 kB / 1.014 GB, free: 7.73 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00326/0.35, allocations: 2.751 MB / 1.016 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005934/0.3506, allocations: 1.003 MB / 1.017 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001878/0.3508, allocations: 41.36 kB / 1.017 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003374/0.3511, allocations: 283.3 kB / 1.018 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of SimCode: time 5.01e-07/0.3511, allocations: 4 kB / 1.018 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03666/0.3878, allocations: 17.63 MB / 1.035 GB, free: 2.172 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000214/0.3881, allocations: 287.5 kB / 1.035 GB, free: 1.812 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.719/3.107, allocations: 0 / 1.035 GB, free: 1.812 MB / 0.6511 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)