Running: ./testmodel.py --libraries=/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.203/2.203, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001531/0.00153, allocations: 183.2 kB / 325.6 MB, free: 2.824 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.324/2.324, allocations: 205.4 MB / 0.5766 GB, free: 21.11 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001169/0.001169, allocations: 84.62 kB / 0.6811 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004646/0.0004648, allocations: 13.75 kB / 0.7952 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.1998, allocations: 106.3 MB / 0.8989 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2485/0.4483, allocations: 150.9 MB / 1.046 GB, free: 10.76 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004265/0.4488, allocations: 123.9 kB / 1.046 GB, free: 10.64 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.7448/1.194, allocations: 29.72 MB / 1.075 GB, free: 149.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.843e-06/1.194, allocations: 0 / 1.075 GB, free: 149.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.927e-05/1.194, allocations: 14.16 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.003528/1.197, allocations: 1.201 MB / 1.077 GB, free: 148.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/1.197, allocations: 9.562 kB / 1.077 GB, free: 148.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005654/1.198, allocations: 107.3 kB / 1.077 GB, free: 148.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009962/1.199, allocations: 478.1 kB / 1.077 GB, free: 148.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.961e-05/1.199, allocations: 24.56 kB / 1.077 GB, free: 148.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/1.199, allocations: 30.56 kB / 1.077 GB, free: 148.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006259/1.2, allocations: 394.2 kB / 1.078 GB, free: 148.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/1.2, allocations: 0 / 1.078 GB, free: 148.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/1.2, allocations: 1 kB / 1.078 GB, free: 148.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/1.2, allocations: 5.141 kB / 1.078 GB, free: 148.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006657/1.201, allocations: 433.4 kB / 1.078 GB, free: 148.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/1.202, allocations: 0.7738 MB / 1.079 GB, free: 148.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/1.203, allocations: 0.564 MB / 1.079 GB, free: 148 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001233/1.204, allocations: 1.031 MB / 1.08 GB, free: 146.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007781/1.205, allocations: 406.9 kB / 1.081 GB, free: 146.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 2.975e-06/1.205, allocations: 0 / 1.081 GB, free: 146.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.002171/1.207, allocations: 1.308 MB / 1.082 GB, free: 146.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/1.207, allocations: 81.05 kB / 1.082 GB, free: 146.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001685/1.209, allocations: 1.124 MB / 1.083 GB, free: 146.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.00018/1.209, allocations: 42.23 kB / 1.083 GB, free: 146.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002653/1.209, allocations: 306.7 kB / 1.084 GB, free: 145.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.731e-05/1.209, allocations: 26.69 kB / 1.084 GB, free: 145.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.893e-05/1.21, allocations: 15.34 kB / 1.084 GB, free: 145.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001522/1.21, allocations: 425.2 kB / 1.084 GB, free: 145.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001839/1.212, allocations: 1.219 MB / 1.085 GB, free: 145.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002175/1.214, allocations: 1.358 MB / 1.087 GB, free: 145.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002295/1.216, allocations: 1.61 MB / 1.088 GB, free: 144.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/1.216, allocations: 1.125 kB / 1.088 GB, free: 144.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005569/1.222, allocations: 3.455 MB / 1.091 GB, free: 142.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/1.222, allocations: 4 kB / 1.091 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.181e-05/1.222, allocations: 0 / 1.091 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.894e-05/1.222, allocations: 4 kB / 1.091 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/1.223, allocations: 151.9 kB / 1.092 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.595e-05/1.223, allocations: 4.859 kB / 1.092 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/1.224, allocations: 240.8 kB / 1.092 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/1.224, allocations: 59.94 kB / 1.092 GB, free: 141.8 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.0004944/1.225, allocations: 262.1 kB / 1.092 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.147e-05/1.225, allocations: 82.61 kB / 1.092 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/1.226, allocations: 0.9367 MB / 1.093 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/1.226, allocations: 0 / 1.093 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/1.226, allocations: 4 kB / 1.093 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/1.226, allocations: 3.938 kB / 1.093 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005998/1.227, allocations: 0.5164 MB / 1.094 GB, free: 139.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/1.227, allocations: 0 / 1.094 GB, free: 139.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/1.227, allocations: 11.98 kB / 1.094 GB, free: 139.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/1.227, allocations: 0 / 1.094 GB, free: 139.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/1.227, allocations: 8 kB / 1.094 GB, free: 139.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/1.227, allocations: 0 / 1.094 GB, free: 139.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/1.227, allocations: 400 / 1.094 GB, free: 139.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/1.228, allocations: 1.023 MB / 1.095 GB, free: 138.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001418/1.228, allocations: 167.7 kB / 1.095 GB, free: 138.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/1.229, allocations: 4 kB / 1.095 GB, free: 138.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/1.229, allocations: 11.98 kB / 1.095 GB, free: 138.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/1.229, allocations: 3.938 kB / 1.095 GB, free: 138.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.677e-05/1.229, allocations: 19.97 kB / 1.095 GB, free: 138.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001123/1.23, allocations: 0.7062 MB / 1.096 GB, free: 137.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/1.23, allocations: 7.938 kB / 1.096 GB, free: 137.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00219/1.232, allocations: 0.5032 MB / 1.096 GB, free: 137.4 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.002468/1.235, allocations: 0.6438 MB / 1.097 GB, free: 136.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002959/1.238, allocations: 2.359 MB / 1.099 GB, free: 134.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/1.238, allocations: 8 kB / 1.099 GB, free: 134.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004077/1.238, allocations: 339.8 kB / 1.099 GB, free: 134.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004973/1.239, allocations: 52.7 kB / 1.099 GB, free: 134 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002905/1.242, allocations: 1.973 MB / 1.101 GB, free: 132 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005294/1.242, allocations: 1.001 MB / 1.102 GB, free: 131 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004296/1.243, allocations: 58.95 kB / 1.102 GB, free: 130.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/1.243, allocations: 39.36 kB / 1.102 GB, free: 130.9 MB / 0.698 GB Notification: Performance of SimCode: time 9.42e-07/1.243, allocations: 4 kB / 1.102 GB, free: 130.9 MB / 0.698 GB Notification: Performance of Templates: time 0.02842/1.271, allocations: 10.92 MB / 1.113 GB, free: 120.1 MB / 0.698 GB