Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7834/0.7834, allocations: 143.8 MB / 159.1 MB, free: 6.496 MB / 122.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 182.3 kB / 192 MB, free: 6.727 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 225.7 MB / 450.4 MB, free: 4.938 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007292/0.0007293, allocations: 103.2 kB / 0.5211 GB, free: 1.594 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001634/0.001634, allocations: 281.1 kB / 0.6025 GB, free: 49.27 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000469/0.0004691, allocations: 15.25 kB / 0.6948 GB, free: 59.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1631, allocations: 82.45 MB / 0.7753 GB, free: 14.34 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005177/0.1683, allocations: 4.153 MB / 0.7794 GB, free: 10.03 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0035/0.1718, allocations: 4.078 MB / 0.7833 GB, free: 5.523 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.024e-05/0.172, allocations: 0 / 0.7833 GB, free: 5.523 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002598/0.1722, allocations: 43.73 kB / 0.7834 GB, free: 5.48 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002791/0.1725, allocations: 87.48 kB / 0.7835 GB, free: 5.395 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.1738, allocations: 486.1 kB / 0.7839 GB, free: 4.918 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003602/0.1741, allocations: 331.8 kB / 0.7843 GB, free: 4.594 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.034e-05/0.1742, allocations: 13.5 kB / 0.7843 GB, free: 4.578 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000197/0.1744, allocations: 123.5 kB / 0.7844 GB, free: 4.457 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.1745, allocations: 91.66 kB / 0.7845 GB, free: 4.367 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.34e-05/0.1746, allocations: 12 kB / 0.7845 GB, free: 4.355 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007606/0.1753, allocations: 435.1 kB / 0.7849 GB, free: 3.93 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 7.588e-05/0.1754, allocations: 35.89 kB / 0.7849 GB, free: 3.895 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.1755, allocations: 109.3 kB / 0.785 GB, free: 3.781 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006132/0.1762, allocations: 415.2 kB / 0.7854 GB, free: 3.375 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1762, allocations: 0 / 0.7854 GB, free: 3.375 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1762, allocations: 0 / 0.7854 GB, free: 3.375 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.1762, allocations: 0 / 0.7854 GB, free: 3.375 MB / 458.7 MB 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.0006817/0.1769, allocations: 485.8 kB / 0.7859 GB, free: 2.852 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.1769, allocations: 12.03 kB / 0.7859 GB, free: 2.84 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001728/0.1786, allocations: 172.6 kB / 0.7861 GB, free: 2.672 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.1789, allocations: 216.1 kB / 0.7863 GB, free: 2.422 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.1789, allocations: 8.703 kB / 0.7863 GB, free: 2.414 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.935e-05/0.179, allocations: 20.38 kB / 0.7863 GB, free: 2.395 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006075/0.1796, allocations: 304.3 kB / 0.7866 GB, free: 2.062 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1796, allocations: 3.938 kB / 0.7866 GB, free: 2.059 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.742e-05/0.1797, allocations: 8 kB / 0.7866 GB, free: 2.051 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/0.1797, allocations: 4 kB / 0.7866 GB, free: 2.047 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006437/0.1803, allocations: 263.6 kB / 0.7869 GB, free: 1.789 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001543/0.1819, allocations: 1.396 MB / 0.7882 GB, free: 284 kB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006036/0.1825, allocations: 190.5 kB / 0.7884 GB, free: 84 kB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002312/0.1827, allocations: 84.81 kB / 0.7885 GB, free: 15.99 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.1828, allocations: 4 kB / 0.7885 GB, free: 15.99 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.1828, allocations: 42.5 kB / 0.7885 GB, free: 15.94 MB / 474.7 MB Notification: Performance of pre-optimization done (n=18): time 1.824e-06/0.1828, allocations: 0 / 0.7885 GB, free: 15.94 MB / 474.7 MB Notification: Performance of matching and sorting (n=18): time 0.00071/0.1835, allocations: 245.3 kB / 0.7888 GB, free: 15.7 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.1836, allocations: 51.41 kB / 0.7888 GB, free: 15.63 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.1837, allocations: 160.6 kB / 0.789 GB, free: 15.47 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.1838, allocations: 25.7 kB / 0.789 GB, free: 15.44 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.762e-05/0.1839, allocations: 136 kB / 0.7891 GB, free: 15.3 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.005e-05/0.1839, allocations: 63.09 kB / 0.7892 GB, free: 15.24 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.455e-05/0.1839, allocations: 4 kB / 0.7892 GB, free: 15.23 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1841, allocations: 322.8 kB / 0.7895 GB, free: 14.91 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002003/0.1843, allocations: 64.42 kB / 0.7896 GB, free: 14.84 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002496/0.1845, allocations: 139 kB / 0.7897 GB, free: 14.68 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004367/0.185, allocations: 221.7 kB / 0.7899 GB, free: 14.43 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.185, allocations: 0 / 0.7899 GB, free: 14.43 MB / 474.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005388/0.1855, allocations: 249.1 kB / 0.7901 GB, free: 14.18 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.1856, allocations: 8 kB / 0.7901 GB, free: 14.17 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.1856, allocations: 4 kB / 0.7901 GB, free: 14.16 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.1856, allocations: 4 kB / 0.7902 GB, free: 14.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003718/0.186, allocations: 64.2 kB / 0.7902 GB, free: 14.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.186, allocations: 8 kB / 0.7902 GB, free: 14.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.1862, allocations: 31.67 kB / 0.7903 GB, free: 14.06 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.1862, allocations: 15.98 kB / 0.7903 GB, free: 14.04 MB / 474.7 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001156/0.1864, allocations: 132.3 kB / 0.7904 GB, free: 13.91 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.377e-05/0.1864, allocations: 15.81 kB / 0.7904 GB, free: 13.89 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005802/0.187, allocations: 230.6 kB / 0.7906 GB, free: 13.66 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.187, allocations: 8 kB / 0.7906 GB, free: 13.65 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.187, allocations: 3.938 kB / 0.7906 GB, free: 13.65 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.187, allocations: 0 / 0.7906 GB, free: 13.65 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002594/0.1873, allocations: 245.4 kB / 0.7909 GB, free: 13.36 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1873, allocations: 0 / 0.7909 GB, free: 13.36 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002865/0.1876, allocations: 39.97 kB / 0.7909 GB, free: 13.32 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.1876, allocations: 4 kB / 0.7909 GB, free: 13.32 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.1876, allocations: 11.92 kB / 0.7909 GB, free: 13.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1877, allocations: 0 / 0.7909 GB, free: 13.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1877, allocations: 4 kB / 0.7909 GB, free: 13.3 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004947/0.1882, allocations: 299.1 kB / 0.7912 GB, free: 12.99 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.473e-05/0.1883, allocations: 96.98 kB / 0.7913 GB, free: 12.88 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.212e-05/0.1883, allocations: 4 kB / 0.7913 GB, free: 12.88 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/0.1886, allocations: 31.91 kB / 0.7913 GB, free: 12.84 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.781e-05/0.1886, allocations: 11.98 kB / 0.7914 GB, free: 12.83 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-05/0.1886, allocations: 4 kB / 0.7914 GB, free: 12.83 MB / 474.7 MB Notification: Performance of sorting global known variables: time 7.891e-05/0.1887, allocations: 118.1 kB / 0.7915 GB, free: 12.71 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1887, allocations: 0 / 0.7915 GB, free: 12.71 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003202/0.1891, allocations: 63.91 kB / 0.7915 GB, free: 12.65 MB / 474.7 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002089/0.1893, allocations: 151.3 kB / 0.7917 GB, free: 12.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004731/0.1898, allocations: 181.1 kB / 0.7918 GB, free: 12.32 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.1898, allocations: 4 kB / 0.7919 GB, free: 12.32 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002446/0.19, allocations: 85.95 kB / 0.7919 GB, free: 12.23 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004691/0.1905, allocations: 59.95 kB / 0.792 GB, free: 12.18 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009262/0.1914, allocations: 0.4917 MB / 0.7925 GB, free: 11.65 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.1917, allocations: 0.7137 MB / 0.7932 GB, free: 10.91 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003388/0.192, allocations: 49.92 kB / 0.7932 GB, free: 10.86 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.529e-05/0.1921, allocations: 35.42 kB / 0.7932 GB, free: 10.83 MB / 474.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1921, allocations: 0 / 0.7932 GB, free: 10.83 MB / 474.7 MB Notification: Performance of Templates: time 0.006231/0.1984, allocations: 3.253 MB / 0.7964 GB, free: 7.602 MB / 474.7 MB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)