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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.229/2.229, allocations: 252.6 MB / 265.2 MB, free: 5.664 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.001452/0.001452, allocations: 190.7 kB / 324.5 MB, free: 14.35 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 2.15/2.15, allocations: 205.4 MB / 0.5754 GB, free: 10.47 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.001111/0.00111, allocations: 93.75 kB / 0.6797 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.44e-05/3.449e-05, allocations: 4 kB / 0.7912 GB, free: 96.57 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1939, allocations: 106.2 MB / 0.8949 GB, free: 6.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8538/1.048, allocations: 142.2 MB / 1.034 GB, free: 8.379 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000399/1.048, allocations: 110.7 kB / 1.034 GB, free: 8.309 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.09676/1.145, allocations: 22.22 MB / 1.056 GB, free: 5.539 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.124e-06/1.145, allocations: 0 / 1.056 GB, free: 5.539 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.441e-05/1.145, allocations: 16 kB / 1.056 GB, free: 5.523 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001586/1.147, allocations: 0.7568 MB / 1.056 GB, free: 4.758 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/1.147, allocations: 8.031 kB / 1.056 GB, free: 4.75 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001867/1.147, allocations: 73.91 kB / 1.056 GB, free: 4.68 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008163/1.148, allocations: 433.1 kB / 1.057 GB, free: 4.289 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.248e-05/1.148, allocations: 35.5 kB / 1.057 GB, free: 4.27 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/1.148, allocations: 52.7 kB / 1.057 GB, free: 4.234 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/1.149, allocations: 400.2 kB / 1.057 GB, free: 3.977 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/1.149, allocations: 0 / 1.057 GB, free: 3.977 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.513e-05/1.149, allocations: 21.5 kB / 1.057 GB, free: 3.973 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/1.149, allocations: 16 kB / 1.057 GB, free: 3.957 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009092/1.15, allocations: 329.7 kB / 1.058 GB, free: 3.75 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003254/1.153, allocations: 1.539 MB / 1.059 GB, free: 2.539 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006944/1.154, allocations: 317.2 kB / 1.059 GB, free: 2.332 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006682/1.155, allocations: 334.5 kB / 1.06 GB, free: 2.113 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 4.49e-05/1.155, allocations: 4 kB / 1.06 GB, free: 2.109 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.909e-05/1.155, allocations: 38.05 kB / 1.06 GB, free: 2.066 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=42): time 3.005e-06/1.155, allocations: 4 kB / 1.06 GB, free: 2.062 MB / 0.6667 GB Notification: Performance of matching and sorting (n=42): time 0.0008957/1.156, allocations: 349.5 kB / 1.06 GB, free: 1.805 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/1.156, allocations: 55.41 kB / 1.06 GB, free: 1.738 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008015/1.157, allocations: 424.1 kB / 1.061 GB, free: 1.41 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.408e-05/1.157, allocations: 36.7 kB / 1.061 GB, free: 1.375 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002365/1.157, allocations: 269.1 kB / 1.061 GB, free: 1.188 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/1.157, allocations: 155.5 kB / 1.061 GB, free: 1.055 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.487e-05/1.157, allocations: 3.812 kB / 1.061 GB, free: 1.055 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001692/1.157, allocations: 363.2 kB / 1.061 GB, free: 0.7148 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003002/1.158, allocations: 107.9 kB / 1.062 GB, free: 0.6484 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002812/1.158, allocations: 109.4 kB / 1.062 GB, free: 0.5859 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003268/1.158, allocations: 129.7 kB / 1.062 GB, free: 0.5078 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.158, allocations: 0 / 1.062 GB, free: 0.5078 MB / 0.6667 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008741/1.159, allocations: 367.2 kB / 1.062 GB, free: 248 kB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/1.159, allocations: 4.938 kB / 1.062 GB, free: 244 kB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/1.159, allocations: 0 / 1.062 GB, free: 244 kB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/1.159, allocations: 7.953 kB / 1.062 GB, free: 236 kB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00096/1.16, allocations: 127.8 kB / 1.062 GB, free: 112 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/1.16, allocations: 4 kB / 1.062 GB, free: 108 kB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004931/1.161, allocations: 50.41 kB / 1.062 GB, free: 64 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.167e-05/1.161, allocations: 11.81 kB / 1.062 GB, free: 56 kB / 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 (46): * Single equations (assignments): 46 * 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.0001458/1.161, allocations: 118.4 kB / 1.062 GB, free: 15.94 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/1.161, allocations: 55.34 kB / 1.062 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001806/1.161, allocations: 61.5 kB / 1.063 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/1.161, allocations: 4 kB / 1.063 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/1.161, allocations: 7.953 kB / 1.063 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/1.161, allocations: 0 / 1.063 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009616/1.162, allocations: 0.5748 MB / 1.063 GB, free: 15.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/1.162, allocations: 3.984 kB / 1.063 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/1.163, allocations: 131.2 kB / 1.063 GB, free: 15.24 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-06/1.163, allocations: 0 / 1.063 GB, free: 15.24 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.586e-05/1.163, allocations: 10.88 kB / 1.063 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.614e-06/1.163, allocations: 3.938 kB / 1.063 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.163, allocations: 0 / 1.063 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/1.165, allocations: 0.6022 MB / 1.064 GB, free: 14.78 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002179/1.165, allocations: 143.3 kB / 1.064 GB, free: 14.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.748e-05/1.165, allocations: 18.44 kB / 1.064 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004348/1.166, allocations: 22.73 kB / 1.064 GB, free: 14.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.882e-05/1.166, allocations: 23.91 kB / 1.064 GB, free: 14.58 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-05/1.166, allocations: 4 kB / 1.064 GB, free: 14.58 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000625/1.166, allocations: 351.8 kB / 1.064 GB, free: 14.32 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.11e-07/1.166, allocations: 0 / 1.064 GB, free: 14.32 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006823/1.167, allocations: 153.5 kB / 1.064 GB, free: 14.18 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * 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.0004767/1.167, allocations: 257.5 kB / 1.065 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007243/1.168, allocations: 293.5 kB / 1.065 GB, free: 13.74 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/1.168, allocations: 0 / 1.065 GB, free: 13.74 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003548/1.169, allocations: 161.8 kB / 1.065 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008717/1.169, allocations: 127.1 kB / 1.065 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002481/1.172, allocations: 0.9083 MB / 1.066 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005671/1.173, allocations: 0.8781 MB / 1.067 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003463/1.173, allocations: 56.34 kB / 1.067 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/1.173, allocations: 39.44 kB / 1.067 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of SimCode: time 9.32e-07/1.173, allocations: 0 / 1.067 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of Templates: time 0.0226/1.196, allocations: 7.34 MB / 1.074 GB, free: 4.512 MB / 0.6823 GB