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.001323/0.001322, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001372/0.001372, allocations: 195.1 kB / 16.14 MB, free: 6.637 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.447/1.447, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002666/0.002666, allocations: 275 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.129/1.129, allocations: 178.6 MB / 0.5068 GB, free: 4.773 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002761/0.002761, allocations: 95.39 kB / 0.6057 GB, free: 25.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1799, allocations: 89.16 MB / 0.6928 GB, free: 4.848 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002527/0.1825, allocations: 1.324 MB / 0.6941 GB, free: 3.52 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003175/0.1857, allocations: 2.493 MB / 0.6965 GB, free: 1.02 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.015e-05/0.1857, allocations: 0 / 0.6965 GB, free: 1.02 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.924e-05/0.1858, allocations: 3.938 kB / 0.6965 GB, free: 1.016 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.501e-05/0.1859, allocations: 11.98 kB / 0.6965 GB, free: 1.004 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005066/0.1864, allocations: 111.5 kB / 0.6966 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.046e-05/0.1865, allocations: 35.8 kB / 0.6967 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.889e-05/0.1865, allocations: 7.984 kB / 0.6967 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.079e-05/0.1865, allocations: 12 kB / 0.6967 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.786e-05/0.1866, allocations: 23.91 kB / 0.6967 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.1866, allocations: 0 / 0.6967 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003025/0.1869, allocations: 119.7 kB / 0.6968 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.517e-05/0.187, allocations: 4 kB / 0.6968 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.487e-05/0.187, allocations: 19.92 kB / 0.6969 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.1872, allocations: 84.05 kB / 0.6969 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1872, allocations: 0 / 0.6969 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.52e-07/0.1872, allocations: 0 / 0.6969 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.1873, allocations: 0 / 0.6969 GB, free: 0.5938 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.0004229/0.1877, allocations: 347.5 kB / 0.6973 GB, free: 212 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.1877, allocations: 15.95 kB / 0.6973 GB, free: 196 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002102/0.188, allocations: 20.84 kB / 0.6973 GB, free: 176 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.1881, allocations: 168.3 kB / 0.6975 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.1881, allocations: 4.375 kB / 0.6975 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.947e-05/0.1882, allocations: 8.359 kB / 0.6975 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.1883, allocations: 68.39 kB / 0.6975 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.1883, allocations: 0 / 0.6975 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.1884, allocations: 8 kB / 0.6975 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1884, allocations: 4 kB / 0.6976 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.226e-05/0.1884, allocations: 15.92 kB / 0.6976 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006113/0.189, allocations: 462.8 kB / 0.698 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.1892, allocations: 79.59 kB / 0.6981 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.247e-05/0.1892, allocations: 18.7 kB / 0.6981 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.1893, allocations: 7.938 kB / 0.6981 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.1893, allocations: 34.56 kB / 0.6981 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.1893, allocations: 0 / 0.6981 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0006289/0.1899, allocations: 306.2 kB / 0.6984 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.498e-05/0.19, allocations: 102.8 kB / 0.6985 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.082e-05/0.1901, allocations: 97.84 kB / 0.6986 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.1901, allocations: 33.7 kB / 0.6987 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.928e-05/0.1902, allocations: 84.05 kB / 0.6987 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.1902, allocations: 35.8 kB / 0.6988 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.293e-05/0.1903, allocations: 25.72 kB / 0.6988 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1904, allocations: 314.8 kB / 0.6991 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.116e-05/0.1904, allocations: 15.98 kB / 0.6991 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.934e-05/0.1905, allocations: 57.08 kB / 0.6992 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.824e-05/0.1906, allocations: 77.59 kB / 0.6992 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1906, allocations: 0 / 0.6992 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001492/0.1908, allocations: 89.55 kB / 0.6993 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.1908, allocations: 4 kB / 0.6993 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.1908, allocations: 12.11 kB / 0.6993 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.1908, allocations: 0 / 0.6993 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.536e-05/0.1909, allocations: 19.94 kB / 0.6994 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.1909, allocations: 4 kB / 0.6994 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.066e-05/0.191, allocations: 7.906 kB / 0.6994 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.191, allocations: 4 kB / 0.6994 GB, free: 13.73 MB / 0.4981 GB 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 9.606e-05/0.1911, allocations: 121.8 kB / 0.6995 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.095e-05/0.1912, allocations: 4 kB / 0.6995 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.819e-05/0.1912, allocations: 7.562 kB / 0.6995 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.1912, allocations: 8 kB / 0.6995 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1912, allocations: 3.938 kB / 0.6995 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1912, allocations: 0 / 0.6995 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003544/0.1916, allocations: 185.5 kB / 0.6997 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1916, allocations: 4 kB / 0.6997 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.374e-05/0.1917, allocations: 19.92 kB / 0.6997 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1917, allocations: 0 / 0.6997 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.1917, allocations: 8.062 kB / 0.6997 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1917, allocations: 0 / 0.6997 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1917, allocations: 0 / 0.6997 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.192, allocations: 333.9 kB / 0.7 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.681e-05/0.1921, allocations: 85.11 kB / 0.7001 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.1921, allocations: 0 / 0.7001 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/0.1923, allocations: 11.97 kB / 0.7001 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.665e-05/0.1923, allocations: 4 kB / 0.7001 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.1923, allocations: 11.94 kB / 0.7001 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.266e-05/0.1924, allocations: 79.28 kB / 0.7002 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1924, allocations: 0 / 0.7002 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003192/0.1927, allocations: 16 kB / 0.7002 GB, free: 12.75 MB / 0.4981 GB 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.0001441/0.1929, allocations: 103.3 kB / 0.7003 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001179/0.193, allocations: 48.33 kB / 0.7004 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.193, allocations: 4.25 kB / 0.7004 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.013e-05/0.193, allocations: 19.94 kB / 0.7004 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004779/0.1935, allocations: 10.38 kB / 0.7004 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006711/0.1942, allocations: 361.7 kB / 0.7008 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.1945, allocations: 0.6816 MB / 0.7014 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.495e-05/0.1946, allocations: 8 kB / 0.7014 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.62e-05/0.1946, allocations: 11.44 kB / 0.7014 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.1946, allocations: 3.938 kB / 0.7015 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of Templates: time 0.003161/0.1978, allocations: 0.6225 MB / 0.7021 GB, free: 10.86 MB / 0.4981 GB 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)