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: 253.2 MB / 260.6 MB, free: 7.496 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.001477/0.001477, allocations: 186.9 kB / 319.9 MB, free: 3.059 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.995/1.995, allocations: 205.6 MB / 0.5709 GB, free: 15.27 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.001112/0.001112, allocations: 96.41 kB / 0.6751 GB, free: 4.633 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.355e-05/2.355e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2013/0.2014, allocations: 106.3 MB / 0.8887 GB, free: 11.83 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9099/1.111, allocations: 142.5 MB / 1.028 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000419/1.112, allocations: 107.6 kB / 1.028 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1446/1.256, allocations: 21.94 MB / 1.049 GB, free: 8.773 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.285e-06/1.257, allocations: 4 kB / 1.049 GB, free: 8.77 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.488e-05/1.257, allocations: 8 kB / 1.049 GB, free: 8.762 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.002174/1.259, allocations: 0.7501 MB / 1.05 GB, free: 8 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.19e-05/1.259, allocations: 16.02 kB / 1.05 GB, free: 7.984 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003017/1.259, allocations: 71.16 kB / 1.05 GB, free: 7.914 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/1.26, allocations: 438.9 kB / 1.051 GB, free: 7.52 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.819e-05/1.261, allocations: 19.94 kB / 1.051 GB, free: 7.5 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/1.261, allocations: 31.95 kB / 1.051 GB, free: 7.469 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001236/1.262, allocations: 307.3 kB / 1.051 GB, free: 7.289 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/1.263, allocations: 331 kB / 1.051 GB, free: 7.051 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.342e-05/1.263, allocations: 0 / 1.051 GB, free: 7.051 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.77e-05/1.263, allocations: 0 / 1.051 GB, free: 7.051 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.869e-05/1.263, allocations: 12 kB / 1.051 GB, free: 7.039 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004412/1.268, allocations: 1.441 MB / 1.053 GB, free: 5.902 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000889/1.269, allocations: 299.3 kB / 1.053 GB, free: 5.711 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007858/1.27, allocations: 282 kB / 1.053 GB, free: 5.539 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 5.026e-05/1.27, allocations: 7.781 kB / 1.053 GB, free: 5.531 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.274e-05/1.27, allocations: 37.75 kB / 1.053 GB, free: 5.488 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=42): time 4.699e-06/1.27, allocations: 0 / 1.053 GB, free: 5.488 MB / 0.6667 GB Notification: Performance of matching and sorting (n=42): time 0.0009938/1.271, allocations: 304.6 kB / 1.054 GB, free: 5.266 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/1.271, allocations: 59.36 kB / 1.054 GB, free: 5.195 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007285/1.272, allocations: 371.8 kB / 1.054 GB, free: 4.91 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.89e-05/1.272, allocations: 29.7 kB / 1.054 GB, free: 4.875 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002465/1.272, allocations: 277.2 kB / 1.054 GB, free: 4.68 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001791/1.272, allocations: 141.9 kB / 1.054 GB, free: 4.555 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.332e-05/1.272, allocations: 0 / 1.054 GB, free: 4.555 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001856/1.272, allocations: 360.1 kB / 1.055 GB, free: 4.215 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002667/1.273, allocations: 104.6 kB / 1.055 GB, free: 4.152 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002608/1.273, allocations: 102 kB / 1.055 GB, free: 4.098 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/1.273, allocations: 116.3 kB / 1.055 GB, free: 4.035 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/1.273, allocations: 0 / 1.055 GB, free: 4.035 MB / 0.6667 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008035/1.274, allocations: 329.2 kB / 1.055 GB, free: 3.793 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/1.274, allocations: 8 kB / 1.055 GB, free: 3.785 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/1.274, allocations: 3.984 kB / 1.055 GB, free: 3.781 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.886e-05/1.274, allocations: 4 kB / 1.055 GB, free: 3.777 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009767/1.275, allocations: 127.2 kB / 1.056 GB, free: 3.656 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/1.275, allocations: 4 kB / 1.056 GB, free: 3.652 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004797/1.276, allocations: 43.62 kB / 1.056 GB, free: 3.609 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.198e-05/1.276, allocations: 10.94 kB / 1.056 GB, free: 3.602 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 (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.0001334/1.276, allocations: 104.9 kB / 1.056 GB, free: 3.492 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/1.276, allocations: 43.44 kB / 1.056 GB, free: 3.449 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001776/1.276, allocations: 60.83 kB / 1.056 GB, free: 3.418 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/1.276, allocations: 4 kB / 1.056 GB, free: 3.414 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/1.276, allocations: 3.938 kB / 1.056 GB, free: 3.41 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/1.276, allocations: 7.984 kB / 1.056 GB, free: 3.402 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009112/1.277, allocations: 0.494 MB / 1.056 GB, free: 2.996 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/1.277, allocations: 0 / 1.056 GB, free: 2.996 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/1.278, allocations: 126.6 kB / 1.056 GB, free: 2.875 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.797e-06/1.278, allocations: 0 / 1.056 GB, free: 2.875 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.937e-05/1.278, allocations: 0 / 1.056 GB, free: 2.875 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/1.278, allocations: 4 kB / 1.056 GB, free: 2.871 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.278, allocations: 0 / 1.056 GB, free: 2.871 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/1.279, allocations: 0.5776 MB / 1.057 GB, free: 2.438 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002154/1.28, allocations: 135 kB / 1.057 GB, free: 2.293 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.267e-05/1.28, allocations: 0 / 1.057 GB, free: 2.293 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004259/1.28, allocations: 15.98 kB / 1.057 GB, free: 2.277 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.876e-05/1.28, allocations: 27.64 kB / 1.057 GB, free: 2.254 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.113e-05/1.28, allocations: 11.44 kB / 1.057 GB, free: 2.246 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005118/1.281, allocations: 298.5 kB / 1.057 GB, free: 2.027 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.41e-07/1.281, allocations: 0 / 1.057 GB, free: 2.027 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0006563/1.282, allocations: 135.5 kB / 1.058 GB, free: 1.895 MB / 0.6667 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.0005149/1.282, allocations: 276.9 kB / 1.058 GB, free: 1.629 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0006707/1.283, allocations: 276.3 kB / 1.058 GB, free: 1.453 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/1.283, allocations: 3.188 kB / 1.058 GB, free: 1.453 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003342/1.283, allocations: 151.6 kB / 1.058 GB, free: 1.355 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007728/1.284, allocations: 85.89 kB / 1.058 GB, free: 1.293 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002557/1.286, allocations: 0.8866 MB / 1.059 GB, free: 480 kB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000638/1.287, allocations: 0.8812 MB / 1.06 GB, free: 15.56 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003539/1.288, allocations: 45.02 kB / 1.06 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/1.288, allocations: 31.44 kB / 1.06 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of SimCode: time 1.212e-06/1.288, allocations: 0 / 1.06 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of Templates: time 0.01744/1.305, allocations: 4.839 MB / 1.065 GB, free: 10.75 MB / 0.6823 GB