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.411/2.411, allocations: 248.7 MB / 256.2 MB, free: 7.047 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.001565/0.001564, allocations: 183.1 kB / 315.4 MB, free: 4.023 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.07/2.07, allocations: 205.3 MB / 0.5662 GB, free: 0.5586 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.001148/0.001148, allocations: 92.47 kB / 0.6704 GB, free: 5.766 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.539e-05/3.542e-05, allocations: 8 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2113, allocations: 106.3 MB / 0.8841 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8761/1.087, allocations: 146.6 MB / 1.027 GB, free: 8.688 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000444/1.088, allocations: 112.1 kB / 1.027 GB, free: 8.621 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1839/1.272, allocations: 24.87 MB / 1.052 GB, free: 3.16 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.543e-06/1.272, allocations: 0 / 1.052 GB, free: 3.16 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.672e-05/1.272, allocations: 20 kB / 1.052 GB, free: 3.141 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.003486/1.275, allocations: 1.339 MB / 1.053 GB, free: 1.824 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.647e-05/1.276, allocations: 16.03 kB / 1.053 GB, free: 1.809 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007076/1.276, allocations: 160.3 kB / 1.053 GB, free: 1.652 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001668/1.278, allocations: 0.6446 MB / 1.054 GB, free: 0.9414 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/1.278, allocations: 0 / 1.054 GB, free: 0.9414 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001567/1.278, allocations: 27.94 kB / 1.054 GB, free: 0.9141 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000581/1.279, allocations: 423.2 kB / 1.054 GB, free: 0.5039 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005279/1.279, allocations: 389.1 kB / 1.055 GB, free: 124 kB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/1.279, allocations: 4 kB / 1.055 GB, free: 120 kB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/1.279, allocations: 3.953 kB / 1.055 GB, free: 116 kB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/1.279, allocations: 0 / 1.055 GB, free: 116 kB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001566/1.281, allocations: 0.9344 MB / 1.056 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007203/1.282, allocations: 0.5464 MB / 1.056 GB, free: 14.74 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004458/1.282, allocations: 337.2 kB / 1.056 GB, free: 14.41 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001424/1.284, allocations: 1.036 MB / 1.057 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005596/1.284, allocations: 391.9 kB / 1.058 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 2.815e-06/1.284, allocations: 4 kB / 1.058 GB, free: 12.76 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.001673/1.286, allocations: 1.019 MB / 1.059 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/1.286, allocations: 85.09 kB / 1.059 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002541/1.288, allocations: 1.518 MB / 1.06 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001511/1.289, allocations: 33.14 kB / 1.06 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005546/1.289, allocations: 480 kB / 1.061 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.038e-05/1.289, allocations: 25.91 kB / 1.061 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.816e-05/1.289, allocations: 0 / 1.061 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002285/1.29, allocations: 419.2 kB / 1.061 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002461/1.292, allocations: 1.442 MB / 1.063 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002647/1.295, allocations: 1.583 MB / 1.064 GB, free: 7.531 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003113/1.298, allocations: 1.843 MB / 1.066 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/1.298, allocations: 0 / 1.066 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00806/1.306, allocations: 3.968 MB / 1.07 GB, free: 2.949 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.711e-05/1.306, allocations: 4 kB / 1.07 GB, free: 2.945 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001325/1.306, allocations: 24 kB / 1.07 GB, free: 2.922 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/1.306, allocations: 4.031 kB / 1.07 GB, free: 2.918 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001502/1.308, allocations: 147.5 kB / 1.07 GB, free: 2.781 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/1.308, allocations: 7.938 kB / 1.07 GB, free: 2.773 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/1.309, allocations: 232.2 kB / 1.07 GB, free: 2.543 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002309/1.31, allocations: 94.22 kB / 1.07 GB, free: 2.461 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.0001922/1.31, allocations: 116.8 kB / 1.07 GB, free: 2.34 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001507/1.311, allocations: 0.998 MB / 1.071 GB, free: 1.348 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/1.312, allocations: 126.1 kB / 1.072 GB, free: 1.223 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001712/1.313, allocations: 1.001 MB / 1.073 GB, free: 248 kB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/1.313, allocations: 0 / 1.073 GB, free: 248 kB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/1.313, allocations: 0 / 1.073 GB, free: 248 kB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/1.313, allocations: 7.953 kB / 1.073 GB, free: 240 kB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/1.315, allocations: 0.6482 MB / 1.073 GB, free: 15.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/1.315, allocations: 0 / 1.073 GB, free: 15.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/1.315, allocations: 11.98 kB / 1.073 GB, free: 15.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/1.315, allocations: 0 / 1.073 GB, free: 15.66 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/1.315, allocations: 4.031 kB / 1.073 GB, free: 15.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/1.315, allocations: 7.938 kB / 1.073 GB, free: 15.65 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.315, allocations: 0 / 1.073 GB, free: 15.65 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001533/1.316, allocations: 1.062 MB / 1.074 GB, free: 14.57 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000419/1.317, allocations: 211 kB / 1.074 GB, free: 14.34 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001863/1.317, allocations: 7.984 kB / 1.074 GB, free: 14.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006996/1.318, allocations: 12 kB / 1.074 GB, free: 14.32 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.889e-05/1.318, allocations: 3.984 kB / 1.074 GB, free: 14.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-05/1.318, allocations: 11.98 kB / 1.074 GB, free: 14.31 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002042/1.32, allocations: 1.012 MB / 1.075 GB, free: 13.46 MB / 0.698 GB Notification: Performance of sort global known variables: time 9.42e-07/1.32, allocations: 0 / 1.075 GB, free: 13.46 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002383/1.322, allocations: 0.5152 MB / 1.076 GB, free: 12.96 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.004512/1.327, allocations: 2.131 MB / 1.078 GB, free: 10.82 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003698/1.331, allocations: 2.473 MB / 1.08 GB, free: 9.121 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.503e-06/1.331, allocations: 64 / 1.08 GB, free: 9.121 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004846/1.331, allocations: 342 kB / 1.081 GB, free: 8.793 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006262/1.332, allocations: 59.89 kB / 1.081 GB, free: 8.77 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00669/1.339, allocations: 2.549 MB / 1.083 GB, free: 6.211 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001177/1.34, allocations: 1.179 MB / 1.084 GB, free: 5.008 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007651/1.341, allocations: 134.3 kB / 1.085 GB, free: 4.871 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007647/1.341, allocations: 476.2 kB / 1.085 GB, free: 4.777 MB / 0.698 GB Notification: Performance of SimCode: time 1.163e-06/1.341, allocations: 0 / 1.085 GB, free: 4.777 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0903/1.432, allocations: 22.88 MB / 1.107 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003601/1.432, allocations: 232.1 kB / 1.108 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.65/5.082, allocations: 0 / 1.108 GB, free: 13.63 MB / 0.7292 GB