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.ShaGFunction.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.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.078/5.078, allocations: 0.5623 GB / 0.5775 GB, free: 3.359 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.004932/0.004932, allocations: 364.7 kB / 0.6447 GB, free: 185.6 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.35/4.35, allocations: 410.7 MB / 1.113 GB, free: 6.004 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.001874/0.001874, allocations: 179.9 kB / 1.226 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000499/0.0004991, allocations: 12 kB / 1.349 GB, free: 8.246 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7469/0.7474, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2051/0.9525, allocations: 139.4 MB / 1.598 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003846/0.953, allocations: 111.9 kB / 1.598 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.006678/0.9597, allocations: 1.948 MB / 1.6 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.384e-06/0.9597, allocations: 0 / 1.6 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.453e-06/0.9597, allocations: 0 / 1.6 GB, free: 142.8 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002893/0.96, allocations: 341.3 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.9601, allocations: 12.03 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/0.9601, allocations: 0 / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.472e-05/0.9602, allocations: 167 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.9603, allocations: 0 / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.9603, allocations: 1.812 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.325e-05/0.9604, allocations: 29.7 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.9604, allocations: 3.938 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.9604, allocations: 0 / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.9604, allocations: 0.7188 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.278e-05/0.9605, allocations: 8.703 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003398/0.9608, allocations: 465.8 kB / 1.601 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.932e-05/0.9609, allocations: 169.8 kB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.118e-05/0.9609, allocations: 84.92 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.9609, allocations: 77.59 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.961, allocations: 107.7 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.583e-06/0.961, allocations: 0 / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 7.036e-05/0.9611, allocations: 29.64 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.9611, allocations: 131.9 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.399e-05/0.9612, allocations: 101.8 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.522e-06/0.9612, allocations: 25.7 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.609e-05/0.9613, allocations: 84.73 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.206e-06/0.9613, allocations: 1 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.9613, allocations: 0 / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.835e-05/0.9614, allocations: 319.8 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.227e-05/0.9614, allocations: 4 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.235e-06/0.9614, allocations: 1.219 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.155e-05/0.9614, allocations: 3.984 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.9614, allocations: 0.5 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001106/0.9616, allocations: 34.36 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.9616, allocations: 4 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.9616, allocations: 2.125 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.9616, allocations: 0 / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.635e-05/0.9616, allocations: 3.938 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.9617, allocations: 4 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.69e-05/0.9617, allocations: 0 / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.9617, allocations: 1.531 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 6.497e-05/0.9618, allocations: 189.1 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.845e-05/0.9618, allocations: 109.8 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.557e-05/0.9619, allocations: 111.1 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.242e-05/0.9619, allocations: 176.3 kB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.252e-05/0.962, allocations: 177.5 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.465e-05/0.962, allocations: 188.1 kB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001931/0.9622, allocations: 411.6 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.042e-05/0.9622, allocations: 104.9 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.217e-05/0.9623, allocations: 109.8 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.428e-05/0.9623, allocations: 180.8 kB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.574e-05/0.9624, allocations: 182.9 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-05/0.9624, allocations: 180.3 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.542e-05/0.9625, allocations: 188.2 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.194e-05/0.9626, allocations: 310.7 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.345e-05/0.9626, allocations: 183 kB / 1.604 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.34e-05/0.9627, allocations: 179.5 kB / 1.605 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.063e-05/0.9628, allocations: 112.9 kB / 1.605 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/0.9628, allocations: 176.3 kB / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.9628, allocations: 101 kB / 1.605 GB, free: 136.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.32e-05/0.9629, allocations: 83.28 kB / 1.605 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.292e-06/0.9629, allocations: 0 / 1.605 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003405/0.9633, allocations: 32.86 kB / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0004275/0.9637, allocations: 226.6 kB / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.431e-05/0.9638, allocations: 0 / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.9638, allocations: 0 / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.735e-06/0.9638, allocations: 0.5 kB / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.9641, allocations: 0.5377 MB / 1.606 GB, free: 136 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003542/0.9645, allocations: 206.9 kB / 1.606 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.9647, allocations: 0.6779 MB / 1.607 GB, free: 135.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.461e-05/0.9647, allocations: 6.281 kB / 1.607 GB, free: 135 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.105e-05/0.9647, allocations: 7.438 kB / 1.607 GB, free: 135 MB / 0.8542 GB Notification: Performance of SimCode: time 9.22e-07/0.9647, allocations: 0.9688 kB / 1.607 GB, free: 135 MB / 0.8542 GB Notification: Performance of Templates: time 0.003423/0.9682, allocations: 0.6352 MB / 1.607 GB, free: 134.5 MB / 0.8542 GB