Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00752/0.00752, allocations: 173.9 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 223.3 MB / 240.3 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001666/0.001666, allocations: 271.1 kB / 291.7 MB, free: 1.812 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9303/0.9303, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004258/0.0004259, allocations: 11.16 kB / 0.5986 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1774, allocations: 88.55 MB / 0.6851 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001225/0.1786, allocations: 0.9863 MB / 0.6861 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003026/0.1817, allocations: 2.461 MB / 0.6885 GB, free: 11.63 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.808e-05/0.1817, allocations: 0.5 kB / 0.6885 GB, free: 11.63 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.532e-05/0.1817, allocations: 0 / 0.6885 GB, free: 11.63 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.686e-05/0.1818, allocations: 12.48 kB / 0.6885 GB, free: 11.62 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004606/0.1823, allocations: 110.2 kB / 0.6886 GB, free: 11.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.572e-05/0.1823, allocations: 39.84 kB / 0.6886 GB, free: 11.48 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.751e-05/0.1824, allocations: 4 kB / 0.6887 GB, free: 11.47 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.297e-05/0.1824, allocations: 15.92 kB / 0.6887 GB, free: 11.46 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.659e-05/0.1825, allocations: 20.67 kB / 0.6887 GB, free: 11.44 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.538e-06/0.1825, allocations: 0 / 0.6887 GB, free: 11.44 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002618/0.1828, allocations: 114.6 kB / 0.6888 GB, free: 11.33 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.336e-05/0.1828, allocations: 8 kB / 0.6888 GB, free: 11.32 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.246e-05/0.1829, allocations: 45.62 kB / 0.6888 GB, free: 11.27 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002763/0.1831, allocations: 87.98 kB / 0.6889 GB, free: 11.18 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1832, allocations: 0 / 0.6889 GB, free: 11.18 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1832, allocations: 0 / 0.6889 GB, free: 11.18 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.1832, allocations: 0 / 0.6889 GB, free: 11.18 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004434/0.1836, allocations: 337.2 kB / 0.6893 GB, free: 10.81 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.1837, allocations: 16.02 kB / 0.6893 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002014/0.1839, allocations: 8.938 kB / 0.6893 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.184, allocations: 168.8 kB / 0.6894 GB, free: 10.58 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.184, allocations: 6.094 kB / 0.6894 GB, free: 10.58 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.184, allocations: 12.36 kB / 0.6895 GB, free: 10.57 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002255/0.1843, allocations: 77.03 kB / 0.6895 GB, free: 10.48 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.1843, allocations: 0.875 kB / 0.6895 GB, free: 10.48 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.1843, allocations: 0 / 0.6895 GB, free: 10.48 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1843, allocations: 0 / 0.6895 GB, free: 10.48 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.239e-05/0.1844, allocations: 12.61 kB / 0.6895 GB, free: 10.46 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005964/0.185, allocations: 472.9 kB / 0.69 GB, free: 9.941 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.1851, allocations: 71.66 kB / 0.6901 GB, free: 9.844 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.09e-05/0.1852, allocations: 26.64 kB / 0.6901 GB, free: 9.809 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.265e-06/0.1852, allocations: 0 / 0.6901 GB, free: 9.809 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.1852, allocations: 42.56 kB / 0.6901 GB, free: 9.758 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 2.465e-06/0.1852, allocations: 3.938 kB / 0.6901 GB, free: 9.754 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.000638/0.1859, allocations: 306.2 kB / 0.6904 GB, free: 9.402 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.186, allocations: 106.8 kB / 0.6905 GB, free: 9.273 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.217e-05/0.1861, allocations: 106.1 kB / 0.6906 GB, free: 9.16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.1861, allocations: 29.7 kB / 0.6907 GB, free: 9.125 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.456e-05/0.1862, allocations: 84.05 kB / 0.6907 GB, free: 9.039 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.48e-05/0.1862, allocations: 35.53 kB / 0.6908 GB, free: 9.004 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.609e-05/0.1862, allocations: 17.72 kB / 0.6908 GB, free: 8.98 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.918e-05/0.1863, allocations: 318.8 kB / 0.6911 GB, free: 8.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.891e-05/0.1864, allocations: 15.98 kB / 0.6911 GB, free: 8.645 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.829e-05/0.1864, allocations: 53.14 kB / 0.6912 GB, free: 8.574 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.917e-05/0.1865, allocations: 69.55 kB / 0.6912 GB, free: 8.488 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1865, allocations: 0 / 0.6912 GB, free: 8.488 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001665/0.1867, allocations: 105.5 kB / 0.6913 GB, free: 8.379 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.1867, allocations: 4 kB / 0.6913 GB, free: 8.375 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1867, allocations: 4 kB / 0.6913 GB, free: 8.371 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.1867, allocations: 0 / 0.6913 GB, free: 8.371 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.244e-05/0.1868, allocations: 19.98 kB / 0.6913 GB, free: 8.352 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.1868, allocations: 4 kB / 0.6914 GB, free: 8.348 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.338e-05/0.1869, allocations: 0 / 0.6914 GB, free: 8.348 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.1869, allocations: 4 kB / 0.6914 GB, free: 8.344 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 8.229e-05/0.187, allocations: 126.5 kB / 0.6915 GB, free: 8.211 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.101e-05/0.187, allocations: 15.89 kB / 0.6915 GB, free: 8.195 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.852e-05/0.1871, allocations: 7.562 kB / 0.6915 GB, free: 8.188 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1871, allocations: 4 kB / 0.6915 GB, free: 8.184 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1871, allocations: 0 / 0.6915 GB, free: 8.184 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.1871, allocations: 0 / 0.6915 GB, free: 8.184 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003282/0.1874, allocations: 173.6 kB / 0.6917 GB, free: 7.965 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1874, allocations: 4 kB / 0.6917 GB, free: 7.961 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.345e-05/0.1875, allocations: 15.98 kB / 0.6917 GB, free: 7.945 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1875, allocations: 3.938 kB / 0.6917 GB, free: 7.941 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.1875, allocations: 4 kB / 0.6917 GB, free: 7.938 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1875, allocations: 4 kB / 0.6917 GB, free: 7.934 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1875, allocations: 0 / 0.6917 GB, free: 7.934 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002138/0.1878, allocations: 334 kB / 0.692 GB, free: 7.59 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.931e-05/0.1878, allocations: 85.02 kB / 0.6921 GB, free: 7.488 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.1878, allocations: 0 / 0.6921 GB, free: 7.488 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.188, allocations: 19.92 kB / 0.6921 GB, free: 7.469 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.803e-05/0.188, allocations: 0 / 0.6921 GB, free: 7.469 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.1881, allocations: 7.938 kB / 0.6921 GB, free: 7.461 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.204e-05/0.1881, allocations: 79.28 kB / 0.6922 GB, free: 7.383 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1881, allocations: 0 / 0.6922 GB, free: 7.383 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003077/0.1884, allocations: 12 kB / 0.6922 GB, free: 7.371 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0001324/0.1886, allocations: 115.2 kB / 0.6923 GB, free: 7.246 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000113/0.1887, allocations: 51.92 kB / 0.6924 GB, free: 7.195 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1887, allocations: 0 / 0.6924 GB, free: 7.195 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.532e-05/0.1887, allocations: 19.94 kB / 0.6924 GB, free: 7.176 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/0.1891, allocations: 11.98 kB / 0.6924 GB, free: 7.164 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00066/0.1898, allocations: 405.1 kB / 0.6928 GB, free: 6.734 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.1901, allocations: 0.6809 MB / 0.6935 GB, free: 6.027 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.768e-05/0.1901, allocations: 11.98 kB / 0.6935 GB, free: 6.016 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.299e-05/0.1901, allocations: 11.44 kB / 0.6935 GB, free: 6.004 MB / 494.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1902, allocations: 0 / 0.6935 GB, free: 6.004 MB / 494.1 MB Notification: Performance of Templates: time 0.002867/0.193, allocations: 0.6053 MB / 0.6941 GB, free: 5.434 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)