Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.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.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.361/4.361, allocations: 0.5623 GB / 0.5769 GB, free: 66.92 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002556/0.002555, allocations: 358.6 kB / 0.644 GB, free: 21.5 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.694/3.694, allocations: 410.7 MB / 1.112 GB, free: 109.7 MB / 0.5573 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001798/0.001798, allocations: 190.2 kB / 1.225 GB, free: 9.566 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005024/0.0005026, allocations: 16 kB / 1.348 GB, free: 84.62 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1588, allocations: 115.3 MB / 1.461 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.4893/0.6482, allocations: 1.004 MB / 1.462 GB, free: 11.59 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004355/0.6525, allocations: 3.501 MB / 1.465 GB, free: 9.492 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.719e-05/0.6526, allocations: 4.5 kB / 1.465 GB, free: 9.488 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.59e-05/0.6526, allocations: 0.5625 kB / 1.465 GB, free: 9.488 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003317/0.653, allocations: 78.45 kB / 1.465 GB, free: 9.445 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003192/0.6533, allocations: 97.3 kB / 1.465 GB, free: 9.402 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.408e-05/0.6534, allocations: 21.59 kB / 1.465 GB, free: 9.395 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.364e-05/0.6534, allocations: 2.219 kB / 1.465 GB, free: 9.395 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.828e-05/0.6535, allocations: 25.38 kB / 1.465 GB, free: 9.383 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.6537, allocations: 38.53 kB / 1.465 GB, free: 9.371 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.6537, allocations: 1.438 kB / 1.465 GB, free: 9.371 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006081/0.6543, allocations: 289.3 kB / 1.466 GB, free: 9.305 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.13e-05/0.6543, allocations: 5.328 kB / 1.466 GB, free: 9.301 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.65e-05/0.6543, allocations: 32.11 kB / 1.466 GB, free: 9.266 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.6545, allocations: 78.91 kB / 1.466 GB, free: 9.25 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.713e-06/0.6546, allocations: 0.5156 kB / 1.466 GB, free: 9.25 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.849e-06/0.6546, allocations: 0 / 1.466 GB, free: 9.25 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.747e-06/0.6546, allocations: 0.875 kB / 1.466 GB, free: 9.25 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002995/0.6549, allocations: 354.1 kB / 1.466 GB, free: 8.875 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.6549, allocations: 9.094 kB / 1.466 GB, free: 8.875 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.898e-05/0.655, allocations: 5.328 kB / 1.466 GB, free: 8.871 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.748e-05/0.6551, allocations: 170.8 kB / 1.466 GB, free: 8.668 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.6551, allocations: 4.906 kB / 1.466 GB, free: 8.664 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.6551, allocations: 1.344 kB / 1.466 GB, free: 8.664 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.137e-05/0.6552, allocations: 31.02 kB / 1.466 GB, free: 8.633 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.6552, allocations: 0 / 1.466 GB, free: 8.633 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.89e-06/0.6552, allocations: 0.6094 kB / 1.466 GB, free: 8.633 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.757e-06/0.6553, allocations: 1.359 kB / 1.466 GB, free: 8.633 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.029e-05/0.6553, allocations: 16.23 kB / 1.466 GB, free: 8.625 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001258/0.6554, allocations: 156.8 kB / 1.467 GB, free: 8.43 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.502e-05/0.6555, allocations: 29.2 kB / 1.467 GB, free: 8.398 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.447e-05/0.6555, allocations: 8.766 kB / 1.467 GB, free: 8.391 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002166/0.6558, allocations: 99.09 kB / 1.467 GB, free: 8.297 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.638e-05/0.6558, allocations: 36.56 kB / 1.467 GB, free: 8.254 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 2.026e-06/0.6558, allocations: 0 / 1.467 GB, free: 8.254 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001415/0.656, allocations: 41.73 kB / 1.467 GB, free: 8.219 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.119e-05/0.656, allocations: 53.05 kB / 1.467 GB, free: 8.156 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.442e-05/0.6561, allocations: 109.8 kB / 1.467 GB, free: 8.047 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.579e-06/0.6561, allocations: 25.7 kB / 1.467 GB, free: 8.016 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.104e-05/0.6561, allocations: 85.53 kB / 1.467 GB, free: 7.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.6561, allocations: 5.359 kB / 1.467 GB, free: 7.926 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.128e-06/0.6561, allocations: 1.031 kB / 1.467 GB, free: 7.926 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.812e-05/0.6562, allocations: 313.5 kB / 1.467 GB, free: 7.613 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.741e-05/0.6562, allocations: 6.25 kB / 1.467 GB, free: 7.609 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.415e-05/0.6563, allocations: 6.797 kB / 1.467 GB, free: 7.605 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.251e-05/0.6563, allocations: 6.75 kB / 1.467 GB, free: 7.602 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.049e-06/0.6563, allocations: 0 / 1.467 GB, free: 7.602 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.356e-05/0.6564, allocations: 41.2 kB / 1.467 GB, free: 7.566 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.6564, allocations: 4.906 kB / 1.467 GB, free: 7.566 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.066e-06/0.6564, allocations: 1.891 kB / 1.467 GB, free: 7.566 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.6564, allocations: 0 / 1.467 GB, free: 7.566 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.924e-05/0.6565, allocations: 3.953 kB / 1.467 GB, free: 7.566 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.666e-06/0.6565, allocations: 96 / 1.467 GB, free: 7.566 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.264e-05/0.6566, allocations: 8.656 kB / 1.467 GB, free: 7.559 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.706e-06/0.6566, allocations: 5.781 kB / 1.467 GB, free: 7.555 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.057e-05/0.6566, allocations: 112 kB / 1.467 GB, free: 7.438 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.6567, allocations: 5.406 kB / 1.467 GB, free: 7.434 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.6568, allocations: 46.17 kB / 1.468 GB, free: 7.398 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.122e-06/0.6568, allocations: 1.5 kB / 1.468 GB, free: 7.398 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.726e-06/0.6568, allocations: 0 / 1.468 GB, free: 7.398 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.6568, allocations: 4.547 kB / 1.468 GB, free: 7.395 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.698e-05/0.6569, allocations: 158.5 kB / 1.468 GB, free: 7.199 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.091e-06/0.6569, allocations: 0 / 1.468 GB, free: 7.199 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.298e-05/0.657, allocations: 3.672 kB / 1.468 GB, free: 7.199 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.776e-06/0.657, allocations: 1.281 kB / 1.468 GB, free: 7.199 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.657, allocations: 0 / 1.468 GB, free: 7.199 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.651e-06/0.657, allocations: 0.5156 kB / 1.468 GB, free: 7.199 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.914e-06/0.657, allocations: 1.594 kB / 1.468 GB, free: 7.199 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.433e-05/0.6571, allocations: 74.09 kB / 1.468 GB, free: 7.121 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.336e-05/0.6572, allocations: 84.44 kB / 1.468 GB, free: 7.023 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.6572, allocations: 2.812 kB / 1.468 GB, free: 7.023 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.206e-05/0.6572, allocations: 1.281 kB / 1.468 GB, free: 7.023 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.821e-05/0.6572, allocations: 0.6562 kB / 1.468 GB, free: 7.023 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-06/0.6572, allocations: 2.078 kB / 1.468 GB, free: 7.023 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.908e-05/0.6573, allocations: 84.5 kB / 1.468 GB, free: 6.945 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.53e-07/0.6573, allocations: 0 / 1.468 GB, free: 6.945 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002721/0.6576, allocations: 22.7 kB / 1.468 GB, free: 6.941 MB / 0.6042 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 (2): * Single equations (assignments): 2 * 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.0001853/0.6578, allocations: 135.9 kB / 1.468 GB, free: 6.836 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.89e-05/0.6579, allocations: 13.08 kB / 1.468 GB, free: 6.832 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.508e-06/0.6579, allocations: 0 / 1.468 GB, free: 6.832 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.46e-05/0.6579, allocations: 8.562 kB / 1.468 GB, free: 6.828 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.6581, allocations: 13.56 kB / 1.468 GB, free: 6.82 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002675/0.6584, allocations: 158.8 kB / 1.468 GB, free: 6.695 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.6588, allocations: 0.6786 MB / 1.469 GB, free: 6 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.836e-05/0.6588, allocations: 2.469 kB / 1.469 GB, free: 6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.886e-05/0.6588, allocations: 8.938 kB / 1.469 GB, free: 5.992 MB / 0.6042 GB Notification: Performance of SimCode: time 1.327e-06/0.6588, allocations: 0.6562 kB / 1.469 GB, free: 5.992 MB / 0.6042 GB Notification: Performance of Templates: time 0.003424/0.6623, allocations: 0.7168 MB / 1.47 GB, free: 5.914 MB / 0.6042 GB