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.32/2.32, allocations: 253.2 MB / 260.6 MB, free: 7.457 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.001462/0.001462, allocations: 185.8 kB / 319.9 MB, free: 3.074 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.119/2.119, allocations: 205.6 MB / 0.5708 GB, free: 15.27 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.001108/0.001108, allocations: 98.19 kB / 0.6751 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.023e-05/3.035e-05, allocations: 8 kB / 0.7849 GB, free: 102.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.2, allocations: 106.3 MB / 0.8887 GB, free: 11.8 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9457/1.146, allocations: 146.6 MB / 1.032 GB, free: 6.766 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000406/1.146, allocations: 106.1 kB / 1.032 GB, free: 6.699 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1856/1.332, allocations: 24.86 MB / 1.056 GB, free: 1.246 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.074e-06/1.332, allocations: 0 / 1.056 GB, free: 1.246 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001063/1.332, allocations: 24 kB / 1.056 GB, free: 1.223 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.004096/1.336, allocations: 1.343 MB / 1.058 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/1.336, allocations: 15.95 kB / 1.058 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008397/1.337, allocations: 154 kB / 1.058 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001956/1.339, allocations: 0.6454 MB / 1.058 GB, free: 15.03 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/1.339, allocations: 0 / 1.058 GB, free: 15.03 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001927/1.339, allocations: 27.94 kB / 1.058 GB, free: 15 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005893/1.34, allocations: 427.7 kB / 1.059 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005379/1.341, allocations: 379 kB / 1.059 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/1.341, allocations: 3.938 kB / 1.059 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/1.341, allocations: 3.953 kB / 1.059 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/1.341, allocations: 0 / 1.059 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00182/1.342, allocations: 0.9392 MB / 1.06 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007848/1.343, allocations: 0.5552 MB / 1.061 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004195/1.344, allocations: 329.5 kB / 1.061 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001512/1.345, allocations: 1.032 MB / 1.062 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006214/1.346, allocations: 396.7 kB / 1.062 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 2.955e-06/1.346, allocations: 0 / 1.062 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.001862/1.348, allocations: 1.018 MB / 1.063 GB, free: 9.84 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.089e-05/1.348, allocations: 85.03 kB / 1.063 GB, free: 9.738 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003243/1.351, allocations: 1.52 MB / 1.065 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002132/1.352, allocations: 29.7 kB / 1.065 GB, free: 8.438 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008231/1.352, allocations: 487.9 kB / 1.065 GB, free: 8.168 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.401e-05/1.352, allocations: 22.72 kB / 1.065 GB, free: 8.148 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/1.353, allocations: 4 kB / 1.065 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000277/1.353, allocations: 410.2 kB / 1.066 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002839/1.356, allocations: 1.446 MB / 1.067 GB, free: 6.754 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002984/1.359, allocations: 1.578 MB / 1.069 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003478/1.362, allocations: 1.843 MB / 1.071 GB, free: 4.188 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/1.362, allocations: 3.938 kB / 1.071 GB, free: 4.184 MB / 0.6823 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.007938/1.37, allocations: 3.974 MB / 1.074 GB, free: 1.031 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.354e-05/1.37, allocations: 8 kB / 1.074 GB, free: 1.023 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001377/1.371, allocations: 20 kB / 1.074 GB, free: 1.004 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.998e-05/1.371, allocations: 4 kB / 1.074 GB, free: 1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/1.372, allocations: 139 kB / 1.075 GB, free: 0.8672 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.54e-05/1.372, allocations: 4 kB / 1.075 GB, free: 0.8633 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001588/1.374, allocations: 232.3 kB / 1.075 GB, free: 0.6328 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002095/1.374, allocations: 93.86 kB / 1.075 GB, free: 0.5547 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.0002187/1.374, allocations: 120.8 kB / 1.075 GB, free: 440 kB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001788/1.374, allocations: 118 kB / 1.075 GB, free: 320 kB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001663/1.376, allocations: 1.001 MB / 1.076 GB, free: 15.33 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/1.376, allocations: 0 / 1.076 GB, free: 15.33 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.667e-06/1.376, allocations: 7.984 kB / 1.076 GB, free: 15.32 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/1.376, allocations: 0 / 1.076 GB, free: 15.32 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/1.377, allocations: 0.6481 MB / 1.077 GB, free: 14.76 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/1.377, allocations: 4 kB / 1.077 GB, free: 14.76 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/1.377, allocations: 8.031 kB / 1.077 GB, free: 14.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-06/1.378, allocations: 0 / 1.077 GB, free: 14.75 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.664e-05/1.378, allocations: 7.984 kB / 1.077 GB, free: 14.74 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/1.378, allocations: 0 / 1.077 GB, free: 14.74 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.276e-05/1.378, allocations: 11.92 kB / 1.077 GB, free: 14.73 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001476/1.379, allocations: 1.061 MB / 1.078 GB, free: 13.65 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004037/1.379, allocations: 219 kB / 1.078 GB, free: 13.42 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000174/1.38, allocations: 0 / 1.078 GB, free: 13.42 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006996/1.38, allocations: 7.984 kB / 1.078 GB, free: 13.41 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.924e-05/1.38, allocations: 4 kB / 1.078 GB, free: 13.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.674e-05/1.381, allocations: 15.97 kB / 1.078 GB, free: 13.39 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001857/1.382, allocations: 1.005 MB / 1.079 GB, free: 12.55 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.81e-07/1.382, allocations: 0 / 1.079 GB, free: 12.55 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002277/1.385, allocations: 0.5077 MB / 1.08 GB, free: 12.06 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.002531/1.387, allocations: 0.562 MB / 1.08 GB, free: 11.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003449/1.391, allocations: 2.478 MB / 1.083 GB, free: 9.793 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/1.391, allocations: 0 / 1.083 GB, free: 9.793 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004674/1.391, allocations: 334.8 kB / 1.083 GB, free: 9.473 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005892/1.392, allocations: 62.52 kB / 1.083 GB, free: 9.445 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00423/1.396, allocations: 2.103 MB / 1.085 GB, free: 7.344 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001123/1.397, allocations: 1.183 MB / 1.086 GB, free: 6.137 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007492/1.398, allocations: 126.3 kB / 1.086 GB, free: 6.008 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002736/1.398, allocations: 69.64 kB / 1.086 GB, free: 5.953 MB / 0.698 GB Notification: Performance of SimCode: time 1.173e-06/1.398, allocations: 0 / 1.086 GB, free: 5.953 MB / 0.698 GB Notification: Performance of Templates: time 0.04208/1.44, allocations: 10.97 MB / 1.097 GB, free: 11.05 MB / 0.7136 GB