Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001068/0.001068, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 194 kB / 16.53 MB, free: 6.664 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.344/1.344, allocations: 222.9 MB / 240.2 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7359/0.7359, allocations: 132.2 MB / 422.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 61.84 kB / 0.5018 GB, free: 8.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1822, allocations: 80.21 MB / 0.5801 GB, free: 8.773 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002198/0.1844, allocations: 1.259 MB / 0.5813 GB, free: 7.5 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002654/0.1871, allocations: 2.501 MB / 0.5838 GB, free: 4.988 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.791e-05/0.1872, allocations: 0 / 0.5838 GB, free: 4.988 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.446e-05/0.1872, allocations: 0 / 0.5838 GB, free: 4.988 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.717e-05/0.1872, allocations: 11.91 kB / 0.5838 GB, free: 4.977 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004901/0.1877, allocations: 127.4 kB / 0.5839 GB, free: 4.852 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.415e-05/0.1878, allocations: 35.91 kB / 0.5839 GB, free: 4.816 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.622e-05/0.1878, allocations: 0 / 0.5839 GB, free: 4.816 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.6e-05/0.1879, allocations: 27.86 kB / 0.584 GB, free: 4.789 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.312e-05/0.188, allocations: 11.97 kB / 0.584 GB, free: 4.777 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.188, allocations: 4 kB / 0.584 GB, free: 4.773 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002776/0.1883, allocations: 107.8 kB / 0.5841 GB, free: 4.668 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.04e-05/0.1883, allocations: 23.91 kB / 0.5841 GB, free: 4.645 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.224e-05/0.1883, allocations: 19.94 kB / 0.5841 GB, free: 4.625 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001793/0.1885, allocations: 72.12 kB / 0.5842 GB, free: 4.555 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1885, allocations: 3.938 kB / 0.5842 GB, free: 4.551 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1885, allocations: 0 / 0.5842 GB, free: 4.551 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.1885, allocations: 0 / 0.5842 GB, free: 4.551 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.0003813/0.1889, allocations: 359.4 kB / 0.5845 GB, free: 4.152 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.189, allocations: 8.031 kB / 0.5845 GB, free: 4.145 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000205/0.1892, allocations: 12.92 kB / 0.5845 GB, free: 4.133 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.1893, allocations: 180.2 kB / 0.5847 GB, free: 3.918 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.1893, allocations: 4.375 kB / 0.5847 GB, free: 3.914 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.1893, allocations: 4.375 kB / 0.5847 GB, free: 3.91 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.1895, allocations: 72.38 kB / 0.5848 GB, free: 3.824 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.1895, allocations: 0 / 0.5848 GB, free: 3.824 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.1895, allocations: 3.984 kB / 0.5848 GB, free: 3.82 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1895, allocations: 4 kB / 0.5848 GB, free: 3.816 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.911e-05/0.1896, allocations: 11.94 kB / 0.5848 GB, free: 3.805 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005464/0.1901, allocations: 466.8 kB / 0.5853 GB, free: 3.285 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.1902, allocations: 79.72 kB / 0.5853 GB, free: 3.18 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.808e-05/0.1903, allocations: 22.58 kB / 0.5854 GB, free: 3.148 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.1903, allocations: 0 / 0.5854 GB, free: 3.148 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.1903, allocations: 42.64 kB / 0.5854 GB, free: 3.098 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 7.92e-07/0.1903, allocations: 0 / 0.5854 GB, free: 3.098 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005656/0.1909, allocations: 302.1 kB / 0.5857 GB, free: 2.75 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.191, allocations: 102.8 kB / 0.5858 GB, free: 2.625 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.495e-05/0.191, allocations: 105.8 kB / 0.5859 GB, free: 2.512 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.191, allocations: 29.7 kB / 0.5859 GB, free: 2.477 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.729e-05/0.1911, allocations: 84.14 kB / 0.586 GB, free: 2.391 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.1911, allocations: 31.55 kB / 0.586 GB, free: 2.359 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.343e-05/0.1912, allocations: 25.97 kB / 0.5861 GB, free: 2.328 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.91e-05/0.1913, allocations: 326.7 kB / 0.5864 GB, free: 2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.498e-05/0.1913, allocations: 12 kB / 0.5864 GB, free: 1.988 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.561e-05/0.1913, allocations: 53.08 kB / 0.5864 GB, free: 1.918 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.058e-05/0.1914, allocations: 73.08 kB / 0.5865 GB, free: 1.828 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.1914, allocations: 4 kB / 0.5865 GB, free: 1.824 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001212/0.1916, allocations: 98.02 kB / 0.5866 GB, free: 1.723 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.1916, allocations: 4 kB / 0.5866 GB, free: 1.719 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.1916, allocations: 4 kB / 0.5866 GB, free: 1.715 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.1916, allocations: 4.125 kB / 0.5866 GB, free: 1.711 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.076e-05/0.1917, allocations: 19.94 kB / 0.5866 GB, free: 1.691 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.1917, allocations: 7.984 kB / 0.5866 GB, free: 1.684 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.335e-05/0.1917, allocations: 0 / 0.5866 GB, free: 1.684 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.1917, allocations: 8 kB / 0.5866 GB, free: 1.676 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 7.455e-05/0.1918, allocations: 118.4 kB / 0.5868 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.846e-05/0.1919, allocations: 8.031 kB / 0.5868 GB, free: 1.543 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.798e-05/0.1919, allocations: 11.5 kB / 0.5868 GB, free: 1.527 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1919, allocations: 4 kB / 0.5868 GB, free: 1.523 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1919, allocations: 4 kB / 0.5868 GB, free: 1.52 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1919, allocations: 0 / 0.5868 GB, free: 1.52 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003053/0.1923, allocations: 181.5 kB / 0.587 GB, free: 1.293 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.1923, allocations: 4 kB / 0.587 GB, free: 1.289 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.812e-05/0.1924, allocations: 15.98 kB / 0.587 GB, free: 1.273 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-06/0.1924, allocations: 0 / 0.587 GB, free: 1.273 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.1924, allocations: 8 kB / 0.587 GB, free: 1.266 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1924, allocations: 0 / 0.587 GB, free: 1.266 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1924, allocations: 0 / 0.587 GB, free: 1.266 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/0.1926, allocations: 333.9 kB / 0.5873 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.048e-05/0.1927, allocations: 81.11 kB / 0.5874 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.1927, allocations: 4.031 kB / 0.5874 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.1929, allocations: 8 kB / 0.5874 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.501e-05/0.1929, allocations: 0 / 0.5874 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-06/0.1929, allocations: 7.938 kB / 0.5874 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.37e-05/0.1929, allocations: 91.27 kB / 0.5875 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1929, allocations: 0 / 0.5875 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002914/0.1932, allocations: 8 kB / 0.5875 GB, free: 0.707 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.0001394/0.1934, allocations: 114.6 kB / 0.5876 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001093/0.1935, allocations: 47.8 kB / 0.5876 GB, free: 0.543 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1935, allocations: 4 kB / 0.5876 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.28e-05/0.1935, allocations: 20.23 kB / 0.5877 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004376/0.194, allocations: 12.03 kB / 0.5877 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000564/0.1945, allocations: 344.3 kB / 0.588 GB, free: 148 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.1948, allocations: 0.6846 MB / 0.5887 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.069e-05/0.1948, allocations: 11.98 kB / 0.5887 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.33e-05/0.1949, allocations: 11.44 kB / 0.5887 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1949, allocations: 0 / 0.5887 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of Templates: time 0.00265/0.1975, allocations: 0.634 MB / 0.5893 GB, free: 14.81 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)