Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01049/0.01049, allocations: 223.1 kB / 15.17 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001064/0.001064, allocations: 181.1 kB / 16.06 MB, free: 5.828 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.209/3.209, allocations: 389.1 MB / 405.9 MB, free: 6.801 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.091/4.091, allocations: 472.3 MB / 0.9018 GB, free: 10.79 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000476/0.0004767, allocations: 12 kB / 1.008 GB, free: 6.734 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1664, allocations: 98.7 MB / 1.104 GB, free: 3.863 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005672/0.1721, allocations: 4.076 MB / 1.108 GB, free: 15.76 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.1734, allocations: 0.7568 MB / 1.109 GB, free: 15 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.659e-05/0.1734, allocations: 3.938 kB / 1.109 GB, free: 15 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001287/0.1736, allocations: 19.89 kB / 1.109 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.093e-05/0.1737, allocations: 27.77 kB / 1.109 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004424/0.1741, allocations: 139.4 kB / 1.109 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001888/0.1743, allocations: 151.4 kB / 1.109 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.018e-05/0.1744, allocations: 13.12 kB / 1.109 GB, free: 14.65 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001757/0.1746, allocations: 71.75 kB / 1.109 GB, free: 14.58 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.1747, allocations: 71.72 kB / 1.109 GB, free: 14.51 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.824e-05/0.1748, allocations: 8 kB / 1.109 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003378/0.1751, allocations: 119.8 kB / 1.109 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.735e-05/0.1752, allocations: 27.89 kB / 1.109 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 5.46e-05/0.1753, allocations: 41.64 kB / 1.109 GB, free: 14.31 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0002851/0.1756, allocations: 151.9 kB / 1.11 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 6.866e-06/0.1756, allocations: 4 kB / 1.11 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.899e-06/0.1756, allocations: 4 kB / 1.11 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.1756, allocations: 0 / 1.11 GB, free: 14.16 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008897/0.1765, allocations: 466.8 kB / 1.11 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.1765, allocations: 12.03 kB / 1.11 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.202e-05/0.1766, allocations: 15.8 kB / 1.11 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.1768, allocations: 186.8 kB / 1.11 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.1768, allocations: 12 kB / 1.11 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.202e-05/0.1769, allocations: 12 kB / 1.11 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003971/0.1773, allocations: 129.6 kB / 1.11 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.347e-06/0.1773, allocations: 0 / 1.11 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.1773, allocations: 0 / 1.11 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.1774, allocations: 8 kB / 1.11 GB, free: 13.24 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005304/0.1779, allocations: 171.8 kB / 1.111 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.179, allocations: 460.5 kB / 1.111 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003701/0.1794, allocations: 134.5 kB / 1.111 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000254/0.1797, allocations: 80.81 kB / 1.111 GB, free: 12.35 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00165/0.1814, allocations: 0.9687 MB / 1.112 GB, free: 11.24 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.1814, allocations: 34.5 kB / 1.112 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=12): time 2.26e-06/0.1814, allocations: 0 / 1.112 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of matching and sorting (n=12): time 0.0008444/0.1823, allocations: 245.3 kB / 1.112 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.1823, allocations: 55.39 kB / 1.112 GB, free: 10.89 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.1825, allocations: 155.4 kB / 1.113 GB, free: 10.72 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.1826, allocations: 29.7 kB / 1.113 GB, free: 10.69 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 9.242e-05/0.1827, allocations: 116.3 kB / 1.113 GB, free: 10.57 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.28e-05/0.1827, allocations: 35.45 kB / 1.113 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.676e-05/0.1828, allocations: 8 kB / 1.113 GB, free: 10.53 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.1829, allocations: 326.8 kB / 1.113 GB, free: 10.2 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002921/0.1832, allocations: 79.95 kB / 1.113 GB, free: 10.12 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003213/0.1836, allocations: 125.3 kB / 1.113 GB, free: 9.988 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003075/0.1839, allocations: 103.1 kB / 1.113 GB, free: 9.891 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.405e-06/0.1839, allocations: 0 / 1.113 GB, free: 9.891 MB / 0.7605 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007561/0.1847, allocations: 261.2 kB / 1.114 GB, free: 9.629 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.1847, allocations: 4 kB / 1.114 GB, free: 9.625 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.725e-06/0.1847, allocations: 0 / 1.114 GB, free: 9.625 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.1847, allocations: 4 kB / 1.114 GB, free: 9.621 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003594/0.1851, allocations: 67.98 kB / 1.114 GB, free: 9.555 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.1851, allocations: 4 kB / 1.114 GB, free: 9.551 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.1853, allocations: 43.61 kB / 1.114 GB, free: 9.508 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.639e-05/0.1854, allocations: 8 kB / 1.114 GB, free: 9.5 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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.0001328/0.1855, allocations: 129.7 kB / 1.114 GB, free: 9.363 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.776e-05/0.1856, allocations: 7.906 kB / 1.114 GB, free: 9.355 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000623/0.1862, allocations: 198.9 kB / 1.114 GB, free: 9.16 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.677e-06/0.1862, allocations: 4 kB / 1.114 GB, free: 9.156 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.845e-06/0.1862, allocations: 0 / 1.114 GB, free: 9.156 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.989e-06/0.1863, allocations: 3.984 kB / 1.114 GB, free: 9.152 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000307/0.1866, allocations: 221.5 kB / 1.114 GB, free: 8.887 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.157e-06/0.1866, allocations: 0 / 1.114 GB, free: 8.887 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002072/0.1868, allocations: 39.92 kB / 1.114 GB, free: 8.848 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.043e-06/0.1868, allocations: 3.984 kB / 1.114 GB, free: 8.844 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.1868, allocations: 0 / 1.114 GB, free: 8.844 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.762e-06/0.1869, allocations: 0 / 1.114 GB, free: 8.844 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.839e-06/0.1869, allocations: 4 kB / 1.114 GB, free: 8.84 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006007/0.1875, allocations: 279.2 kB / 1.115 GB, free: 8.551 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.1876, allocations: 100.9 kB / 1.115 GB, free: 8.434 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/0.1876, allocations: 4 kB / 1.115 GB, free: 8.43 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.1878, allocations: 27.97 kB / 1.115 GB, free: 8.402 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.1e-05/0.1879, allocations: 11.92 kB / 1.115 GB, free: 8.391 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.1879, allocations: 4 kB / 1.115 GB, free: 8.387 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001094/0.188, allocations: 119 kB / 1.115 GB, free: 8.273 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6.75e-07/0.1881, allocations: 0 / 1.115 GB, free: 8.273 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004362/0.1885, allocations: 56.12 kB / 1.115 GB, free: 8.219 MB / 0.7605 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 (12): * Single equations (assignments): 12 * 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.0003223/0.1888, allocations: 166.8 kB / 1.115 GB, free: 8.043 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0006311/0.1895, allocations: 188.5 kB / 1.115 GB, free: 7.859 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.547e-06/0.1895, allocations: 0 / 1.115 GB, free: 7.859 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002591/0.1898, allocations: 80.08 kB / 1.115 GB, free: 7.781 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004295/0.1902, allocations: 27.23 kB / 1.115 GB, free: 7.758 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006329/0.1909, allocations: 361.7 kB / 1.116 GB, free: 7.383 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/0.1912, allocations: 0.7126 MB / 1.116 GB, free: 6.645 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001376/0.1914, allocations: 17.03 kB / 1.116 GB, free: 6.625 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.916e-05/0.1915, allocations: 19.42 kB / 1.116 GB, free: 6.605 MB / 0.7605 GB Notification: Performance of SimCode: time 1.308e-06/0.1915, allocations: 0 / 1.116 GB, free: 6.605 MB / 0.7605 GB Notification: Performance of Templates: time 0.007352/0.1988, allocations: 2.475 MB / 1.119 GB, free: 4.148 MB / 0.7605 GB