Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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_master_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.128/5.128, allocations: 0.5623 GB / 0.5775 GB, free: 3.387 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002513/0.002512, allocations: 359 kB / 0.6446 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.3/4.3, allocations: 410.7 MB / 1.113 GB, free: 6.059 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001904/0.001904, allocations: 186.2 kB / 1.226 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005229/0.0005231, allocations: 12 kB / 1.349 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7932/0.7938, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2245/1.018, allocations: 152.7 MB / 1.611 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004095/1.019, allocations: 121.8 kB / 1.611 GB, free: 131.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.1775/1.196, allocations: 25.02 MB / 1.635 GB, free: 106.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.404e-06/1.196, allocations: 0 / 1.635 GB, free: 106.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.941e-05/1.196, allocations: 20 kB / 1.635 GB, free: 106.7 MB / 0.8542 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.004687/1.201, allocations: 1.625 MB / 1.637 GB, free: 105 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/1.201, allocations: 15.56 kB / 1.637 GB, free: 105 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007197/1.202, allocations: 158 kB / 1.637 GB, free: 104.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/1.203, allocations: 0.6571 MB / 1.637 GB, free: 104.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.223e-05/1.203, allocations: 24 kB / 1.638 GB, free: 104.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/1.204, allocations: 36 kB / 1.638 GB, free: 104.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005246/1.204, allocations: 387.2 kB / 1.638 GB, free: 103.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/1.204, allocations: 0 / 1.638 GB, free: 103.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/1.204, allocations: 0 / 1.638 GB, free: 103.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/1.204, allocations: 4 kB / 1.638 GB, free: 103.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005322/1.205, allocations: 447.6 kB / 1.638 GB, free: 103.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001483/1.206, allocations: 0.9828 MB / 1.639 GB, free: 102.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006206/1.207, allocations: 0.5555 MB / 1.64 GB, free: 101.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003783/1.207, allocations: 341.7 kB / 1.64 GB, free: 101.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001158/1.208, allocations: 1.036 MB / 1.641 GB, free: 100 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005502/1.209, allocations: 404.9 kB / 1.642 GB, free: 99.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 4.289e-06/1.209, allocations: 0 / 1.642 GB, free: 99.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.001837/1.211, allocations: 1.351 MB / 1.643 GB, free: 98.24 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/1.211, allocations: 85.09 kB / 1.643 GB, free: 98.14 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002801/1.214, allocations: 1.85 MB / 1.645 GB, free: 96.24 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001968/1.214, allocations: 49.83 kB / 1.645 GB, free: 96.19 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005011/1.215, allocations: 497.8 kB / 1.645 GB, free: 95.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.532e-05/1.215, allocations: 23.73 kB / 1.645 GB, free: 95.67 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/1.215, allocations: 12 kB / 1.645 GB, free: 95.66 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001308/1.215, allocations: 414.9 kB / 1.646 GB, free: 95.25 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002301/1.217, allocations: 1.475 MB / 1.647 GB, free: 93.77 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00242/1.22, allocations: 1.619 MB / 1.649 GB, free: 92.14 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002695/1.222, allocations: 1.872 MB / 1.651 GB, free: 90.26 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/1.222, allocations: 0 / 1.651 GB, free: 90.26 MB / 0.8542 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.006797/1.229, allocations: 4.048 MB / 1.655 GB, free: 86.18 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.871e-05/1.229, allocations: 7.75 kB / 1.655 GB, free: 86.17 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001053/1.229, allocations: 23.94 kB / 1.655 GB, free: 86.15 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.013e-05/1.229, allocations: 4 kB / 1.655 GB, free: 86.14 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/1.231, allocations: 143.8 kB / 1.655 GB, free: 86 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/1.231, allocations: 4.312 kB / 1.655 GB, free: 86 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/1.232, allocations: 244.3 kB / 1.655 GB, free: 85.76 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000178/1.233, allocations: 99.92 kB / 1.655 GB, free: 85.66 MB / 0.8542 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.0007319/1.233, allocations: 381.4 kB / 1.655 GB, free: 85.28 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/1.233, allocations: 118 kB / 1.656 GB, free: 85.16 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001334/1.235, allocations: 1.016 MB / 1.657 GB, free: 84.13 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/1.235, allocations: 0 / 1.657 GB, free: 84.13 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/1.235, allocations: 0 / 1.657 GB, free: 84.13 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/1.235, allocations: 4 kB / 1.657 GB, free: 84.13 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008098/1.236, allocations: 0.6832 MB / 1.657 GB, free: 83.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/1.236, allocations: 4 kB / 1.657 GB, free: 83.38 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/1.236, allocations: 8 kB / 1.657 GB, free: 83.38 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/1.236, allocations: 0 / 1.657 GB, free: 83.38 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/1.236, allocations: 12.02 kB / 1.657 GB, free: 83.36 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/1.236, allocations: 0 / 1.657 GB, free: 83.36 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.236, allocations: 0 / 1.657 GB, free: 83.36 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/1.237, allocations: 1.063 MB / 1.658 GB, free: 82.27 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002669/1.237, allocations: 207.1 kB / 1.658 GB, free: 82.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001785/1.237, allocations: 11.94 kB / 1.658 GB, free: 82.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000671/1.238, allocations: 3.984 kB / 1.658 GB, free: 82.04 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.891e-05/1.238, allocations: 4 kB / 1.658 GB, free: 82.03 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-05/1.238, allocations: 19.97 kB / 1.658 GB, free: 82.01 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001877/1.24, allocations: 1.104 MB / 1.66 GB, free: 80.88 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.21e-07/1.24, allocations: 0 / 1.66 GB, free: 80.88 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001981/1.242, allocations: 0.5228 MB / 1.66 GB, free: 80.36 MB / 0.8542 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.002147/1.244, allocations: 0.5646 MB / 1.661 GB, free: 79.79 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003141/1.248, allocations: 2.52 MB / 1.663 GB, free: 77.26 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/1.248, allocations: 0 / 1.663 GB, free: 77.26 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004055/1.248, allocations: 339.7 kB / 1.663 GB, free: 76.93 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006875/1.249, allocations: 73.89 kB / 1.663 GB, free: 76.85 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004098/1.253, allocations: 2.714 MB / 1.666 GB, free: 74.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007625/1.254, allocations: 1.179 MB / 1.667 GB, free: 72.89 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0007031/1.254, allocations: 126.4 kB / 1.667 GB, free: 72.77 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002755/1.255, allocations: 67.38 kB / 1.667 GB, free: 72.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.123e-06/1.255, allocations: 0 / 1.667 GB, free: 72.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.03285/1.288, allocations: 11.76 MB / 1.679 GB, free: 60.99 MB / 0.8542 GB