Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.523/2.523, allocations: 287.9 MB / 302.9 MB, free: 8.336 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.001483/0.001483, allocations: 188.9 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 2.054/2.054, 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.001037/0.001036, allocations: 100.7 kB / 0.7434 GB, free: 6.391 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004784/0.0004787, allocations: 14.98 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1576, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.003451/0.1611, allocations: 3.057 MB / 0.9817 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002536/0.1637, allocations: 2.163 MB / 0.9838 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.1638, allocations: 0 / 0.9838 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002184/0.1641, allocations: 35.86 kB / 0.9839 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002248/0.1643, allocations: 87.69 kB / 0.984 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002073/0.1664, allocations: 432.3 kB / 0.9844 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004711/0.1669, allocations: 172.7 kB / 0.9845 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.263e-05/0.167, allocations: 9.562 kB / 0.9845 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003401/0.1673, allocations: 107.6 kB / 0.9847 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/0.1676, allocations: 71.75 kB / 0.9847 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.083e-05/0.1676, allocations: 4 kB / 0.9847 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001789/0.1694, allocations: 383.4 kB / 0.9851 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.829e-05/0.1696, allocations: 35.89 kB / 0.9851 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.091e-05/0.1697, allocations: 53.64 kB / 0.9852 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000669/0.1704, allocations: 243.7 kB / 0.9854 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.681e-06/0.1704, allocations: 7.938 kB / 0.9854 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.136e-06/0.1704, allocations: 0 / 0.9854 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.1704, allocations: 0 / 0.9854 GB, free: 21.34 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009/0.1713, allocations: 475.2 kB / 0.9859 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.1714, allocations: 12.02 kB / 0.9859 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003963/0.1754, allocations: 187.5 kB / 0.9861 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003847/0.1758, allocations: 202.8 kB / 0.9863 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.234e-05/0.1759, allocations: 12.33 kB / 0.9863 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.588e-05/0.176, allocations: 16 kB / 0.9863 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/0.1772, allocations: 304.2 kB / 0.9866 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.1772, allocations: 3.938 kB / 0.9866 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.647e-05/0.1773, allocations: 12 kB / 0.9866 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.458e-05/0.1774, allocations: 11.95 kB / 0.9866 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001454/0.1788, allocations: 259.6 kB / 0.9868 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002639/0.1815, allocations: 1.385 MB / 0.9882 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/0.1829, allocations: 190.5 kB / 0.9884 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.326e-05/0.183, allocations: 7.984 kB / 0.9884 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.1831, allocations: 38.52 kB / 0.9884 GB, free: 18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 5.594e-06/0.1831, allocations: 0 / 0.9884 GB, free: 18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.001679/0.1848, allocations: 242.9 kB / 0.9887 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.1849, allocations: 55.41 kB / 0.9887 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.1851, allocations: 157 kB / 0.9889 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.722e-05/0.1852, allocations: 29.7 kB / 0.9889 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.312e-05/0.1853, allocations: 132 kB / 0.989 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.455e-05/0.1854, allocations: 59.11 kB / 0.9891 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-05/0.1854, allocations: 4 kB / 0.9891 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.399e-05/0.1855, allocations: 330.8 kB / 0.9894 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000468/0.186, allocations: 56.42 kB / 0.9894 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005197/0.1866, allocations: 150.3 kB / 0.9896 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000515/0.1871, allocations: 77.58 kB / 0.9897 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.208e-06/0.1872, allocations: 4 kB / 0.9897 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009191/0.1881, allocations: 245.1 kB / 0.9899 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.1881, allocations: 13.52 kB / 0.9899 GB, free: 16.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.813e-06/0.1881, allocations: 8 kB / 0.9899 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.1882, allocations: 7.938 kB / 0.9899 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004687/0.1887, allocations: 71.88 kB / 0.99 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.903e-06/0.1887, allocations: 4 kB / 0.99 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002925/0.189, allocations: 31.73 kB / 0.99 GB, free: 16.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.066e-05/0.189, allocations: 12 kB / 0.99 GB, free: 16.27 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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.0001244/0.1892, allocations: 129.7 kB / 0.9902 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.552e-05/0.1892, allocations: 15.81 kB / 0.9902 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007436/0.19, allocations: 231.6 kB / 0.9904 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.739e-06/0.19, allocations: 4 kB / 0.9904 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.19, allocations: 3.953 kB / 0.9904 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.186e-06/0.19, allocations: 3.984 kB / 0.9904 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002974/0.1904, allocations: 237.4 kB / 0.9906 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.982e-06/0.1904, allocations: 4 kB / 0.9906 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000445/0.1908, allocations: 51.95 kB / 0.9907 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.424e-06/0.1908, allocations: 0 / 0.9907 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.809e-05/0.1909, allocations: 11.98 kB / 0.9907 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.336e-06/0.1909, allocations: 3.953 kB / 0.9907 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.987e-06/0.1909, allocations: 0 / 0.9907 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006883/0.1916, allocations: 296.7 kB / 0.991 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.1917, allocations: 105 kB / 0.9911 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.789e-05/0.1918, allocations: 4 kB / 0.9911 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003175/0.1921, allocations: 15.98 kB / 0.9911 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.796e-05/0.1922, allocations: 15.94 kB / 0.9911 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.298e-05/0.1922, allocations: 11.98 kB / 0.9911 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.395e-05/0.1923, allocations: 118 kB / 0.9912 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.42e-07/0.1923, allocations: 7.938 kB / 0.9913 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004791/0.1928, allocations: 63.84 kB / 0.9913 GB, free: 14.87 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 (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 Backend phase and start with SimCode phase: time 0.0001977/0.193, allocations: 132.4 kB / 0.9914 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005979/0.1936, allocations: 180.6 kB / 0.9916 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.73e-06/0.1937, allocations: 0 / 0.9916 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002666/0.1939, allocations: 84.52 kB / 0.9917 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004737/0.1944, allocations: 59.89 kB / 0.9917 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.1955, allocations: 488.1 kB / 0.9922 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001636/0.1957, allocations: 0.7215 MB / 0.9929 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005395/0.1963, allocations: 49.92 kB / 0.993 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.1964, allocations: 27.36 kB / 0.993 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of SimCode: time 1.748e-06/0.1964, allocations: 0 / 0.993 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of Templates: time 0.007777/0.2042, allocations: 3.045 MB / 0.996 GB, free: 10.11 MB / 0.6198 GB