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.001818/0.001818, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002149/0.002149, allocations: 192.8 kB / 16.25 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.444/1.444, allocations: 222.9 MB / 239.9 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002557/0.002556, allocations: 283 kB / 290.4 MB, free: 2.027 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.104/1.104, allocations: 178.6 MB / 0.507 GB, free: 4.695 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002938/0.002938, allocations: 95.77 kB / 0.6059 GB, free: 25.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1811, allocations: 89.16 MB / 0.693 GB, free: 4.676 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002427/0.1835, allocations: 1.325 MB / 0.6943 GB, free: 3.348 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003208/0.1868, allocations: 2.483 MB / 0.6967 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.487e-05/0.1868, allocations: 0 / 0.6967 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.972e-05/0.1868, allocations: 3.938 kB / 0.6967 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.033e-05/0.1869, allocations: 0 / 0.6967 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000543/0.1874, allocations: 127.4 kB / 0.6968 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.933e-05/0.1875, allocations: 35.8 kB / 0.6969 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.901e-05/0.1876, allocations: 4 kB / 0.6969 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.125e-05/0.1876, allocations: 23.97 kB / 0.6969 GB, free: 0.668 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.151e-05/0.1877, allocations: 19.92 kB / 0.6969 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.719e-06/0.1877, allocations: 0 / 0.6969 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003005/0.188, allocations: 119.7 kB / 0.697 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.424e-05/0.188, allocations: 3.984 kB / 0.697 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.1881, allocations: 19.92 kB / 0.697 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002074/0.1883, allocations: 80.06 kB / 0.6971 GB, free: 440 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.1883, allocations: 4 kB / 0.6971 GB, free: 436 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1883, allocations: 0 / 0.6971 GB, free: 436 kB / 494.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1883, allocations: 4 kB / 0.6971 GB, free: 432 kB / 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.0004584/0.1888, allocations: 353.2 kB / 0.6975 GB, free: 32 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.1888, allocations: 12.03 kB / 0.6975 GB, free: 20 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002112/0.1891, allocations: 16.83 kB / 0.6975 GB, free: 4 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.1892, allocations: 164.3 kB / 0.6976 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.1892, allocations: 4.375 kB / 0.6976 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.1893, allocations: 4.375 kB / 0.6976 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.1894, allocations: 84.31 kB / 0.6977 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.1894, allocations: 0 / 0.6977 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.1895, allocations: 0 / 0.6977 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1895, allocations: 0 / 0.6977 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.154e-05/0.1895, allocations: 15.94 kB / 0.6977 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006751/0.1902, allocations: 470.8 kB / 0.6982 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.1904, allocations: 67.66 kB / 0.6983 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.224e-05/0.1904, allocations: 26.78 kB / 0.6983 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.1904, allocations: 11.88 kB / 0.6983 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.1905, allocations: 38.56 kB / 0.6983 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.1905, allocations: 0 / 0.6983 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0006706/0.1912, allocations: 298.5 kB / 0.6986 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.099e-05/0.1913, allocations: 110.8 kB / 0.6987 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.121e-05/0.1913, allocations: 102.1 kB / 0.6988 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.1914, allocations: 29.7 kB / 0.6988 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.27e-05/0.1914, allocations: 88.03 kB / 0.6989 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.735e-05/0.1915, allocations: 31.55 kB / 0.699 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-05/0.1915, allocations: 29.7 kB / 0.699 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1917, allocations: 318.8 kB / 0.6993 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.936e-05/0.1917, allocations: 12 kB / 0.6993 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.213e-05/0.1918, allocations: 57.08 kB / 0.6994 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.936e-05/0.1919, allocations: 73.08 kB / 0.6994 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1919, allocations: 0 / 0.6994 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001494/0.1921, allocations: 93.61 kB / 0.6995 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.1921, allocations: 8 kB / 0.6995 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.1921, allocations: 4 kB / 0.6995 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.1921, allocations: 4 kB / 0.6995 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.109e-05/0.1922, allocations: 23.92 kB / 0.6996 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.1922, allocations: 0 / 0.6996 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.348e-05/0.1923, allocations: 11.91 kB / 0.6996 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.126e-06/0.1923, allocations: 4 kB / 0.6996 GB, free: 13.55 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.407e-05/0.1924, allocations: 122.6 kB / 0.6997 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.571e-05/0.1924, allocations: 0 / 0.6997 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.879e-05/0.1925, allocations: 11.56 kB / 0.6997 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1925, allocations: 0 / 0.6997 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1925, allocations: 0 / 0.6997 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.1925, allocations: 7.984 kB / 0.6997 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003572/0.1929, allocations: 177.5 kB / 0.6999 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1929, allocations: 0 / 0.6999 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.862e-05/0.193, allocations: 15.94 kB / 0.6999 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.193, allocations: 4 kB / 0.6999 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.193, allocations: 8 kB / 0.6999 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.193, allocations: 3.938 kB / 0.6999 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.193, allocations: 4 kB / 0.6999 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.1933, allocations: 325.9 kB / 0.7002 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.605e-05/0.1934, allocations: 85.14 kB / 0.7003 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.1934, allocations: 11.94 kB / 0.7003 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.1936, allocations: 4 kB / 0.7003 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.406e-05/0.1936, allocations: 7.984 kB / 0.7003 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-06/0.1936, allocations: 7.938 kB / 0.7003 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.185e-05/0.1937, allocations: 79.66 kB / 0.7004 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1937, allocations: 0 / 0.7004 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003152/0.194, allocations: 12 kB / 0.7004 GB, free: 12.59 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.0001376/0.1941, allocations: 111.4 kB / 0.7005 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001285/0.1943, allocations: 47.86 kB / 0.7006 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.1943, allocations: 4 kB / 0.7006 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.678e-05/0.1943, allocations: 15.98 kB / 0.7006 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004362/0.1948, allocations: 13.67 kB / 0.7006 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007497/0.1955, allocations: 364.2 kB / 0.701 GB, free: 12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/0.1959, allocations: 0.6846 MB / 0.7016 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.373e-05/0.196, allocations: 7.984 kB / 0.7016 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.975e-05/0.196, allocations: 11.44 kB / 0.7016 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of SimCode: time 6.31e-07/0.196, allocations: 0 / 0.7016 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of Templates: time 0.003649/0.1997, allocations: 0.634 MB / 0.7023 GB, free: 10.67 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)