Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.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.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.496/2.496, allocations: 287.9 MB / 302.9 MB, free: 8.32 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.001464/0.001463, allocations: 181.1 kB / 371.4 MB, free: 10.67 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 1.944/1.944, allocations: 205.4 MB / 0.6301 GB, free: 10.39 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.001076/0.001075, allocations: 88.05 kB / 0.7434 GB, free: 6.418 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007767/0.0007771, allocations: 11.84 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1645, allocations: 115.3 MB / 0.9788 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001156/0.1657, allocations: 1.002 MB / 0.9797 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003693/0.1694, allocations: 3.266 MB / 0.9829 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.198e-05/0.1695, allocations: 0 / 0.9829 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.484e-05/0.1695, allocations: 0 / 0.9829 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003351/0.1699, allocations: 87.77 kB / 0.983 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002757/0.1701, allocations: 91.67 kB / 0.9831 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.544e-05/0.1702, allocations: 15.97 kB / 0.9831 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.706e-05/0.1703, allocations: 4 kB / 0.9831 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.1704, allocations: 27.91 kB / 0.9831 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.044e-05/0.1705, allocations: 35.89 kB / 0.9832 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.893e-06/0.1705, allocations: 3.938 kB / 0.9832 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004462/0.171, allocations: 279.6 kB / 0.9834 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.886e-06/0.171, allocations: 7.984 kB / 0.9835 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.485e-05/0.171, allocations: 29.7 kB / 0.9835 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.1712, allocations: 80.09 kB / 0.9836 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1712, allocations: 7.938 kB / 0.9836 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.316e-06/0.1712, allocations: 0 / 0.9836 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.813e-06/0.1712, allocations: 0 / 0.9836 GB, free: 23.23 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000279/0.1715, allocations: 351.3 kB / 0.9839 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.1715, allocations: 16.02 kB / 0.9839 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.896e-05/0.1716, allocations: 7.891 kB / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.36e-05/0.1717, allocations: 159.1 kB / 0.9841 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.1717, allocations: 4 kB / 0.9841 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.1717, allocations: 3.938 kB / 0.9841 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.663e-05/0.1718, allocations: 37.69 kB / 0.9841 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.547e-06/0.1718, allocations: 0 / 0.9841 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-06/0.1718, allocations: 0 / 0.9841 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.314e-06/0.1718, allocations: 0 / 0.9841 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.491e-05/0.1719, allocations: 11.95 kB / 0.9841 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001182/0.172, allocations: 153.7 kB / 0.9843 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.152e-05/0.1721, allocations: 18.61 kB / 0.9843 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002164/0.1723, allocations: 109.1 kB / 0.9844 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.555e-05/0.1723, allocations: 34.56 kB / 0.9844 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.991e-06/0.1724, allocations: 0 / 0.9844 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001307/0.1725, allocations: 41.61 kB / 0.9845 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.321e-05/0.1725, allocations: 55.41 kB / 0.9845 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.192e-05/0.1726, allocations: 97.84 kB / 0.9846 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.628e-06/0.1726, allocations: 25.7 kB / 0.9846 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.986e-05/0.1726, allocations: 88.14 kB / 0.9847 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.1727, allocations: 3.906 kB / 0.9847 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.161e-06/0.1727, allocations: 128 / 0.9847 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.801e-05/0.1727, allocations: 322.8 kB / 0.985 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.599e-05/0.1728, allocations: 4 kB / 0.985 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.181e-05/0.1728, allocations: 7.938 kB / 0.9851 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.147e-05/0.1728, allocations: 4 kB / 0.9851 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.145e-06/0.1728, allocations: 0 / 0.9851 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.751e-05/0.1729, allocations: 33.7 kB / 0.9851 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.1729, allocations: 8 kB / 0.9851 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.806e-06/0.173, allocations: 0 / 0.9851 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.173, allocations: 4.094 kB / 0.9851 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.645e-05/0.1731, allocations: 7.984 kB / 0.9851 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.452e-06/0.1731, allocations: 0 / 0.9851 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.324e-05/0.1731, allocations: 4 kB / 0.9851 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.11e-06/0.1731, allocations: 0 / 0.9851 GB, free: 21.42 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 (2): * Single equations (assignments): 2 * 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 5.239e-05/0.1732, allocations: 113.8 kB / 0.9852 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.092e-05/0.1732, allocations: 3.938 kB / 0.9852 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.1733, allocations: 56.69 kB / 0.9853 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.915e-06/0.1733, allocations: 4 kB / 0.9853 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.871e-06/0.1733, allocations: 0 / 0.9853 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.044e-06/0.1734, allocations: 0 / 0.9853 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.655e-05/0.1734, allocations: 157.9 kB / 0.9854 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.759e-06/0.1735, allocations: 4 kB / 0.9854 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.002e-05/0.1735, allocations: 4 kB / 0.9854 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.078e-06/0.1735, allocations: 0 / 0.9854 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.855e-06/0.1735, allocations: 0 / 0.9854 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.279e-06/0.1735, allocations: 0 / 0.9854 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.541e-06/0.1735, allocations: 0 / 0.9854 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.284e-05/0.1736, allocations: 80.95 kB / 0.9855 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.117e-05/0.1737, allocations: 81.05 kB / 0.9856 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.1737, allocations: 0 / 0.9856 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.252e-05/0.1737, allocations: 7.984 kB / 0.9856 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.651e-05/0.1738, allocations: 0 / 0.9856 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.164e-06/0.1738, allocations: 0 / 0.9856 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.631e-05/0.1738, allocations: 83.28 kB / 0.9857 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.78e-07/0.1738, allocations: 4.031 kB / 0.9857 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000269/0.1741, allocations: 20 kB / 0.9857 GB, free: 20.71 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 (2): * Single equations (assignments): 2 * 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.0001695/0.1743, allocations: 131.2 kB / 0.9858 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.975e-05/0.1744, allocations: 12 kB / 0.9858 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.657e-06/0.1744, allocations: 0 / 0.9858 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.844e-05/0.1744, allocations: 7.938 kB / 0.9858 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001582/0.1746, allocations: 7.953 kB / 0.9859 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002448/0.1748, allocations: 162.5 kB / 0.986 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.1749, allocations: 0.677 MB / 0.9867 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.781e-05/0.175, allocations: 7.984 kB / 0.9867 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.574e-05/0.175, allocations: 11.38 kB / 0.9867 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of SimCode: time 1.39e-06/0.175, allocations: 4 kB / 0.9867 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of Templates: time 0.003039/0.1781, allocations: 0.7144 MB / 0.9874 GB, free: 18.93 MB / 0.6198 GB