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.284/2.284, allocations: 248.7 MB / 256.2 MB, free: 7.039 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.002417/0.002417, allocations: 176.4 kB / 315.4 MB, free: 4.031 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.065/2.065, allocations: 205.3 MB / 0.5662 GB, free: 0.6055 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.0012/0.0012, allocations: 92.41 kB / 0.6704 GB, free: 5.805 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.465e-05/3.475e-05, allocations: 8 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.1998, allocations: 106.3 MB / 0.8841 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9337/1.134, allocations: 151.1 MB / 1.032 GB, free: 4.102 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006297/1.134, allocations: 119.1 kB / 1.032 GB, free: 4.031 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.2319/1.366, allocations: 29.47 MB / 1.061 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.144e-06/1.366, allocations: 4 kB / 1.061 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.076e-05/1.366, allocations: 19.94 kB / 1.061 GB, free: 11.09 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.003602/1.37, allocations: 1.052 MB / 1.062 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.843e-05/1.37, allocations: 8.031 kB / 1.062 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007295/1.371, allocations: 110.6 kB / 1.062 GB, free: 9.938 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/1.372, allocations: 462.9 kB / 1.062 GB, free: 9.445 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/1.372, allocations: 7.984 kB / 1.062 GB, free: 9.438 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/1.372, allocations: 20 kB / 1.062 GB, free: 9.418 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006495/1.373, allocations: 423 kB / 1.063 GB, free: 9.008 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006133/1.374, allocations: 377.8 kB / 1.063 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/1.374, allocations: 0 / 1.063 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/1.374, allocations: 6.703 kB / 1.063 GB, free: 8.629 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/1.374, allocations: 4 kB / 1.063 GB, free: 8.625 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001508/1.375, allocations: 0.7131 MB / 1.064 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008476/1.376, allocations: 0.5588 MB / 1.064 GB, free: 7.422 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004526/1.377, allocations: 329.2 kB / 1.065 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001654/1.378, allocations: 1.032 MB / 1.066 GB, free: 5.848 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006258/1.379, allocations: 404 kB / 1.066 GB, free: 5.445 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 3.206e-06/1.379, allocations: 0 / 1.066 GB, free: 5.445 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.001681/1.381, allocations: 0.9616 MB / 1.067 GB, free: 4.488 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.362e-05/1.381, allocations: 84.48 kB / 1.067 GB, free: 4.391 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002058/1.383, allocations: 1.064 MB / 1.068 GB, free: 3.543 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001506/1.383, allocations: 32.89 kB / 1.068 GB, free: 3.508 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000392/1.384, allocations: 283.7 kB / 1.068 GB, free: 3.301 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.623e-05/1.384, allocations: 11.56 kB / 1.068 GB, free: 3.293 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.652e-05/1.384, allocations: 3.938 kB / 1.068 GB, free: 3.289 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002757/1.384, allocations: 435 kB / 1.069 GB, free: 2.902 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002037/1.386, allocations: 1.187 MB / 1.07 GB, free: 2.133 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002273/1.388, allocations: 1.329 MB / 1.071 GB, free: 1.254 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002707/1.391, allocations: 1.579 MB / 1.073 GB, free: 84 kB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/1.391, allocations: 4 kB / 1.073 GB, free: 80 kB / 0.6823 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.009868/1.401, allocations: 3.389 MB / 1.076 GB, free: 13.51 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.041e-05/1.401, allocations: 4 kB / 1.076 GB, free: 13.51 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.81e-05/1.401, allocations: 4 kB / 1.076 GB, free: 13.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.022e-05/1.401, allocations: 7.984 kB / 1.076 GB, free: 13.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002384/1.404, allocations: 146.6 kB / 1.076 GB, free: 13.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.855e-05/1.404, allocations: 4 kB / 1.076 GB, free: 13.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001946/1.406, allocations: 224.4 kB / 1.076 GB, free: 13.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000274/1.406, allocations: 55.42 kB / 1.076 GB, free: 13.08 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.0002754/1.406, allocations: 124.1 kB / 1.077 GB, free: 12.96 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002302/1.409, allocations: 0.9701 MB / 1.078 GB, free: 11.99 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002092/1.409, allocations: 70.69 kB / 1.078 GB, free: 11.92 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001893/1.411, allocations: 0.9335 MB / 1.079 GB, free: 11 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/1.411, allocations: 3.938 kB / 1.079 GB, free: 10.99 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/1.411, allocations: 0 / 1.079 GB, free: 10.99 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/1.411, allocations: 3.953 kB / 1.079 GB, free: 10.99 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000833/1.412, allocations: 0.491 MB / 1.079 GB, free: 10.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/1.412, allocations: 4 kB / 1.079 GB, free: 10.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/1.412, allocations: 4 kB / 1.079 GB, free: 10.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/1.412, allocations: 0 / 1.079 GB, free: 10.54 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.278e-05/1.412, allocations: 11.48 kB / 1.079 GB, free: 10.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.666e-06/1.412, allocations: 3.938 kB / 1.079 GB, free: 10.53 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/1.412, allocations: 0 / 1.079 GB, free: 10.53 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001605/1.414, allocations: 1.01 MB / 1.08 GB, free: 9.512 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003038/1.414, allocations: 159 kB / 1.08 GB, free: 9.34 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/1.414, allocations: 0 / 1.08 GB, free: 9.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003172/1.415, allocations: 7.984 kB / 1.08 GB, free: 9.332 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.001e-05/1.415, allocations: 7.938 kB / 1.08 GB, free: 9.324 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-05/1.415, allocations: 15.97 kB / 1.08 GB, free: 9.309 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001318/1.416, allocations: 0.6439 MB / 1.081 GB, free: 8.793 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.603e-06/1.416, allocations: 4 kB / 1.081 GB, free: 8.789 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002431/1.419, allocations: 484.2 kB / 1.081 GB, free: 8.332 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.005441/1.424, allocations: 2.171 MB / 1.083 GB, free: 6.16 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003733/1.428, allocations: 2.329 MB / 1.086 GB, free: 4.602 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/1.428, allocations: 0 / 1.086 GB, free: 4.602 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005291/1.429, allocations: 334.7 kB / 1.086 GB, free: 4.281 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005716/1.429, allocations: 52.81 kB / 1.086 GB, free: 4.254 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005243/1.434, allocations: 1.84 MB / 1.088 GB, free: 2.398 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009255/1.435, allocations: 1.005 MB / 1.089 GB, free: 1.371 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000461/1.436, allocations: 63.66 kB / 1.089 GB, free: 1.312 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005827/1.437, allocations: 295.1 kB / 1.089 GB, free: 1.254 MB / 0.698 GB Notification: Performance of SimCode: time 1.784e-06/1.437, allocations: 0 / 1.089 GB, free: 1.254 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1029/1.539, allocations: 17.94 MB / 1.107 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003919/1.54, allocations: 246.5 kB / 1.107 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.411/4.951, allocations: 2.625 kB / 1.107 GB, free: 15.08 MB / 0.7292 GB