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 4.599/4.599, allocations: 0.5623 GB / 0.5769 GB, free: 3.305 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.002383/0.002383, allocations: 364.7 kB / 0.644 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 3.948/3.948, allocations: 410.7 MB / 1.112 GB, free: 5.879 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.001751/0.001751, allocations: 191 kB / 1.225 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005008/0.000501, allocations: 12 kB / 1.348 GB, free: 8.16 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6303/0.6309, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0006067/0.6315, allocations: 298.8 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00107/0.6326, allocations: 0.9413 MB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.38e-05/0.6326, allocations: 0 / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 7.696e-06/0.6327, allocations: 0 / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.000789/0.6335, allocations: 87.78 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 3.185e-05/0.6335, allocations: 3.938 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 3.024e-05/0.6335, allocations: 5.781 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.738e-05/0.6336, allocations: 0 / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 1.86e-05/0.6336, allocations: 4 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002121/0.6338, allocations: 35.47 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 9.431e-06/0.6339, allocations: 1.469 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002081/0.6341, allocations: 67.88 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.42e-05/0.6341, allocations: 7.969 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.666e-05/0.6341, allocations: 29.64 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.6343, allocations: 44.73 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.368e-06/0.6343, allocations: 0 / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.531e-06/0.6344, allocations: 0.5312 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.193e-05/0.6344, allocations: 0 / 1.462 GB, free: 282.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.0002933/0.6347, allocations: 322.5 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.6348, allocations: 12.75 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.969e-05/0.6348, allocations: 4 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.635, allocations: 168.1 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.635, allocations: 4.656 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.635, allocations: 3.938 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.197e-05/0.6351, allocations: 26.55 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.6352, allocations: 0.75 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.52e-06/0.6352, allocations: 0 / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.239e-06/0.6352, allocations: 1.859 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.894e-05/0.6353, allocations: 10.69 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003939/0.6357, allocations: 464.6 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 6.115e-05/0.6358, allocations: 173.2 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.704e-05/0.6358, allocations: 84.94 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.6358, allocations: 80.53 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.6359, allocations: 107.1 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 2.994e-06/0.6359, allocations: 0 / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 6.875e-05/0.636, allocations: 37.55 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/0.636, allocations: 127.3 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.492e-05/0.6361, allocations: 105 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.784e-06/0.6361, allocations: 25.7 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.16e-05/0.6362, allocations: 80.64 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-06/0.6362, allocations: 1.562 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.686e-06/0.6362, allocations: 0 / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 4.636e-05/0.6362, allocations: 318.8 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.008e-05/0.6362, allocations: 0.75 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.067e-06/0.6363, allocations: 0 / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.81e-05/0.6363, allocations: 5.312 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.991e-06/0.6363, allocations: 0 / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001116/0.6364, allocations: 39.89 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.6364, allocations: 7.984 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.691e-06/0.6365, allocations: 0 / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.6365, allocations: 4 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.452e-05/0.6365, allocations: 0 / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.985e-06/0.6365, allocations: 0 / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.803e-05/0.6365, allocations: 4.5 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.89e-06/0.6366, allocations: 0 / 1.464 GB, free: 280.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 5.916e-05/0.6366, allocations: 191 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.007e-05/0.6367, allocations: 101 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.768e-05/0.6367, allocations: 114.2 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.628e-05/0.6368, allocations: 180.3 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.943e-05/0.6368, allocations: 184.2 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-05/0.6368, allocations: 178 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/0.637, allocations: 401.2 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.95e-05/0.637, allocations: 113.7 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.656e-05/0.6371, allocations: 102 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.849e-05/0.6371, allocations: 180.2 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.772e-05/0.6371, allocations: 182 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.94e-05/0.6372, allocations: 188.4 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.249e-05/0.6372, allocations: 181.7 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.856e-05/0.6373, allocations: 320.4 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.927e-05/0.6374, allocations: 183.1 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.865e-05/0.6374, allocations: 189.2 kB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.577e-05/0.6375, allocations: 101 kB / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.072e-05/0.6376, allocations: 179 kB / 1.467 GB, free: 277 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.147e-05/0.6376, allocations: 108.9 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.136e-05/0.6376, allocations: 80.22 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.4e-07/0.6376, allocations: 0 / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003419/0.638, allocations: 20 kB / 1.468 GB, free: 276.8 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.0003355/0.6383, allocations: 226 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.529e-05/0.6384, allocations: 0 / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.6384, allocations: 4.5 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.842e-06/0.6384, allocations: 1.125 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.6388, allocations: 0.5241 MB / 1.468 GB, free: 276 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003213/0.6391, allocations: 194.8 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001431/0.6393, allocations: 0.677 MB / 1.469 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.462e-05/0.6394, allocations: 3.688 kB / 1.469 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.808e-05/0.6394, allocations: 7.438 kB / 1.469 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of SimCode: time 2.095e-06/0.6394, allocations: 0 / 1.469 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.003751/0.6432, allocations: 0.6383 MB / 1.47 GB, free: 274.6 MB / 0.8542 GB