Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001642/0.001646, allocations: 185.6 kB / 15.77 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.8168/0.8168, allocations: 82.93 MB / 99.42 MB, free: 3.297 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.031/2.031, allocations: 205.4 MB / 325.4 MB, free: 3.523 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001071/0.001071, allocations: 81.91 kB / 393.6 MB, free: 15.3 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004503/0.0004506, allocations: 19.98 kB / 471.6 MB, free: 66.55 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08901/0.08948, allocations: 67.44 MB / 0.5264 GB, free: 15.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0007003/0.09023, allocations: 289.9 kB / 0.5267 GB, free: 14.79 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001445/0.09169, allocations: 0.9387 MB / 0.5276 GB, free: 13.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.379e-05/0.09173, allocations: 0 / 0.5276 GB, free: 13.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 8.679e-06/0.09175, allocations: 8 kB / 0.5276 GB, free: 13.83 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007742/0.09254, allocations: 71.91 kB / 0.5277 GB, free: 13.76 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.968e-05/0.09259, allocations: 7.938 kB / 0.5277 GB, free: 13.75 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.115e-05/0.09264, allocations: 3.938 kB / 0.5277 GB, free: 13.75 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.407e-05/0.09268, allocations: 0 / 0.5277 GB, free: 13.75 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.3e-05/0.09271, allocations: 8 kB / 0.5277 GB, free: 13.74 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.09287, allocations: 35.95 kB / 0.5277 GB, free: 13.7 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.806e-06/0.09289, allocations: 3.938 kB / 0.5277 GB, free: 13.7 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.09303, allocations: 47.95 kB / 0.5278 GB, free: 13.65 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.718e-06/0.09305, allocations: 4 kB / 0.5278 GB, free: 13.65 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.29e-05/0.09309, allocations: 29.7 kB / 0.5278 GB, free: 13.61 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.09323, allocations: 43.94 kB / 0.5278 GB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.697e-06/0.09324, allocations: 0 / 0.5278 GB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.09326, allocations: 0 / 0.5278 GB, free: 13.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.864e-06/0.09327, allocations: 4 kB / 0.5278 GB, free: 13.57 MB / 378.7 MB 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.0003476/0.09363, allocations: 331.6 kB / 0.5282 GB, free: 13.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.09368, allocations: 8.031 kB / 0.5282 GB, free: 13.19 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.2e-05/0.09372, allocations: 11.84 kB / 0.5282 GB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.0939, allocations: 163.1 kB / 0.5283 GB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.09392, allocations: 4 kB / 0.5283 GB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.658e-06/0.09394, allocations: 0 / 0.5283 GB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.618e-05/0.09404, allocations: 33.66 kB / 0.5284 GB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.548e-06/0.09406, allocations: 3.938 kB / 0.5284 GB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.657e-06/0.09407, allocations: 0 / 0.5284 GB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.596e-06/0.09409, allocations: 0 / 0.5284 GB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.923e-05/0.09411, allocations: 0 / 0.5284 GB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005012/0.09463, allocations: 468.6 kB / 0.5288 GB, free: 12.4 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.09476, allocations: 177 kB / 0.529 GB, free: 12.22 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.994e-05/0.09481, allocations: 75.28 kB / 0.5291 GB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.401e-05/0.09488, allocations: 109.9 kB / 0.5292 GB, free: 12.03 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 2.047e-06/0.0949, allocations: 0 / 0.5292 GB, free: 12.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 8.62e-05/0.09499, allocations: 25.7 kB / 0.5292 GB, free: 12 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.897e-05/0.09508, allocations: 134.6 kB / 0.5293 GB, free: 11.85 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.09521, allocations: 101.8 kB / 0.5294 GB, free: 11.74 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.09524, allocations: 29.7 kB / 0.5294 GB, free: 11.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.405e-05/0.09531, allocations: 80.14 kB / 0.5295 GB, free: 11.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.853e-06/0.09532, allocations: 0 / 0.5295 GB, free: 11.62 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.242e-06/0.09533, allocations: 0 / 0.5295 GB, free: 11.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.0955, allocations: 310.8 kB / 0.5298 GB, free: 11.31 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.004e-05/0.09552, allocations: 0 / 0.5298 GB, free: 11.31 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.424e-05/0.09554, allocations: 12 kB / 0.5298 GB, free: 11.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.963e-05/0.09557, allocations: 0 / 0.5298 GB, free: 11.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.922e-06/0.09558, allocations: 0 / 0.5298 GB, free: 11.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001214/0.09571, allocations: 41.64 kB / 0.5299 GB, free: 11.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.09574, allocations: 4 kB / 0.5299 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.046e-06/0.09575, allocations: 0 / 0.5299 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.09577, allocations: 0 / 0.5299 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.018e-05/0.0958, allocations: 3.938 kB / 0.5299 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.09582, allocations: 0 / 0.5299 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.312e-05/0.09585, allocations: 12.03 kB / 0.5299 GB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.067e-06/0.09587, allocations: 0 / 0.5299 GB, free: 11.23 MB / 378.7 MB 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 0.0001219/0.096, allocations: 181.1 kB / 0.5301 GB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.255e-05/0.0961, allocations: 112.8 kB / 0.5302 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.363e-05/0.09619, allocations: 116.1 kB / 0.5303 GB, free: 10.81 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.569e-05/0.09628, allocations: 180.2 kB / 0.5304 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.779e-05/0.09639, allocations: 180.3 kB / 0.5306 GB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.605e-05/0.09649, allocations: 180.2 kB / 0.5308 GB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000314/0.09682, allocations: 405.2 kB / 0.5312 GB, free: 9.805 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.151e-05/0.09688, allocations: 109 kB / 0.5313 GB, free: 9.691 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.557e-05/0.09695, allocations: 105 kB / 0.5314 GB, free: 9.582 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-05/0.09705, allocations: 184.3 kB / 0.5316 GB, free: 9.395 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.837e-05/0.09716, allocations: 192.1 kB / 0.5317 GB, free: 9.199 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.683e-05/0.09726, allocations: 176.3 kB / 0.5319 GB, free: 9.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.199e-05/0.09736, allocations: 180.2 kB / 0.5321 GB, free: 8.836 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/0.09755, allocations: 300 kB / 0.5324 GB, free: 8.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.09769, allocations: 202 kB / 0.5326 GB, free: 8.297 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.0978, allocations: 176.3 kB / 0.5327 GB, free: 8.117 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.09795, allocations: 108.9 kB / 0.5328 GB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.433e-05/0.09806, allocations: 184.2 kB / 0.533 GB, free: 7.816 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.527e-05/0.09812, allocations: 101 kB / 0.5331 GB, free: 7.711 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.673e-05/0.0982, allocations: 83.28 kB / 0.5332 GB, free: 7.629 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.45e-07/0.09821, allocations: 4 kB / 0.5332 GB, free: 7.625 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00035/0.09857, allocations: 16 kB / 0.5332 GB, free: 7.609 MB / 378.7 MB 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.0004227/0.099, allocations: 232.6 kB / 0.5334 GB, free: 7.383 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 5.727e-05/0.09908, allocations: 4 kB / 0.5334 GB, free: 7.379 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.514e-06/0.0991, allocations: 4.062 kB / 0.5334 GB, free: 7.375 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.98e-06/0.09911, allocations: 0 / 0.5334 GB, free: 7.375 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.09951, allocations: 0.5185 MB / 0.5339 GB, free: 6.852 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000254/0.09978, allocations: 158 kB / 0.5341 GB, free: 6.668 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.1002, allocations: 0.6848 MB / 0.5348 GB, free: 5.957 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.203e-05/0.1002, allocations: 3.938 kB / 0.5348 GB, free: 5.953 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.57e-05/0.1002, allocations: 15.38 kB / 0.5348 GB, free: 5.938 MB / 378.7 MB Notification: Performance of SimCode: time 1.593e-06/0.1002, allocations: 0 / 0.5348 GB, free: 5.938 MB / 378.7 MB Notification: Performance of Templates: time 0.003142/0.1034, allocations: 0.639 MB / 0.5354 GB, free: 5.344 MB / 378.7 MB