Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.216/2.216, allocations: 252.6 MB / 265.2 MB, free: 5.73 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001508/0.001507, allocations: 179.9 kB / 324.5 MB, free: 14.39 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.97/1.97, allocations: 205.4 MB / 0.5754 GB, free: 10.48 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001144/0.001143, allocations: 98.05 kB / 0.6797 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.468e-05/4.482e-05, allocations: 4 kB / 0.7912 GB, free: 96.54 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.204, allocations: 106.2 MB / 0.8949 GB, free: 6.207 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9011/1.105, allocations: 140.1 MB / 1.032 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004273/1.106, allocations: 111.5 kB / 1.032 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.08075/1.186, allocations: 18.01 MB / 1.049 GB, free: 11.24 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.512e-06/1.186, allocations: 0 / 1.049 GB, free: 11.24 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.676e-05/1.187, allocations: 4 kB / 1.049 GB, free: 11.24 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.00104/1.188, allocations: 0.5744 MB / 1.05 GB, free: 10.64 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/1.188, allocations: 8.031 kB / 1.05 GB, free: 10.63 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/1.188, allocations: 47.42 kB / 1.05 GB, free: 10.59 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006611/1.188, allocations: 350.1 kB / 1.05 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/1.188, allocations: 14.75 kB / 1.05 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.67e-05/1.189, allocations: 22.44 kB / 1.05 GB, free: 10.23 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004777/1.189, allocations: 182.7 kB / 1.051 GB, free: 10.1 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/1.189, allocations: 8 kB / 1.051 GB, free: 10.09 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.308e-05/1.189, allocations: 10.95 kB / 1.051 GB, free: 10.09 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/1.189, allocations: 7.953 kB / 1.051 GB, free: 10.08 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003924/1.19, allocations: 134.3 kB / 1.051 GB, free: 10 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001758/1.191, allocations: 0.8734 MB / 1.052 GB, free: 9.23 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003485/1.192, allocations: 141.3 kB / 1.052 GB, free: 9.129 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/1.192, allocations: 99.05 kB / 1.052 GB, free: 9.066 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/1.192, allocations: 4.297 kB / 1.052 GB, free: 9.062 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/1.192, allocations: 38.55 kB / 1.052 GB, free: 9.016 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=18): time 2.525e-06/1.192, allocations: 3.938 kB / 1.052 GB, free: 9.012 MB / 0.6667 GB Notification: Performance of matching and sorting (n=18): time 0.0004658/1.192, allocations: 166.8 kB / 1.052 GB, free: 8.879 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/1.193, allocations: 55.41 kB / 1.052 GB, free: 8.812 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006546/1.193, allocations: 367 kB / 1.052 GB, free: 8.523 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/1.193, allocations: 37.39 kB / 1.052 GB, free: 8.484 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/1.193, allocations: 205.7 kB / 1.053 GB, free: 8.344 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 8.167e-05/1.194, allocations: 65.47 kB / 1.053 GB, free: 8.289 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.192e-05/1.194, allocations: 0 / 1.053 GB, free: 8.289 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000176/1.194, allocations: 348.3 kB / 1.053 GB, free: 7.957 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/1.194, allocations: 45.83 kB / 1.053 GB, free: 7.93 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/1.194, allocations: 47.33 kB / 1.053 GB, free: 7.902 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/1.194, allocations: 53.22 kB / 1.053 GB, free: 7.871 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/1.194, allocations: 4 kB / 1.053 GB, free: 7.867 MB / 0.6667 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004186/1.195, allocations: 181.1 kB / 1.053 GB, free: 7.723 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/1.195, allocations: 5.094 kB / 1.053 GB, free: 7.719 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/1.195, allocations: 4 kB / 1.053 GB, free: 7.715 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/1.195, allocations: 0 / 1.053 GB, free: 7.715 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004857/1.195, allocations: 55.95 kB / 1.053 GB, free: 7.66 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/1.195, allocations: 0 / 1.053 GB, free: 7.66 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003085/1.196, allocations: 30.95 kB / 1.053 GB, free: 7.633 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/1.196, allocations: 4 kB / 1.053 GB, free: 7.629 MB / 0.6667 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001071/1.196, allocations: 115.8 kB / 1.054 GB, free: 7.516 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.536e-05/1.196, allocations: 39.53 kB / 1.054 GB, free: 7.477 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001145/1.196, allocations: 37.69 kB / 1.054 GB, free: 7.457 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/1.196, allocations: 0 / 1.054 GB, free: 7.457 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/1.196, allocations: 0 / 1.054 GB, free: 7.457 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/1.196, allocations: 3.984 kB / 1.054 GB, free: 7.453 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006266/1.197, allocations: 378.5 kB / 1.054 GB, free: 7.109 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/1.197, allocations: 4 kB / 1.054 GB, free: 7.105 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004898/1.197, allocations: 59.28 kB / 1.054 GB, free: 7.051 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/1.197, allocations: 4 kB / 1.054 GB, free: 7.047 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/1.197, allocations: 4 kB / 1.054 GB, free: 7.043 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/1.197, allocations: 7.922 kB / 1.054 GB, free: 7.035 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/1.197, allocations: 0 / 1.054 GB, free: 7.035 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006472/1.198, allocations: 352.3 kB / 1.054 GB, free: 6.75 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/1.198, allocations: 108 kB / 1.055 GB, free: 6.629 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.02e-05/1.198, allocations: 7.812 kB / 1.055 GB, free: 6.625 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003133/1.198, allocations: 14.98 kB / 1.055 GB, free: 6.613 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.339e-05/1.199, allocations: 7.984 kB / 1.055 GB, free: 6.605 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/1.199, allocations: 4 kB / 1.055 GB, free: 6.602 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.000521/1.199, allocations: 295.7 kB / 1.055 GB, free: 6.379 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.41e-07/1.199, allocations: 64 / 1.055 GB, free: 6.379 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0005105/1.2, allocations: 94.67 kB / 1.055 GB, free: 6.293 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0004815/1.2, allocations: 261.3 kB / 1.055 GB, free: 6.039 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003437/1.2, allocations: 121.1 kB / 1.055 GB, free: 5.957 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/1.201, allocations: 4 kB / 1.055 GB, free: 5.953 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001645/1.201, allocations: 69.17 kB / 1.055 GB, free: 5.906 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007012/1.201, allocations: 81.12 kB / 1.055 GB, free: 5.852 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/1.203, allocations: 0.5268 MB / 1.056 GB, free: 5.363 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005088/1.203, allocations: 0.8065 MB / 1.057 GB, free: 4.539 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002294/1.204, allocations: 34.97 kB / 1.057 GB, free: 4.504 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.764e-05/1.204, allocations: 27.42 kB / 1.057 GB, free: 4.48 MB / 0.6667 GB Notification: Performance of SimCode: time 1.012e-06/1.204, allocations: 0 / 1.057 GB, free: 4.48 MB / 0.6667 GB Notification: Performance of Templates: time 0.01745/1.221, allocations: 5.53 MB / 1.062 GB, free: 15.04 MB / 0.6823 GB