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.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.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.465/2.465, allocations: 287.9 MB / 302.9 MB, free: 8.227 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002286/0.002286, allocations: 172.9 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.078/2.078, allocations: 205.4 MB / 0.6301 GB, free: 10.3 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009998/0.0009996, allocations: 98.61 kB / 0.7434 GB, free: 6.312 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007735/0.0007738, allocations: 12.38 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1653, allocations: 115.3 MB / 0.9788 GB, free: 28.15 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.002945/0.1683, allocations: 2.428 MB / 0.9812 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002615/0.1709, allocations: 1.938 MB / 0.983 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001677/0.1711, allocations: 8 kB / 0.9831 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001274/0.1724, allocations: 446.4 kB / 0.9835 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002545/0.1727, allocations: 151.6 kB / 0.9836 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001043/0.1728, allocations: 47.83 kB / 0.9837 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003773/0.1732, allocations: 315.3 kB / 0.984 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002136/0.1734, allocations: 115 kB / 0.9841 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001859/0.1736, allocations: 147.4 kB / 0.9842 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001638/0.1738, allocations: 147.3 kB / 0.9844 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.033e-05/0.1739, allocations: 20 kB / 0.9844 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.007e-05/0.1739, allocations: 16 kB / 0.9844 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.105e-05/0.174, allocations: 75.67 kB / 0.9845 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.677e-05/0.1741, allocations: 109.5 kB / 0.9846 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003589/0.1745, allocations: 438.7 kB / 0.985 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.507e-06/0.1745, allocations: 4 kB / 0.985 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.055e-06/0.1745, allocations: 0 / 0.985 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.229e-05/0.1745, allocations: 0 / 0.985 GB, free: 21.74 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008748/0.1754, allocations: 0.6423 MB / 0.9856 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.1755, allocations: 12.02 kB / 0.9856 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.836e-05/0.1755, allocations: 55.33 kB / 0.9857 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004598/0.176, allocations: 353.2 kB / 0.986 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.1761, allocations: 12.44 kB / 0.986 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.58e-05/0.1761, allocations: 27.91 kB / 0.9861 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004444/0.1766, allocations: 203.2 kB / 0.9863 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.1766, allocations: 0 / 0.9863 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.695e-05/0.1766, allocations: 8 kB / 0.9863 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.64e-06/0.1767, allocations: 4 kB / 0.9863 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004652/0.1771, allocations: 181.6 kB / 0.9864 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/0.1783, allocations: 0.8702 MB / 0.9873 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003487/0.1787, allocations: 166.5 kB / 0.9874 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.1787, allocations: 0 / 0.9874 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.1788, allocations: 38.55 kB / 0.9875 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 2.017e-06/0.1788, allocations: 0 / 0.9875 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0006989/0.1795, allocations: 267 kB / 0.9877 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.364e-05/0.1795, allocations: 55.41 kB / 0.9878 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005128/0.1801, allocations: 405.7 kB / 0.9882 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.1801, allocations: 33.7 kB / 0.9882 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.1802, allocations: 208.2 kB / 0.9884 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.717e-05/0.1803, allocations: 71 kB / 0.9885 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.001e-06/0.1803, allocations: 0 / 0.9885 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.193e-05/0.1804, allocations: 346.8 kB / 0.9888 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.1806, allocations: 63.91 kB / 0.9889 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001745/0.1808, allocations: 69.47 kB / 0.9889 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/0.181, allocations: 67.97 kB / 0.989 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.984e-06/0.181, allocations: 0 / 0.989 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004651/0.1815, allocations: 214.1 kB / 0.9892 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1815, allocations: 7.938 kB / 0.9892 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.1815, allocations: 3.984 kB / 0.9892 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.1815, allocations: 4 kB / 0.9892 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002877/0.1818, allocations: 59.91 kB / 0.9893 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.424e-06/0.1819, allocations: 0 / 0.9893 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/0.1821, allocations: 35.73 kB / 0.9893 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.1821, allocations: 4 kB / 0.9893 GB, free: 17.09 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 (20): * Single equations (assignments): 20 * 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.0001708/0.1823, allocations: 168 kB / 0.9895 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.168e-05/0.1824, allocations: 31.62 kB / 0.9895 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.78e-05/0.1825, allocations: 43.58 kB / 0.9895 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.416e-06/0.1825, allocations: 3.938 kB / 0.9896 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.1825, allocations: 0 / 0.9896 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.105e-06/0.1825, allocations: 7.984 kB / 0.9896 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004242/0.1829, allocations: 377.2 kB / 0.9899 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.563e-06/0.1829, allocations: 4 kB / 0.9899 GB, free: 16.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003308/0.1833, allocations: 59.91 kB / 0.99 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.57e-06/0.1833, allocations: 0 / 0.99 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.1833, allocations: 0 / 0.99 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.043e-06/0.1834, allocations: 7.984 kB / 0.99 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.637e-06/0.1834, allocations: 4 kB / 0.99 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006848/0.1841, allocations: 397.6 kB / 0.9904 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.603e-05/0.1842, allocations: 124.6 kB / 0.9905 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.488e-05/0.1842, allocations: 0 / 0.9905 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000228/0.1845, allocations: 20.05 kB / 0.9905 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.875e-05/0.1845, allocations: 7.984 kB / 0.9905 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.1846, allocations: 4 kB / 0.9905 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003692/0.1849, allocations: 303.1 kB / 0.9908 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.89e-07/0.185, allocations: 0 / 0.9908 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003967/0.1854, allocations: 71.84 kB / 0.9909 GB, free: 15.39 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.0001031/0.1855, allocations: 111.2 kB / 0.991 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004219/0.1859, allocations: 147.9 kB / 0.9911 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.852e-06/0.1859, allocations: 4 kB / 0.9911 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002008/0.1861, allocations: 83.91 kB / 0.9912 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005793/0.1867, allocations: 93.33 kB / 0.9913 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.1881, allocations: 0.884 MB / 0.9922 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.1884, allocations: 0.8109 MB / 0.993 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001587/0.1885, allocations: 34.95 kB / 0.993 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.322e-05/0.1886, allocations: 23.44 kB / 0.993 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of SimCode: time 1.555e-06/0.1886, allocations: 0 / 0.993 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of Templates: time 0.009369/0.198, allocations: 3.575 MB / 0.9965 GB, free: 9.68 MB / 0.6198 GB