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.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 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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.59/4.59, allocations: 0.5623 GB / 0.5769 GB, free: 3.316 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002371/0.00237, allocations: 358.1 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.733/3.733, allocations: 410.7 MB / 1.112 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001702/0.001701, allocations: 168.2 kB / 1.225 GB, free: 35.96 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.000496/0.0004961, allocations: 12.59 kB / 1.348 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1524, allocations: 115.3 MB / 1.461 GB, free: 6.535 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001281/0.1537, allocations: 1.15 MB / 1.462 GB, free: 5.371 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003833/0.1576, allocations: 2.72 MB / 1.465 GB, free: 2.641 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.972e-05/0.1576, allocations: 0 / 1.465 GB, free: 2.641 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.076e-05/0.1577, allocations: 7.922 kB / 1.465 GB, free: 2.633 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.597e-05/0.1577, allocations: 15.86 kB / 1.465 GB, free: 2.617 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003582/0.1613, allocations: 1.331 MB / 1.466 GB, free: 1.309 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.803e-05/0.1614, allocations: 35.75 kB / 1.466 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.722e-05/0.1615, allocations: 8.266 kB / 1.466 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.118e-05/0.1615, allocations: 11.94 kB / 1.466 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.268e-05/0.1616, allocations: 11.94 kB / 1.466 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.454e-06/0.1616, allocations: 7.938 kB / 1.466 GB, free: 1.234 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002504/0.1641, allocations: 1.263 MB / 1.467 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.967e-05/0.1641, allocations: 11.92 kB / 1.467 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.514e-05/0.1642, allocations: 29.7 kB / 1.467 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001274/0.1655, allocations: 0.7174 MB / 1.468 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 9.021e-06/0.1655, allocations: 4 kB / 1.468 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.897e-06/0.1655, allocations: 3.938 kB / 1.468 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.311e-06/0.1655, allocations: 0 / 1.468 GB, free: 15.2 MB / 0.6198 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.0006775/0.1662, allocations: 0.5106 MB / 1.468 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.1663, allocations: 11.97 kB / 1.468 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.234e-05/0.1663, allocations: 83.14 kB / 1.469 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.1665, allocations: 250.3 kB / 1.469 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.053e-05/0.1666, allocations: 150.6 kB / 1.469 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.24e-05/0.1667, allocations: 150.6 kB / 1.469 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.009e-05/0.1668, allocations: 105 kB / 1.469 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.044e-05/0.1669, allocations: 79.27 kB / 1.469 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.681e-05/0.167, allocations: 150.6 kB / 1.469 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-05/0.167, allocations: 150.6 kB / 1.47 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.202e-05/0.1671, allocations: 162.5 kB / 1.47 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003989/0.1675, allocations: 469.8 kB / 1.47 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.1677, allocations: 169.1 kB / 1.47 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.902e-05/0.1677, allocations: 80.14 kB / 1.47 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.875e-05/0.1678, allocations: 75.28 kB / 1.47 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.28e-05/0.1678, allocations: 113.8 kB / 1.471 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.818e-06/0.1679, allocations: 4 kB / 1.471 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 8.932e-05/0.168, allocations: 29.7 kB / 1.471 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.689e-05/0.168, allocations: 126.7 kB / 1.471 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.1682, allocations: 144.6 kB / 1.471 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.1683, allocations: 25.7 kB / 1.471 GB, free: 12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.713e-05/0.1683, allocations: 92.14 kB / 1.471 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.544e-06/0.1683, allocations: 0 / 1.471 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.32e-06/0.1684, allocations: 0 / 1.471 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.1685, allocations: 322.8 kB / 1.471 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.032e-05/0.1686, allocations: 4 kB / 1.471 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.113e-05/0.1686, allocations: 4 kB / 1.471 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.815e-05/0.1687, allocations: 12 kB / 1.471 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.863e-06/0.1687, allocations: 0 / 1.471 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000152/0.1688, allocations: 53.53 kB / 1.471 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.1689, allocations: 4 kB / 1.471 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.02e-05/0.1689, allocations: 4 kB / 1.471 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.1689, allocations: 0 / 1.471 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.582e-06/0.1689, allocations: 4 kB / 1.471 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.254e-06/0.1689, allocations: 4.062 kB / 1.471 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.053e-05/0.169, allocations: 3.938 kB / 1.471 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.169, allocations: 3.953 kB / 1.471 GB, free: 11.48 MB / 0.6198 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 0.0001299/0.1691, allocations: 189.6 kB / 1.472 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.394e-05/0.1692, allocations: 112.8 kB / 1.472 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.967e-05/0.1693, allocations: 112.9 kB / 1.472 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.3e-05/0.1694, allocations: 180.3 kB / 1.472 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.086e-05/0.1695, allocations: 180.2 kB / 1.472 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.44e-05/0.1696, allocations: 184.2 kB / 1.472 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003252/0.17, allocations: 417.1 kB / 1.473 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.88e-05/0.17, allocations: 113.1 kB / 1.473 GB, free: 9.918 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.386e-05/0.1701, allocations: 101 kB / 1.473 GB, free: 9.812 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.908e-05/0.1702, allocations: 184.2 kB / 1.473 GB, free: 9.625 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.395e-05/0.1703, allocations: 180.2 kB / 1.473 GB, free: 9.441 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.185e-05/0.1704, allocations: 184.2 kB / 1.473 GB, free: 9.254 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.755e-05/0.1705, allocations: 176.3 kB / 1.474 GB, free: 9.074 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/0.1707, allocations: 311.7 kB / 1.474 GB, free: 8.746 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.1708, allocations: 190.2 kB / 1.474 GB, free: 8.535 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.171, allocations: 180.2 kB / 1.474 GB, free: 8.352 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.1711, allocations: 109 kB / 1.474 GB, free: 8.238 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.702e-05/0.1712, allocations: 176.3 kB / 1.474 GB, free: 8.059 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.2e-05/0.1713, allocations: 112.9 kB / 1.475 GB, free: 7.941 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.001e-05/0.1714, allocations: 99.27 kB / 1.475 GB, free: 7.844 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.09e-07/0.1714, allocations: 0 / 1.475 GB, free: 7.844 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009227/0.1723, allocations: 279.8 kB / 1.475 GB, free: 7.57 MB / 0.6198 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.00125/0.1736, allocations: 0.5197 MB / 1.475 GB, free: 7.051 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001194/0.1737, allocations: 41.69 kB / 1.475 GB, free: 7.004 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.581e-06/0.1737, allocations: 4 kB / 1.476 GB, free: 7 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.787e-06/0.1737, allocations: 4.062 kB / 1.476 GB, free: 6.996 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005629/0.1743, allocations: 0.5301 MB / 1.476 GB, free: 6.461 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003701/0.1747, allocations: 259.8 kB / 1.476 GB, free: 6.18 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.1751, allocations: 0.6848 MB / 1.477 GB, free: 5.469 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.805e-05/0.1751, allocations: 3.984 kB / 1.477 GB, free: 5.465 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.263e-05/0.1751, allocations: 7.438 kB / 1.477 GB, free: 5.457 MB / 0.6198 GB Notification: Performance of SimCode: time 1.333e-06/0.1751, allocations: 0 / 1.477 GB, free: 5.457 MB / 0.6198 GB Notification: Performance of Templates: time 0.01318/0.1883, allocations: 5.706 MB / 1.483 GB, free: 15.79 MB / 0.6355 GB