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.258/2.258, allocations: 251 MB / 265.9 MB, free: 11.7 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001571/0.001571, allocations: 187.2 kB / 325.5 MB, free: 2.883 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.311/2.311, allocations: 205.4 MB / 0.5764 GB, free: 20.79 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.001141/0.001141, allocations: 93.56 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004756/0.0004755, allocations: 12.12 kB / 0.7951 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2073, allocations: 106.3 MB / 0.8989 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2522/0.4596, allocations: 150.9 MB / 1.046 GB, free: 10.32 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004948/0.4602, allocations: 127.9 kB / 1.046 GB, free: 10.19 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.9739/1.434, allocations: 29.72 MB / 1.075 GB, free: 149.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.164e-06/1.434, allocations: 1.188 kB / 1.075 GB, free: 149.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.235e-05/1.434, allocations: 13.62 kB / 1.075 GB, free: 149.6 MB / 0.698 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.003722/1.438, allocations: 1.203 MB / 1.077 GB, free: 148.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/1.438, allocations: 17.58 kB / 1.077 GB, free: 148.7 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.18e-05/1.438, allocations: 35.92 kB / 1.077 GB, free: 148.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006492/1.439, allocations: 103.3 kB / 1.077 GB, free: 148.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/1.44, allocations: 466.3 kB / 1.077 GB, free: 148.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.417e-05/1.44, allocations: 21.38 kB / 1.077 GB, free: 148.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/1.44, allocations: 35.44 kB / 1.077 GB, free: 148.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006411/1.441, allocations: 391.9 kB / 1.078 GB, free: 148.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/1.441, allocations: 0 / 1.078 GB, free: 148.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/1.441, allocations: 5.031 kB / 1.078 GB, free: 148.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/1.441, allocations: 9.203 kB / 1.078 GB, free: 148.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006934/1.442, allocations: 430 kB / 1.078 GB, free: 148.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001579/1.443, allocations: 0.7791 MB / 1.079 GB, free: 148 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/1.444, allocations: 0.5652 MB / 1.079 GB, free: 147.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001325/1.446, allocations: 1.028 MB / 1.08 GB, free: 146.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008796/1.447, allocations: 402.6 kB / 1.081 GB, free: 146.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 3.687e-06/1.447, allocations: 1.031 kB / 1.081 GB, free: 146.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.002141/1.449, allocations: 1.307 MB / 1.082 GB, free: 146.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/1.449, allocations: 92.94 kB / 1.082 GB, free: 146.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001819/1.451, allocations: 1.129 MB / 1.083 GB, free: 145.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002292/1.451, allocations: 44.3 kB / 1.083 GB, free: 145.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003334/1.451, allocations: 294 kB / 1.084 GB, free: 145.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.719e-05/1.451, allocations: 29.22 kB / 1.084 GB, free: 145.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/1.452, allocations: 17.41 kB / 1.084 GB, free: 145.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001498/1.452, allocations: 425.6 kB / 1.084 GB, free: 145.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001929/1.454, allocations: 1.219 MB / 1.085 GB, free: 145.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002448/1.456, allocations: 1.357 MB / 1.086 GB, free: 144.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002363/1.459, allocations: 1.611 MB / 1.088 GB, free: 144.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/1.459, allocations: 0 / 1.088 GB, free: 144.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.006013/1.465, allocations: 3.456 MB / 1.091 GB, free: 141.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/1.465, allocations: 7.984 kB / 1.091 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.14e-05/1.465, allocations: 4 kB / 1.091 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.731e-05/1.465, allocations: 4 kB / 1.091 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/1.466, allocations: 139.8 kB / 1.092 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/1.466, allocations: 4 kB / 1.092 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/1.467, allocations: 244.2 kB / 1.092 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001409/1.468, allocations: 59.97 kB / 1.092 GB, free: 141.3 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 () * Number of clocked 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.0005432/1.468, allocations: 270.7 kB / 1.092 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.585e-05/1.468, allocations: 70.69 kB / 1.092 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/1.47, allocations: 0.9447 MB / 1.093 GB, free: 140 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/1.47, allocations: 4 kB / 1.093 GB, free: 140 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/1.47, allocations: 0 / 1.093 GB, free: 140 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/1.47, allocations: 0 / 1.093 GB, free: 140 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000711/1.47, allocations: 0.5211 MB / 1.094 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/1.47, allocations: 4 kB / 1.094 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/1.471, allocations: 7.984 kB / 1.094 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/1.471, allocations: 3.938 kB / 1.094 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/1.471, allocations: 4 kB / 1.094 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/1.471, allocations: 0 / 1.094 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.471, allocations: 0 / 1.094 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/1.472, allocations: 1.028 MB / 1.095 GB, free: 138.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002065/1.472, allocations: 151.8 kB / 1.095 GB, free: 138.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/1.472, allocations: 4 kB / 1.095 GB, free: 138.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002665/1.472, allocations: 11.92 kB / 1.095 GB, free: 138.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/1.472, allocations: 11.98 kB / 1.095 GB, free: 138.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.658e-05/1.473, allocations: 11.98 kB / 1.095 GB, free: 138.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001189/1.474, allocations: 0.7139 MB / 1.096 GB, free: 137.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.01e-07/1.474, allocations: 0 / 1.096 GB, free: 137.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002428/1.476, allocations: 0.4991 MB / 1.096 GB, free: 136.9 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) * Number of clocked states: 0 () * 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.004472/1.481, allocations: 2.181 MB / 1.098 GB, free: 134.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003129/1.484, allocations: 2.359 MB / 1.1 GB, free: 132.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/1.484, allocations: 0 / 1.1 GB, free: 132.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004167/1.484, allocations: 347.8 kB / 1.101 GB, free: 132.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005115/1.485, allocations: 57.33 kB / 1.101 GB, free: 132 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005313/1.49, allocations: 2.832 MB / 1.104 GB, free: 129.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005546/1.491, allocations: 1.005 MB / 1.105 GB, free: 128.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003979/1.491, allocations: 58.95 kB / 1.105 GB, free: 128 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004806/1.492, allocations: 299.3 kB / 1.105 GB, free: 127.7 MB / 0.698 GB Notification: Performance of SimCode: time 2.194e-06/1.492, allocations: 0 / 1.105 GB, free: 127.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05624/1.548, allocations: 19.33 MB / 1.124 GB, free: 108.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003227/1.548, allocations: 273.1 kB / 1.124 GB, free: 108.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.548/5.096, allocations: 4 kB / 1.124 GB, free: 108.2 MB / 0.698 GB