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_100boreholes.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_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.192/2.192, allocations: 252.6 MB / 265.2 MB, free: 5.746 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001581/0.001581, allocations: 175.8 kB / 324.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.017/2.017, allocations: 205.4 MB / 0.5754 GB, free: 10.53 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.001047/0.001047, allocations: 93.69 kB / 0.6797 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.638e-05/3.654e-05, allocations: 7.938 kB / 0.7912 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2006, allocations: 106.2 MB / 0.8949 GB, free: 6.277 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9257/1.126, allocations: 146.3 MB / 1.038 GB, free: 4.398 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003836/1.127, allocations: 113.5 kB / 1.038 GB, free: 4.328 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1867/1.314, allocations: 25.03 MB / 1.062 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.733e-06/1.314, allocations: 0 / 1.062 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001007/1.314, allocations: 20 kB / 1.062 GB, free: 14.38 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.004314/1.318, allocations: 1.349 MB / 1.064 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.449e-05/1.318, allocations: 8.031 kB / 1.064 GB, free: 13.04 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/1.319, allocations: 158 kB / 1.064 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002569/1.322, allocations: 0.641 MB / 1.065 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.463e-05/1.322, allocations: 28.38 kB / 1.065 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002552/1.322, allocations: 37.5 kB / 1.065 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008094/1.323, allocations: 389.5 kB / 1.065 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/1.323, allocations: 4 kB / 1.065 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/1.323, allocations: 3.938 kB / 1.065 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/1.323, allocations: 3.953 kB / 1.065 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008255/1.324, allocations: 423.3 kB / 1.065 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002423/1.326, allocations: 0.9923 MB / 1.066 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007894/1.327, allocations: 0.5576 MB / 1.067 GB, free: 9.898 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004378/1.328, allocations: 331.5 kB / 1.067 GB, free: 9.574 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001398/1.329, allocations: 1.031 MB / 1.068 GB, free: 8.324 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006044/1.33, allocations: 405.2 kB / 1.069 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 3.146e-06/1.33, allocations: 0 / 1.069 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.001766/1.332, allocations: 1.017 MB / 1.07 GB, free: 6.91 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.844e-05/1.332, allocations: 81.06 kB / 1.07 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003292/1.335, allocations: 1.61 MB / 1.071 GB, free: 5.449 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000207/1.335, allocations: 47.52 kB / 1.071 GB, free: 5.41 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006124/1.336, allocations: 499.6 kB / 1.072 GB, free: 5.121 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.595e-05/1.336, allocations: 35 kB / 1.072 GB, free: 5.09 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/1.336, allocations: 14.69 kB / 1.072 GB, free: 5.086 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002127/1.336, allocations: 411.4 kB / 1.072 GB, free: 4.719 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002702/1.339, allocations: 1.459 MB / 1.074 GB, free: 3.676 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002988/1.342, allocations: 1.6 MB / 1.075 GB, free: 2.531 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003203/1.345, allocations: 1.865 MB / 1.077 GB, free: 1.074 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/1.345, allocations: 4 kB / 1.077 GB, free: 1.07 MB / 0.6823 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008273/1.354, allocations: 4.012 MB / 1.081 GB, free: 13.89 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.036e-05/1.354, allocations: 4 kB / 1.081 GB, free: 13.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001302/1.354, allocations: 20 kB / 1.081 GB, free: 13.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-05/1.354, allocations: 4 kB / 1.081 GB, free: 13.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/1.355, allocations: 150.6 kB / 1.081 GB, free: 13.72 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.9e-05/1.356, allocations: 7.938 kB / 1.081 GB, free: 13.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001615/1.357, allocations: 243 kB / 1.081 GB, free: 13.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002403/1.357, allocations: 86.67 kB / 1.081 GB, free: 13.41 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.000222/1.358, allocations: 135 kB / 1.082 GB, free: 13.29 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002336/1.358, allocations: 118 kB / 1.082 GB, free: 13.17 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001639/1.36, allocations: 1.004 MB / 1.083 GB, free: 12.18 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/1.36, allocations: 0 / 1.083 GB, free: 12.18 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/1.36, allocations: 7.984 kB / 1.083 GB, free: 12.18 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/1.36, allocations: 0 / 1.083 GB, free: 12.18 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/1.361, allocations: 0.6839 MB / 1.083 GB, free: 11.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/1.361, allocations: 4.031 kB / 1.083 GB, free: 11.56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001451/1.361, allocations: 11.98 kB / 1.083 GB, free: 11.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/1.361, allocations: 0 / 1.083 GB, free: 11.55 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.514e-05/1.361, allocations: 4 kB / 1.083 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/1.361, allocations: 7.922 kB / 1.083 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.361, allocations: 0 / 1.083 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001504/1.363, allocations: 1.063 MB / 1.084 GB, free: 10.46 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003869/1.363, allocations: 211 kB / 1.085 GB, free: 10.23 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001811/1.363, allocations: 4 kB / 1.085 GB, free: 10.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006976/1.364, allocations: 11.86 kB / 1.085 GB, free: 10.22 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.235e-05/1.364, allocations: 4 kB / 1.085 GB, free: 10.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.25e-05/1.364, allocations: 11.97 kB / 1.085 GB, free: 10.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002508/1.367, allocations: 1.097 MB / 1.086 GB, free: 9.262 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.845e-06/1.367, allocations: 0 / 1.086 GB, free: 9.262 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002181/1.369, allocations: 0.5239 MB / 1.086 GB, free: 8.762 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.002808/1.372, allocations: 0.5606 MB / 1.087 GB, free: 8.199 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00376/1.375, allocations: 2.503 MB / 1.089 GB, free: 6.469 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/1.376, allocations: 0 / 1.089 GB, free: 6.469 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004686/1.376, allocations: 338.8 kB / 1.089 GB, free: 6.145 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005384/1.377, allocations: 60.23 kB / 1.09 GB, free: 6.121 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004225/1.381, allocations: 2.102 MB / 1.092 GB, free: 4.023 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001154/1.382, allocations: 1.175 MB / 1.093 GB, free: 2.824 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007514/1.383, allocations: 130.3 kB / 1.093 GB, free: 2.695 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002927/1.383, allocations: 70.62 kB / 1.093 GB, free: 2.637 MB / 0.698 GB Notification: Performance of SimCode: time 1.333e-06/1.383, allocations: 0 / 1.093 GB, free: 2.637 MB / 0.698 GB Notification: Performance of Templates: time 0.03858/1.422, allocations: 11.58 MB / 1.104 GB, free: 7.109 MB / 0.7136 GB