Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 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.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.718/4.718, allocations: 0.5623 GB / 0.5769 GB, free: 3.324 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.002338/0.002337, allocations: 357.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.709/3.709, 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.001693/0.001693, allocations: 172.3 kB / 1.225 GB, free: 35.94 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004704/0.0004706, allocations: 16.48 kB / 1.348 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1521, 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.Examples.InternalResistancesTwoUTube): time 0.003717/0.1559, allocations: 3.581 MB / 1.464 GB, free: 2.93 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003026/0.159, allocations: 2.253 MB / 1.466 GB, free: 0.668 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002685/0.1592, allocations: 12 kB / 1.466 GB, free: 0.6562 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00138/0.1606, allocations: 453.8 kB / 1.467 GB, free: 216 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005049/0.1612, allocations: 214.4 kB / 1.467 GB, free: 0 / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002308/0.1614, allocations: 83.98 kB / 1.467 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009163/0.1624, allocations: 0.7474 MB / 1.468 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004489/0.1628, allocations: 241.4 kB / 1.468 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003565/0.1632, allocations: 235 kB / 1.468 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004053/0.1636, allocations: 274.8 kB / 1.469 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.602e-05/0.1637, allocations: 32 kB / 1.469 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.1638, allocations: 36 kB / 1.469 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001583/0.164, allocations: 123.5 kB / 1.469 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001871/0.1642, allocations: 165.3 kB / 1.469 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001/0.1652, allocations: 0.7945 MB / 1.47 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.173e-06/0.1652, allocations: 0 / 1.47 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.819e-06/0.1653, allocations: 0 / 1.47 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.172e-05/0.1653, allocations: 0 / 1.47 GB, free: 13.28 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001575/0.1669, allocations: 0.8488 MB / 1.471 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.1669, allocations: 8.031 kB / 1.471 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001524/0.1671, allocations: 75.09 kB / 1.471 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007853/0.1679, allocations: 444.7 kB / 1.471 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.121e-05/0.1679, allocations: 37 kB / 1.471 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.832e-05/0.168, allocations: 48 kB / 1.471 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.1691, allocations: 426.5 kB / 1.472 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/0.1691, allocations: 3.984 kB / 1.472 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.687e-05/0.1692, allocations: 20 kB / 1.472 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/0.1692, allocations: 12 kB / 1.472 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009919/0.1702, allocations: 379.8 kB / 1.472 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002846/0.1731, allocations: 1.535 MB / 1.473 GB, free: 9.301 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007533/0.1739, allocations: 346.9 kB / 1.474 GB, free: 8.949 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00073/0.1746, allocations: 353.4 kB / 1.474 GB, free: 8.602 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.1747, allocations: 7.938 kB / 1.474 GB, free: 8.594 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.1747, allocations: 43.11 kB / 1.474 GB, free: 8.543 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=42): time 3.482e-06/0.1747, allocations: 0 / 1.474 GB, free: 8.543 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.001322/0.1761, allocations: 0.5003 MB / 1.475 GB, free: 8.035 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.1761, allocations: 59.39 kB / 1.475 GB, free: 7.965 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007739/0.1769, allocations: 481.9 kB / 1.475 GB, free: 7.488 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.112e-05/0.177, allocations: 33.7 kB / 1.475 GB, free: 7.449 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002814/0.1773, allocations: 280.3 kB / 1.476 GB, free: 7.168 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/0.1774, allocations: 153.8 kB / 1.476 GB, free: 7.016 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.153e-05/0.1775, allocations: 4 kB / 1.476 GB, free: 7.012 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002113/0.1777, allocations: 362.8 kB / 1.476 GB, free: 6.648 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003599/0.1781, allocations: 128.6 kB / 1.476 GB, free: 6.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003472/0.1784, allocations: 125.5 kB / 1.476 GB, free: 6.398 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00039/0.1788, allocations: 150.4 kB / 1.476 GB, free: 6.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.214e-06/0.1789, allocations: 3.953 kB / 1.476 GB, free: 6.246 MB / 0.6198 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009261/0.1798, allocations: 400.1 kB / 1.477 GB, free: 5.852 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.1798, allocations: 8 kB / 1.477 GB, free: 5.844 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.179e-06/0.1798, allocations: 3.984 kB / 1.477 GB, free: 5.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.1799, allocations: 4 kB / 1.477 GB, free: 5.836 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006391/0.1805, allocations: 123.9 kB / 1.477 GB, free: 5.715 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.1805, allocations: 4 kB / 1.477 GB, free: 5.711 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003475/0.1809, allocations: 51.58 kB / 1.477 GB, free: 5.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.168e-05/0.1809, allocations: 12 kB / 1.477 GB, free: 5.648 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 (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.0003133/0.1813, allocations: 197.7 kB / 1.477 GB, free: 5.445 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.1814, allocations: 55.39 kB / 1.477 GB, free: 5.391 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001333/0.1815, allocations: 61.09 kB / 1.477 GB, free: 5.332 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.455e-06/0.1816, allocations: 4 kB / 1.477 GB, free: 5.328 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.533e-06/0.1816, allocations: 4 kB / 1.477 GB, free: 5.324 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.023e-06/0.1816, allocations: 0 / 1.477 GB, free: 5.324 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009111/0.1825, allocations: 0.5751 MB / 1.478 GB, free: 4.699 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.163e-06/0.1825, allocations: 3.938 kB / 1.478 GB, free: 4.695 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006938/0.1832, allocations: 131.8 kB / 1.478 GB, free: 4.566 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.156e-06/0.1832, allocations: 0 / 1.478 GB, free: 4.566 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.456e-05/0.1833, allocations: 8 kB / 1.478 GB, free: 4.559 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.118e-06/0.1833, allocations: 7.922 kB / 1.478 GB, free: 4.551 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.005e-06/0.1833, allocations: 4 kB / 1.478 GB, free: 4.547 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/0.1847, allocations: 0.6596 MB / 1.479 GB, free: 3.871 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001775/0.1849, allocations: 136.5 kB / 1.479 GB, free: 3.719 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.333e-05/0.185, allocations: 15.94 kB / 1.479 GB, free: 3.703 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000322/0.1853, allocations: 23.89 kB / 1.479 GB, free: 3.68 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.011e-05/0.1854, allocations: 27.91 kB / 1.479 GB, free: 3.652 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.614e-05/0.1855, allocations: 8 kB / 1.479 GB, free: 3.645 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005673/0.1861, allocations: 355.1 kB / 1.479 GB, free: 3.301 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.19e-07/0.1861, allocations: 0 / 1.479 GB, free: 3.301 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005591/0.1866, allocations: 139.7 kB / 1.479 GB, free: 3.164 MB / 0.6198 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 () * Number of clocked 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.0001627/0.1868, allocations: 111.7 kB / 1.479 GB, free: 3.047 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00083/0.1877, allocations: 339.8 kB / 1.48 GB, free: 2.715 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.602e-06/0.1877, allocations: 0 / 1.48 GB, free: 2.715 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004125/0.1881, allocations: 179.8 kB / 1.48 GB, free: 2.539 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008967/0.189, allocations: 138.7 kB / 1.48 GB, free: 2.406 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002639/0.1917, allocations: 1.445 MB / 1.481 GB, free: 0.9297 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006218/0.1923, allocations: 0.8746 MB / 1.482 GB, free: 32 kB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002849/0.1926, allocations: 56.44 kB / 1.482 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.1927, allocations: 35.44 kB / 1.482 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of SimCode: time 1.432e-06/0.1928, allocations: 0 / 1.482 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of Templates: time 0.01485/0.2076, allocations: 5.373 MB / 1.488 GB, free: 10.7 MB / 0.6355 GB