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_100boreholes.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_100boreholes,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",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.328/2.328, allocations: 248.5 MB / 261 MB, free: 5.996 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.001469/0.001469, allocations: 170.4 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.012/2.012, allocations: 205.2 MB / 0.571 GB, free: 11.8 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.00115/0.001149, allocations: 92.73 kB / 0.6754 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.841e-05/3.858e-05, allocations: 4 kB / 0.787 GB, free: 97.75 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2173, allocations: 106.2 MB / 0.8907 GB, free: 7.406 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9329/1.15, allocations: 146.3 MB / 1.034 GB, free: 4.688 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004404/1.151, allocations: 108.9 kB / 1.034 GB, free: 4.621 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1926/1.343, allocations: 25.04 MB / 1.058 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.184e-06/1.343, allocations: 0 / 1.058 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.661e-05/1.344, allocations: 20 kB / 1.058 GB, free: 14.68 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.004277/1.348, allocations: 1.343 MB / 1.06 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.053e-05/1.348, allocations: 8.031 kB / 1.06 GB, free: 13.35 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.911e-05/1.348, allocations: 45.27 kB / 1.06 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008382/1.349, allocations: 158 kB / 1.06 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001991/1.351, allocations: 0.6447 MB / 1.06 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.241e-05/1.351, allocations: 26 kB / 1.06 GB, free: 12.42 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001874/1.351, allocations: 37.62 kB / 1.06 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006349/1.352, allocations: 386.4 kB / 1.061 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/1.352, allocations: 0 / 1.061 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/1.352, allocations: 4 kB / 1.061 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/1.352, allocations: 7.953 kB / 1.061 GB, free: 12 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006149/1.352, allocations: 423.2 kB / 1.061 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00199/1.355, allocations: 0.9888 MB / 1.062 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008282/1.355, allocations: 0.5549 MB / 1.063 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004537/1.356, allocations: 332.3 kB / 1.063 GB, free: 9.84 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001579/1.357, allocations: 1.039 MB / 1.064 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006322/1.358, allocations: 395.6 kB / 1.064 GB, free: 8.188 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 3.086e-06/1.358, allocations: 0 / 1.064 GB, free: 8.188 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.001868/1.36, allocations: 1.021 MB / 1.065 GB, free: 7.172 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.104e-05/1.36, allocations: 92.98 kB / 1.065 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003536/1.364, allocations: 1.608 MB / 1.067 GB, free: 5.703 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002392/1.364, allocations: 49.44 kB / 1.067 GB, free: 5.66 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000765/1.365, allocations: 488 kB / 1.068 GB, free: 5.379 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.854e-05/1.365, allocations: 27.47 kB / 1.068 GB, free: 5.355 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/1.365, allocations: 22.12 kB / 1.068 GB, free: 5.348 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002948/1.365, allocations: 410.1 kB / 1.068 GB, free: 4.98 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002895/1.368, allocations: 1.46 MB / 1.069 GB, free: 3.938 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003315/1.372, allocations: 1.606 MB / 1.071 GB, free: 2.789 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004164/1.376, allocations: 1.86 MB / 1.073 GB, free: 1.332 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.39e-05/1.376, allocations: 0 / 1.073 GB, free: 1.332 MB / 0.6823 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.009405/1.385, allocations: 4.016 MB / 1.077 GB, free: 14.15 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.413e-05/1.385, allocations: 4 kB / 1.077 GB, free: 14.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001451/1.386, allocations: 20 kB / 1.077 GB, free: 14.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.793e-05/1.386, allocations: 8.031 kB / 1.077 GB, free: 14.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/1.387, allocations: 142.5 kB / 1.077 GB, free: 13.99 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.446e-05/1.387, allocations: 11.92 kB / 1.077 GB, free: 13.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/1.389, allocations: 245.9 kB / 1.077 GB, free: 13.74 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003405/1.389, allocations: 91.23 kB / 1.077 GB, free: 13.66 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.0002359/1.39, allocations: 127.1 kB / 1.077 GB, free: 13.55 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000255/1.39, allocations: 118.1 kB / 1.077 GB, free: 13.43 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001791/1.392, allocations: 1.011 MB / 1.078 GB, free: 12.44 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/1.392, allocations: 3.984 kB / 1.078 GB, free: 12.43 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/1.392, allocations: 0 / 1.078 GB, free: 12.43 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.932e-06/1.392, allocations: 0 / 1.078 GB, free: 12.43 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001308/1.393, allocations: 0.6768 MB / 1.079 GB, free: 11.83 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/1.393, allocations: 0 / 1.079 GB, free: 11.83 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001843/1.393, allocations: 15.92 kB / 1.079 GB, free: 11.81 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.148e-06/1.393, allocations: 0 / 1.079 GB, free: 11.81 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.826e-05/1.393, allocations: 2.25 kB / 1.079 GB, free: 11.81 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/1.394, allocations: 12.02 kB / 1.079 GB, free: 11.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/1.394, allocations: 4 kB / 1.079 GB, free: 11.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001589/1.395, allocations: 1.063 MB / 1.08 GB, free: 10.72 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004552/1.396, allocations: 211 kB / 1.08 GB, free: 10.49 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002039/1.396, allocations: 0 / 1.08 GB, free: 10.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007673/1.397, allocations: 7.984 kB / 1.08 GB, free: 10.48 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.45e-05/1.397, allocations: 8 kB / 1.08 GB, free: 10.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.034e-05/1.397, allocations: 23.86 kB / 1.08 GB, free: 10.45 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00272/1.4, allocations: 1.091 MB / 1.082 GB, free: 9.52 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.744e-06/1.4, allocations: 0 / 1.082 GB, free: 9.52 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002428/1.402, allocations: 0.5264 MB / 1.082 GB, free: 9.02 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.005265/1.407, allocations: 2.133 MB / 1.084 GB, free: 6.875 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003959/1.411, allocations: 2.501 MB / 1.087 GB, free: 5.145 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/1.411, allocations: 4 kB / 1.087 GB, free: 5.141 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004921/1.412, allocations: 331.3 kB / 1.087 GB, free: 4.824 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005927/1.413, allocations: 70.08 kB / 1.087 GB, free: 4.789 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006973/1.42, allocations: 2.557 MB / 1.089 GB, free: 2.234 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00129/1.421, allocations: 1.179 MB / 1.091 GB, free: 1.031 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008414/1.422, allocations: 130.3 kB / 1.091 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008243/1.423, allocations: 472.4 kB / 1.091 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of SimCode: time 1.443e-06/1.423, allocations: 3.938 kB / 1.091 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1054/1.528, allocations: 23.85 MB / 1.114 GB, free: 9.094 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003833/1.529, allocations: 229.6 kB / 1.115 GB, free: 8.789 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.865/5.393, allocations: 0 / 1.115 GB, free: 8.789 MB / 0.7292 GB