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.00246/0.00246, allocations: 357.2 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.406/1.406, allocations: 165.8 MB / 182.5 MB, free: 5.414 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.689/3.689, allocations: 410.8 MB / 0.5995 GB, free: 15.09 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001788/0.001788, allocations: 193.9 kB / 0.6662 GB, free: 6.934 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008084/0.0008087, allocations: 16 kB / 0.7423 GB, free: 8.918 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.356, allocations: 67.45 MB / 0.8082 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0005964/0.3566, allocations: 279.1 kB / 0.8085 GB, free: 28.52 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.3578, allocations: 0.941 MB / 0.8094 GB, free: 27.56 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.452e-05/0.3578, allocations: 4 kB / 0.8094 GB, free: 27.55 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 9.373e-06/0.3578, allocations: 0 / 0.8094 GB, free: 27.55 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007651/0.3586, allocations: 67.88 kB / 0.8094 GB, free: 27.49 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.6e-05/0.3587, allocations: 15.86 kB / 0.8095 GB, free: 27.47 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.373e-05/0.3587, allocations: 3.984 kB / 0.8095 GB, free: 27.47 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.806e-05/0.3588, allocations: 4 kB / 0.8095 GB, free: 27.46 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.731e-05/0.3588, allocations: 4 kB / 0.8095 GB, free: 27.46 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002334/0.359, allocations: 35.47 kB / 0.8095 GB, free: 27.43 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.359, allocations: 0 / 0.8095 GB, free: 27.43 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.3592, allocations: 59.94 kB / 0.8096 GB, free: 27.37 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.378e-06/0.3592, allocations: 7.938 kB / 0.8096 GB, free: 27.36 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.498e-05/0.3592, allocations: 25.7 kB / 0.8096 GB, free: 27.33 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001398/0.3594, allocations: 51.92 kB / 0.8096 GB, free: 27.28 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.703e-06/0.3594, allocations: 0 / 0.8096 GB, free: 27.28 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.55e-06/0.3594, allocations: 0 / 0.8096 GB, free: 27.28 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.3595, allocations: 0 / 0.8096 GB, free: 27.28 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.0002682/0.3597, allocations: 329.5 kB / 0.81 GB, free: 26.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.3598, allocations: 8.031 kB / 0.81 GB, free: 26.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.149e-05/0.3598, allocations: 0 / 0.81 GB, free: 26.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.446e-05/0.3599, allocations: 171 kB / 0.8101 GB, free: 26.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.3599, allocations: 3.938 kB / 0.8101 GB, free: 26.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.36, allocations: 0 / 0.8101 GB, free: 26.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.441e-05/0.3601, allocations: 37.64 kB / 0.8102 GB, free: 26.65 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.564e-06/0.3601, allocations: 0 / 0.8102 GB, free: 26.65 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.966e-06/0.3601, allocations: 0 / 0.8102 GB, free: 26.65 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.041e-06/0.3601, allocations: 0 / 0.8102 GB, free: 26.65 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.95e-05/0.3601, allocations: 3.938 kB / 0.8102 GB, free: 26.65 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003018/0.3604, allocations: 472.6 kB / 0.8106 GB, free: 26.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.56e-05/0.3605, allocations: 173.1 kB / 0.8108 GB, free: 25.94 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.651e-05/0.3606, allocations: 80.14 kB / 0.8109 GB, free: 25.86 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.918e-05/0.3606, allocations: 75.28 kB / 0.8109 GB, free: 25.78 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.93e-05/0.3607, allocations: 113.8 kB / 0.811 GB, free: 25.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 2.065e-06/0.3607, allocations: 4 kB / 0.8111 GB, free: 25.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 8.851e-05/0.3608, allocations: 29.69 kB / 0.8111 GB, free: 25.62 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.822e-05/0.3609, allocations: 126.7 kB / 0.8112 GB, free: 25.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.361, allocations: 97.86 kB / 0.8113 GB, free: 25.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.361, allocations: 25.7 kB / 0.8113 GB, free: 25.35 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.917e-05/0.3611, allocations: 84.14 kB / 0.8114 GB, free: 25.26 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.677e-06/0.3611, allocations: 0 / 0.8114 GB, free: 25.26 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/0.3611, allocations: 0 / 0.8114 GB, free: 25.26 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.754e-05/0.3612, allocations: 318.8 kB / 0.8117 GB, free: 24.94 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.025e-05/0.3612, allocations: 0 / 0.8117 GB, free: 24.94 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.242e-05/0.3612, allocations: 4 kB / 0.8117 GB, free: 24.94 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.455e-05/0.3613, allocations: 4 kB / 0.8117 GB, free: 24.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.907e-06/0.3613, allocations: 0 / 0.8117 GB, free: 24.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001125/0.3614, allocations: 41.59 kB / 0.8118 GB, free: 24.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.3614, allocations: 4 kB / 0.8118 GB, free: 24.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.199e-06/0.3615, allocations: 0 / 0.8118 GB, free: 24.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.3615, allocations: 96 / 0.8118 GB, free: 24.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.943e-05/0.3615, allocations: 4 kB / 0.8118 GB, free: 24.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.3615, allocations: 3.984 kB / 0.8118 GB, free: 24.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.155e-05/0.3616, allocations: 3.938 kB / 0.8118 GB, free: 24.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.537e-06/0.3616, allocations: 4.188 kB / 0.8118 GB, free: 24.87 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 5.387e-05/0.3616, allocations: 181.1 kB / 0.8119 GB, free: 24.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.321e-05/0.3617, allocations: 112.9 kB / 0.8121 GB, free: 24.56 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.949e-05/0.3617, allocations: 121.2 kB / 0.8122 GB, free: 24.44 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.674e-05/0.3618, allocations: 180.3 kB / 0.8123 GB, free: 24.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-05/0.3618, allocations: 184.2 kB / 0.8125 GB, free: 24.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.592e-05/0.3619, allocations: 176.3 kB / 0.8127 GB, free: 23.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.362, allocations: 409.2 kB / 0.8131 GB, free: 23.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.81e-05/0.3621, allocations: 101 kB / 0.8132 GB, free: 23.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.769e-05/0.3621, allocations: 105 kB / 0.8133 GB, free: 23.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.887e-05/0.3621, allocations: 188.1 kB / 0.8134 GB, free: 23.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.987e-05/0.3622, allocations: 180.2 kB / 0.8136 GB, free: 22.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.712e-05/0.3622, allocations: 180.4 kB / 0.8138 GB, free: 22.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.904e-05/0.3622, allocations: 180.3 kB / 0.814 GB, free: 22.47 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.635e-05/0.3623, allocations: 315.8 kB / 0.8143 GB, free: 22.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.469e-05/0.3624, allocations: 190 kB / 0.8144 GB, free: 21.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.927e-05/0.3624, allocations: 184.2 kB / 0.8146 GB, free: 21.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.444e-05/0.3625, allocations: 104.9 kB / 0.8147 GB, free: 21.63 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.18e-05/0.3626, allocations: 180.3 kB / 0.8149 GB, free: 21.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.3626, allocations: 108.9 kB / 0.815 GB, free: 21.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.926e-05/0.3626, allocations: 83.27 kB / 0.8151 GB, free: 21.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.8e-07/0.3627, allocations: 0 / 0.8151 GB, free: 21.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003443/0.363, allocations: 20 kB / 0.8151 GB, free: 21.23 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.0003525/0.3634, allocations: 233.9 kB / 0.8153 GB, free: 21.01 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 6.711e-05/0.3635, allocations: 4 kB / 0.8153 GB, free: 21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.872e-06/0.3635, allocations: 0 / 0.8153 GB, free: 21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.043e-06/0.3635, allocations: 0 / 0.8153 GB, free: 21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.3638, allocations: 0.5224 MB / 0.8158 GB, free: 20.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003373/0.3642, allocations: 194 kB / 0.816 GB, free: 20.26 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.3643, allocations: 0.677 MB / 0.8167 GB, free: 19.55 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.871e-05/0.3643, allocations: 0 / 0.8167 GB, free: 19.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.104e-05/0.3644, allocations: 11.44 kB / 0.8167 GB, free: 19.54 MB / 378.7 MB Notification: Performance of SimCode: time 1.441e-06/0.3644, allocations: 0 / 0.8167 GB, free: 19.54 MB / 378.7 MB Notification: Performance of Templates: time 0.003131/0.3675, allocations: 0.6424 MB / 0.8173 GB, free: 18.94 MB / 378.7 MB