Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.201/2.201, allocations: 248.5 MB / 261 MB, free: 6.02 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.001466/0.001466, allocations: 190.3 kB / 320.4 MB, free: 15.32 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.917/1.917, allocations: 205.2 MB / 0.571 GB, free: 11.82 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.001351/0.001351, allocations: 111.4 kB / 0.6754 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.595e-05/3.598e-05, allocations: 4 kB / 0.787 GB, free: 97.77 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2059, allocations: 106.2 MB / 0.8907 GB, free: 7.422 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8593/1.065, allocations: 150.9 MB / 1.038 GB, free: 0.5586 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004355/1.066, allocations: 113 kB / 1.038 GB, free: 500 kB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1886/1.254, allocations: 29.68 MB / 1.067 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.184e-06/1.254, allocations: 0 / 1.067 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.645e-05/1.255, allocations: 27.31 kB / 1.067 GB, free: 6.801 MB / 0.6823 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.003253/1.258, allocations: 1.051 MB / 1.068 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.006e-05/1.258, allocations: 8.031 kB / 1.068 GB, free: 5.746 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.435e-05/1.258, allocations: 41.33 kB / 1.068 GB, free: 5.699 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006133/1.259, allocations: 102.7 kB / 1.068 GB, free: 5.598 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/1.26, allocations: 466.7 kB / 1.069 GB, free: 5.102 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.743e-05/1.26, allocations: 21.61 kB / 1.069 GB, free: 5.09 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/1.26, allocations: 35.25 kB / 1.069 GB, free: 5.066 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005665/1.261, allocations: 384.6 kB / 1.069 GB, free: 4.688 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/1.261, allocations: 0 / 1.069 GB, free: 4.688 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/1.261, allocations: 4 kB / 1.069 GB, free: 4.684 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/1.261, allocations: 3.953 kB / 1.069 GB, free: 4.68 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005636/1.261, allocations: 434.9 kB / 1.07 GB, free: 4.258 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/1.263, allocations: 0.7647 MB / 1.07 GB, free: 3.586 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007756/1.263, allocations: 0.5546 MB / 1.071 GB, free: 3.02 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004598/1.264, allocations: 340.6 kB / 1.071 GB, free: 2.688 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001447/1.265, allocations: 1.032 MB / 1.072 GB, free: 1.434 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005607/1.266, allocations: 398.5 kB / 1.073 GB, free: 1.039 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 2.355e-06/1.266, allocations: 0 / 1.073 GB, free: 1.039 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.001621/1.268, allocations: 0.986 MB / 1.074 GB, free: 60 kB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.969e-05/1.268, allocations: 85 kB / 1.074 GB, free: 15.96 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002054/1.27, allocations: 1.12 MB / 1.075 GB, free: 15.05 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001631/1.27, allocations: 40.64 kB / 1.075 GB, free: 15.02 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003535/1.27, allocations: 295.7 kB / 1.075 GB, free: 14.79 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.91e-05/1.27, allocations: 19.05 kB / 1.075 GB, free: 14.78 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.839e-05/1.27, allocations: 17 kB / 1.075 GB, free: 14.77 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002486/1.271, allocations: 426.1 kB / 1.076 GB, free: 14.39 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002133/1.273, allocations: 1.201 MB / 1.077 GB, free: 13.61 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002293/1.275, allocations: 1.347 MB / 1.078 GB, free: 12.72 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002628/1.278, allocations: 1.601 MB / 1.08 GB, free: 11.52 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/1.278, allocations: 0 / 1.08 GB, free: 11.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.006583/1.285, allocations: 3.425 MB / 1.083 GB, free: 8.934 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.412e-05/1.285, allocations: 8 kB / 1.083 GB, free: 8.926 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.982e-05/1.285, allocations: 0 / 1.083 GB, free: 8.926 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.117e-05/1.285, allocations: 8.031 kB / 1.083 GB, free: 8.918 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/1.286, allocations: 147 kB / 1.083 GB, free: 8.781 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.09e-05/1.286, allocations: 4 kB / 1.083 GB, free: 8.777 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/1.287, allocations: 242.9 kB / 1.083 GB, free: 8.547 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001565/1.288, allocations: 58.67 kB / 1.083 GB, free: 8.496 MB / 0.698 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.0002116/1.288, allocations: 129.6 kB / 1.083 GB, free: 8.375 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/1.288, allocations: 74.59 kB / 1.084 GB, free: 8.301 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001493/1.289, allocations: 0.9439 MB / 1.084 GB, free: 7.371 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.108e-06/1.29, allocations: 4 kB / 1.084 GB, free: 7.367 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/1.29, allocations: 0 / 1.084 GB, free: 7.367 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/1.29, allocations: 0 / 1.084 GB, free: 7.367 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007803/1.29, allocations: 0.5156 MB / 1.085 GB, free: 6.895 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/1.29, allocations: 0 / 1.085 GB, free: 6.895 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/1.291, allocations: 7.984 kB / 1.085 GB, free: 6.887 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.756e-06/1.291, allocations: 0 / 1.085 GB, free: 6.887 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/1.291, allocations: 11.31 kB / 1.085 GB, free: 6.879 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/1.291, allocations: 7.969 kB / 1.085 GB, free: 6.871 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/1.291, allocations: 3.938 kB / 1.085 GB, free: 6.867 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/1.292, allocations: 1.014 MB / 1.086 GB, free: 5.844 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002331/1.292, allocations: 158.7 kB / 1.086 GB, free: 5.672 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/1.292, allocations: 0 / 1.086 GB, free: 5.672 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003109/1.293, allocations: 11.98 kB / 1.086 GB, free: 5.66 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/1.293, allocations: 7.312 kB / 1.086 GB, free: 5.656 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.46e-05/1.293, allocations: 19.92 kB / 1.086 GB, free: 5.637 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001386/1.294, allocations: 0.6953 MB / 1.087 GB, free: 5.066 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.31e-07/1.294, allocations: 0 / 1.087 GB, free: 5.066 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002176/1.297, allocations: 0.4934 MB / 1.087 GB, free: 4.602 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.00472/1.301, allocations: 2.166 MB / 1.089 GB, free: 2.426 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003542/1.305, allocations: 2.348 MB / 1.092 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/1.305, allocations: 0 / 1.092 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004607/1.305, allocations: 334.5 kB / 1.092 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000498/1.306, allocations: 62.03 kB / 1.092 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004837/1.311, allocations: 1.852 MB / 1.094 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008604/1.312, allocations: 1.013 MB / 1.095 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0004144/1.312, allocations: 54.97 kB / 1.095 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004862/1.313, allocations: 297.2 kB / 1.095 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of SimCode: time 1.383e-06/1.313, allocations: 0 / 1.095 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06871/1.381, allocations: 19.67 MB / 1.114 GB, free: 9.949 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003007/1.382, allocations: 238.1 kB / 1.115 GB, free: 9.641 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.492/4.874, allocations: 0 / 1.115 GB, free: 9.641 MB / 0.7292 GB