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.001089/0.001089, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001474/0.001475, allocations: 192.3 kB / 16.14 MB, free: 6.707 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.352/1.352, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002005/0.002005, allocations: 294.7 kB / 290.2 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9355/0.9355, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001716/0.001716, allocations: 84.78 kB / 0.5945 GB, free: 28.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1849, allocations: 86.99 MB / 0.6794 GB, free: 1.176 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002418/0.1874, allocations: 1.332 MB / 0.6807 GB, free: 15.84 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003085/0.1905, allocations: 2.489 MB / 0.6832 GB, free: 13.35 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.994e-05/0.1906, allocations: 3.938 kB / 0.6832 GB, free: 13.35 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.565e-05/0.1906, allocations: 3.938 kB / 0.6832 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.658e-05/0.1907, allocations: 4.625 kB / 0.6832 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004742/0.1911, allocations: 109.1 kB / 0.6833 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.901e-05/0.1912, allocations: 39.84 kB / 0.6833 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.476e-05/0.1913, allocations: 4.625 kB / 0.6833 GB, free: 13.19 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.555e-05/0.1913, allocations: 17.28 kB / 0.6833 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.495e-05/0.1914, allocations: 15.94 kB / 0.6834 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.1914, allocations: 0 / 0.6834 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002853/0.1917, allocations: 115.7 kB / 0.6835 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.784e-05/0.1917, allocations: 12.73 kB / 0.6835 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.093e-05/0.1917, allocations: 19.92 kB / 0.6835 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.192, allocations: 84.06 kB / 0.6836 GB, free: 12.93 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.192, allocations: 0 / 0.6836 GB, free: 12.93 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.192, allocations: 3.938 kB / 0.6836 GB, free: 12.93 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.192, allocations: 0 / 0.6836 GB, free: 12.93 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.0003837/0.1924, allocations: 351.5 kB / 0.6839 GB, free: 12.54 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.1924, allocations: 8.031 kB / 0.6839 GB, free: 12.53 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000206/0.1926, allocations: 16.84 kB / 0.6839 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.971e-05/0.1927, allocations: 164.4 kB / 0.6841 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.1928, allocations: 16.25 kB / 0.6841 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.1928, allocations: 4.375 kB / 0.6841 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.1929, allocations: 72.38 kB / 0.6842 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.1929, allocations: 0 / 0.6842 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.193, allocations: 4 kB / 0.6842 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.193, allocations: 0 / 0.6842 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.284e-05/0.193, allocations: 15.94 kB / 0.6842 GB, free: 12.19 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005494/0.1936, allocations: 462.9 kB / 0.6846 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.1937, allocations: 71.66 kB / 0.6847 GB, free: 11.58 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.563e-05/0.1938, allocations: 26.7 kB / 0.6847 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.1938, allocations: 8.016 kB / 0.6847 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.1938, allocations: 38.56 kB / 0.6848 GB, free: 11.49 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.1938, allocations: 0 / 0.6848 GB, free: 11.49 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.00061/0.1944, allocations: 306.6 kB / 0.6851 GB, free: 11.14 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.906e-05/0.1945, allocations: 110.8 kB / 0.6852 GB, free: 11 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.978e-05/0.1946, allocations: 101.8 kB / 0.6853 GB, free: 10.89 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.1946, allocations: 25.7 kB / 0.6853 GB, free: 10.86 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.523e-05/0.1947, allocations: 88.05 kB / 0.6854 GB, free: 10.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.1947, allocations: 31.55 kB / 0.6854 GB, free: 10.74 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/0.1947, allocations: 21.72 kB / 0.6854 GB, free: 10.71 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.739e-05/0.1948, allocations: 326.8 kB / 0.6858 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.718e-05/0.1949, allocations: 12 kB / 0.6858 GB, free: 10.38 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.477e-05/0.1949, allocations: 53.08 kB / 0.6858 GB, free: 10.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.053e-05/0.195, allocations: 77.08 kB / 0.6859 GB, free: 10.21 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.195, allocations: 0 / 0.6859 GB, free: 10.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001279/0.1951, allocations: 93.55 kB / 0.686 GB, free: 10.11 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.1952, allocations: 4 kB / 0.686 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.1952, allocations: 4 kB / 0.686 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.1952, allocations: 0 / 0.686 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.454e-05/0.1953, allocations: 19.94 kB / 0.686 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.1953, allocations: 16.05 kB / 0.686 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.679e-05/0.1953, allocations: 4 kB / 0.686 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.1954, allocations: 8 kB / 0.686 GB, free: 10.06 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 6.938e-05/0.1954, allocations: 114.4 kB / 0.6861 GB, free: 9.938 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.976e-05/0.1955, allocations: 7.906 kB / 0.6861 GB, free: 9.93 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.103e-05/0.1955, allocations: 7.562 kB / 0.6862 GB, free: 9.922 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1955, allocations: 7.938 kB / 0.6862 GB, free: 9.914 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1955, allocations: 0 / 0.6862 GB, free: 9.914 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1956, allocations: 0 / 0.6862 GB, free: 9.914 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003123/0.1959, allocations: 181.6 kB / 0.6863 GB, free: 9.688 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1959, allocations: 0 / 0.6863 GB, free: 9.688 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.682e-05/0.196, allocations: 19.92 kB / 0.6864 GB, free: 9.668 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.196, allocations: 0 / 0.6864 GB, free: 9.668 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.196, allocations: 4 kB / 0.6864 GB, free: 9.664 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.196, allocations: 0 / 0.6864 GB, free: 9.664 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.196, allocations: 0 / 0.6864 GB, free: 9.664 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/0.1962, allocations: 338.1 kB / 0.6867 GB, free: 9.316 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-05/0.1963, allocations: 85.06 kB / 0.6868 GB, free: 9.215 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.1963, allocations: 3.984 kB / 0.6868 GB, free: 9.211 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.1965, allocations: 8 kB / 0.6868 GB, free: 9.203 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.925e-05/0.1965, allocations: 7.938 kB / 0.6868 GB, free: 9.195 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.1965, allocations: 3.938 kB / 0.6868 GB, free: 9.191 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.781e-05/0.1966, allocations: 83.64 kB / 0.6869 GB, free: 9.109 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1966, allocations: 0 / 0.6869 GB, free: 9.109 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003065/0.1969, allocations: 20 kB / 0.6869 GB, free: 9.09 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.0001222/0.197, allocations: 117.3 kB / 0.687 GB, free: 8.965 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001103/0.1971, allocations: 39.92 kB / 0.687 GB, free: 8.926 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1972, allocations: 0 / 0.687 GB, free: 8.926 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.877e-05/0.1972, allocations: 23.92 kB / 0.6871 GB, free: 8.902 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004324/0.1976, allocations: 12.38 kB / 0.6871 GB, free: 8.891 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005737/0.1982, allocations: 349.7 kB / 0.6874 GB, free: 8.516 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.1984, allocations: 0.6848 MB / 0.6881 GB, free: 7.805 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.701e-05/0.1985, allocations: 11.98 kB / 0.6881 GB, free: 7.793 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.085e-05/0.1985, allocations: 11.44 kB / 0.6881 GB, free: 7.781 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1985, allocations: 0 / 0.6881 GB, free: 7.781 MB / 494.1 MB Notification: Performance of Templates: time 0.002515/0.2011, allocations: 0.6261 MB / 0.6887 GB, free: 7.191 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)