Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.668/4.668, allocations: 0.5623 GB / 0.5775 GB, free: 66.97 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.00275/0.00275, allocations: 363.6 kB / 0.6446 GB, free: 21.31 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 4.217/4.217, allocations: 410.7 MB / 1.113 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001853/0.001853, allocations: 180.3 kB / 1.226 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0005196/0.0005197, allocations: 13.34 kB / 1.349 GB, free: 320.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2163, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2231/0.4395, allocations: 158.5 MB / 1.616 GB, free: 62.02 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004281/0.44, allocations: 130.5 kB / 1.616 GB, free: 61.89 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 0.08761/0.5276, allocations: 14.73 MB / 1.631 GB, free: 47.22 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.425e-06/0.5277, allocations: 4 kB / 1.631 GB, free: 47.22 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.5277, allocations: 0 / 1.631 GB, free: 47.22 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.001013/0.5287, allocations: 0.5662 MB / 1.631 GB, free: 46.61 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.5288, allocations: 16.69 kB / 1.631 GB, free: 46.59 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.865e-05/0.5288, allocations: 83.86 kB / 1.631 GB, free: 46.51 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.529, allocations: 243.2 kB / 1.632 GB, free: 46.23 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.524e-05/0.529, allocations: 151.3 kB / 1.632 GB, free: 46.08 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.838e-05/0.5291, allocations: 161 kB / 1.632 GB, free: 45.93 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.916e-05/0.5291, allocations: 101 kB / 1.632 GB, free: 45.82 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.5291, allocations: 75.28 kB / 1.632 GB, free: 45.75 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.881e-05/0.5292, allocations: 150.6 kB / 1.632 GB, free: 45.6 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.793e-05/0.5292, allocations: 151.2 kB / 1.632 GB, free: 45.45 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.884e-05/0.5293, allocations: 160 kB / 1.632 GB, free: 45.29 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002483/0.5295, allocations: 463.2 kB / 1.633 GB, free: 44.79 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.43e-05/0.5296, allocations: 174 kB / 1.633 GB, free: 44.61 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.404e-05/0.5296, allocations: 81.2 kB / 1.633 GB, free: 44.53 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.5297, allocations: 79.28 kB / 1.633 GB, free: 44.45 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.5297, allocations: 114.5 kB / 1.633 GB, free: 44.33 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.453e-06/0.5297, allocations: 0.7812 kB / 1.633 GB, free: 44.33 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 7.923e-05/0.5298, allocations: 33.61 kB / 1.633 GB, free: 44.29 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.5298, allocations: 127.4 kB / 1.633 GB, free: 44.16 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.53, allocations: 133.5 kB / 1.634 GB, free: 44.02 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.53, allocations: 26.39 kB / 1.634 GB, free: 43.98 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.114e-05/0.5301, allocations: 89.16 kB / 1.634 GB, free: 43.89 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-06/0.5301, allocations: 0 / 1.634 GB, free: 43.89 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/0.5301, allocations: 0 / 1.634 GB, free: 43.89 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.23e-05/0.5302, allocations: 323.4 kB / 1.634 GB, free: 43.57 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.854e-05/0.5302, allocations: 5.156 kB / 1.634 GB, free: 43.57 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.216e-05/0.5302, allocations: 7.984 kB / 1.634 GB, free: 43.56 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.368e-05/0.5303, allocations: 8.531 kB / 1.634 GB, free: 43.55 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5303, allocations: 0 / 1.634 GB, free: 43.55 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000132/0.5304, allocations: 50.33 kB / 1.634 GB, free: 43.5 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.5304, allocations: 4 kB / 1.634 GB, free: 43.49 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.26e-05/0.5305, allocations: 7.469 kB / 1.634 GB, free: 43.49 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.5305, allocations: 3.984 kB / 1.634 GB, free: 43.48 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.292e-06/0.5305, allocations: 0 / 1.634 GB, free: 43.48 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.5305, allocations: 0 / 1.634 GB, free: 43.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.659e-05/0.5306, allocations: 3.938 kB / 1.634 GB, free: 43.48 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.5306, allocations: 4 kB / 1.634 GB, free: 43.48 MB / 0.8073 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 7.385e-05/0.5307, allocations: 186.9 kB / 1.634 GB, free: 43.29 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.078e-05/0.5307, allocations: 115.8 kB / 1.634 GB, free: 43.17 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.266e-05/0.5308, allocations: 108.9 kB / 1.634 GB, free: 43.06 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-05/0.5308, allocations: 184.2 kB / 1.635 GB, free: 42.87 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.418e-05/0.5309, allocations: 180.4 kB / 1.635 GB, free: 42.69 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.26e-05/0.5309, allocations: 183.7 kB / 1.635 GB, free: 42.5 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.5311, allocations: 421 kB / 1.635 GB, free: 42.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-05/0.5311, allocations: 109 kB / 1.636 GB, free: 41.92 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.058e-05/0.5312, allocations: 105 kB / 1.636 GB, free: 41.81 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.23e-05/0.5312, allocations: 180.2 kB / 1.636 GB, free: 41.63 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.74e-05/0.5313, allocations: 185 kB / 1.636 GB, free: 41.45 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.158e-05/0.5313, allocations: 184.1 kB / 1.636 GB, free: 41.26 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.013e-05/0.5313, allocations: 176.3 kB / 1.636 GB, free: 41.08 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.768e-05/0.5314, allocations: 317.7 kB / 1.637 GB, free: 40.75 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.694e-05/0.5315, allocations: 186 kB / 1.637 GB, free: 40.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.569e-05/0.5315, allocations: 180.2 kB / 1.637 GB, free: 40.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.819e-05/0.5316, allocations: 107.8 kB / 1.637 GB, free: 40.25 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/0.5317, allocations: 184.3 kB / 1.637 GB, free: 40.06 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.5317, allocations: 104.9 kB / 1.637 GB, free: 39.95 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.195e-05/0.5318, allocations: 98.86 kB / 1.637 GB, free: 39.86 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.71e-07/0.5318, allocations: 0 / 1.637 GB, free: 39.86 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001217/0.533, allocations: 322.8 kB / 1.638 GB, free: 39.54 MB / 0.8073 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 (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.001638/0.5347, allocations: 0.5604 MB / 1.638 GB, free: 38.98 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001469/0.5349, allocations: 37.69 kB / 1.638 GB, free: 38.94 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.5349, allocations: 3.938 kB / 1.638 GB, free: 38.94 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.649e-06/0.5349, allocations: 6.781 kB / 1.638 GB, free: 38.93 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000412/0.5353, allocations: 0.5302 MB / 1.639 GB, free: 38.4 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003175/0.5357, allocations: 256.8 kB / 1.639 GB, free: 38.12 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.5358, allocations: 0.6848 MB / 1.64 GB, free: 37.41 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.587e-05/0.5358, allocations: 48 / 1.64 GB, free: 37.41 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.416e-05/0.5359, allocations: 11.44 kB / 1.64 GB, free: 37.4 MB / 0.8073 GB Notification: Performance of SimCode: time 1.854e-06/0.5359, allocations: 0 / 1.64 GB, free: 37.4 MB / 0.8073 GB Notification: Performance of Templates: time 0.01302/0.5489, allocations: 5.442 MB / 1.645 GB, free: 32.05 MB / 0.8073 GB