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_1borehole_5meters.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_1borehole_5meters,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.665/2.665, allocations: 248.7 MB / 256.2 MB, free: 7.102 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.001429/0.001429, allocations: 175.5 kB / 315.4 MB, free: 4.016 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.078/2.078, allocations: 205.2 MB / 0.5662 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001111/0.00111, allocations: 100.3 kB / 0.6704 GB, free: 5.742 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.526e-05/2.551e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2072, allocations: 106.3 MB / 0.8841 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9108/1.118, allocations: 146.6 MB / 1.027 GB, free: 8.332 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004368/1.119, allocations: 121.4 kB / 1.027 GB, free: 8.258 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1611/1.28, allocations: 21.7 MB / 1.049 GB, free: 5.656 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.284e-06/1.28, allocations: 0 / 1.049 GB, free: 5.656 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.627e-05/1.28, allocations: 16 kB / 1.049 GB, free: 5.641 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.00329/1.283, allocations: 1.014 MB / 1.05 GB, free: 4.633 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.93e-05/1.283, allocations: 12.03 kB / 1.05 GB, free: 4.621 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006454/1.284, allocations: 97.45 kB / 1.05 GB, free: 4.527 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/1.285, allocations: 426.9 kB / 1.05 GB, free: 4.062 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/1.285, allocations: 3.938 kB / 1.05 GB, free: 4.059 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/1.285, allocations: 20 kB / 1.05 GB, free: 4.039 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006079/1.286, allocations: 430.3 kB / 1.051 GB, free: 3.621 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005342/1.286, allocations: 386 kB / 1.051 GB, free: 3.242 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/1.286, allocations: 0 / 1.051 GB, free: 3.242 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/1.286, allocations: 3.953 kB / 1.051 GB, free: 3.238 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/1.287, allocations: 0 / 1.051 GB, free: 3.238 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/1.288, allocations: 0.6871 MB / 1.052 GB, free: 2.621 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007495/1.289, allocations: 0.5574 MB / 1.052 GB, free: 2.051 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004144/1.289, allocations: 332.3 kB / 1.052 GB, free: 1.727 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001505/1.29, allocations: 1.028 MB / 1.053 GB, free: 488 kB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005969/1.291, allocations: 406.6 kB / 1.054 GB, free: 76 kB / 0.6667 GB Notification: Performance of pre-optimization done (n=8): time 3.056e-06/1.291, allocations: 0.8438 kB / 1.054 GB, free: 76 kB / 0.6667 GB Notification: Performance of matching and sorting (n=8): time 0.001563/1.293, allocations: 0.955 MB / 1.055 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.754e-05/1.293, allocations: 85.08 kB / 1.055 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001713/1.295, allocations: 0.9982 MB / 1.056 GB, free: 14.22 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001347/1.295, allocations: 25.7 kB / 1.056 GB, free: 14.19 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003326/1.295, allocations: 268.9 kB / 1.056 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.06e-05/1.295, allocations: 23.11 kB / 1.056 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.589e-05/1.295, allocations: 0 / 1.056 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002321/1.296, allocations: 418.9 kB / 1.057 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002/1.298, allocations: 1.19 MB / 1.058 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002245/1.3, allocations: 1.33 MB / 1.059 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002697/1.303, allocations: 1.587 MB / 1.061 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/1.303, allocations: 0 / 1.061 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00674/1.309, allocations: 3.373 MB / 1.064 GB, free: 8.207 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.691e-05/1.31, allocations: 14.02 kB / 1.064 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.181e-05/1.31, allocations: 0 / 1.064 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.887e-05/1.31, allocations: 4 kB / 1.064 GB, free: 8.191 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/1.311, allocations: 146.2 kB / 1.064 GB, free: 8.055 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.481e-05/1.311, allocations: 8.062 kB / 1.064 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/1.312, allocations: 232.2 kB / 1.064 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002038/1.313, allocations: 62.59 kB / 1.064 GB, free: 7.762 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.0002196/1.313, allocations: 116.8 kB / 1.064 GB, free: 7.641 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001503/1.314, allocations: 0.9511 MB / 1.065 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/1.315, allocations: 66.28 kB / 1.065 GB, free: 6.633 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001504/1.316, allocations: 0.9216 MB / 1.066 GB, free: 5.715 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/1.316, allocations: 0 / 1.066 GB, free: 5.715 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/1.316, allocations: 0 / 1.066 GB, free: 5.715 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/1.316, allocations: 3.953 kB / 1.066 GB, free: 5.711 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007467/1.317, allocations: 478.6 kB / 1.067 GB, free: 5.289 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/1.317, allocations: 4.031 kB / 1.067 GB, free: 5.285 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/1.317, allocations: 15.98 kB / 1.067 GB, free: 5.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.116e-06/1.317, allocations: 0 / 1.067 GB, free: 5.27 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/1.317, allocations: 0 / 1.067 GB, free: 5.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/1.317, allocations: 4 kB / 1.067 GB, free: 5.266 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.317, allocations: 0 / 1.067 GB, free: 5.266 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001391/1.319, allocations: 0.9982 MB / 1.068 GB, free: 4.258 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002098/1.319, allocations: 147.9 kB / 1.068 GB, free: 4.094 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/1.319, allocations: 4 kB / 1.068 GB, free: 4.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002897/1.319, allocations: 11.73 kB / 1.068 GB, free: 4.082 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.876e-05/1.319, allocations: 4 kB / 1.068 GB, free: 4.078 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-05/1.319, allocations: 19.91 kB / 1.068 GB, free: 4.059 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001083/1.321, allocations: 0.5984 MB / 1.069 GB, free: 3.57 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.52e-07/1.321, allocations: 4 kB / 1.069 GB, free: 3.566 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002133/1.323, allocations: 480.5 kB / 1.069 GB, free: 3.109 MB / 0.6823 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.004702/1.328, allocations: 2.075 MB / 1.071 GB, free: 1.027 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00364/1.331, allocations: 2.331 MB / 1.073 GB, free: 15.47 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/1.331, allocations: 0 / 1.073 GB, free: 15.47 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004638/1.332, allocations: 326.5 kB / 1.074 GB, free: 15.16 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004023/1.332, allocations: 40.95 kB / 1.074 GB, free: 15.14 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004758/1.337, allocations: 1.785 MB / 1.075 GB, free: 13.34 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008213/1.338, allocations: 0.9814 MB / 1.076 GB, free: 12.33 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003968/1.338, allocations: 51.38 kB / 1.076 GB, free: 12.28 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00044/1.339, allocations: 272.3 kB / 1.077 GB, free: 12.22 MB / 0.698 GB Notification: Performance of SimCode: time 1.052e-06/1.339, allocations: 0 / 1.077 GB, free: 12.22 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08307/1.422, allocations: 16.07 MB / 1.092 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005398/1.422, allocations: 243 kB / 1.093 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.504/4.927, allocations: 4 kB / 1.093 GB, free: 11.88 MB / 0.7136 GB