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.001218/0.001218, 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.001554/0.001554, allocations: 196.9 kB / 16.14 MB, free: 6.688 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.434/1.434, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7402/0.7402, allocations: 132.2 MB / 422.2 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 60.03 kB / 0.5011 GB, free: 9.199 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2016, allocations: 80.2 MB / 0.5794 GB, free: 9.219 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.003081/0.2047, allocations: 1.329 MB / 0.5807 GB, free: 7.875 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003462/0.2082, allocations: 2.497 MB / 0.5832 GB, free: 5.367 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.066e-05/0.2083, allocations: 0 / 0.5832 GB, free: 5.367 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.207e-05/0.2083, allocations: 0 / 0.5832 GB, free: 5.367 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.031e-05/0.2084, allocations: 7.938 kB / 0.5832 GB, free: 5.359 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006956/0.2091, allocations: 123.5 kB / 0.5833 GB, free: 5.238 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.151e-05/0.2092, allocations: 31.86 kB / 0.5833 GB, free: 5.207 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.832e-05/0.2093, allocations: 11.97 kB / 0.5833 GB, free: 5.195 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.133e-05/0.2093, allocations: 15.94 kB / 0.5833 GB, free: 5.18 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.802e-05/0.2094, allocations: 19.92 kB / 0.5834 GB, free: 5.16 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.2094, allocations: 0 / 0.5834 GB, free: 5.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003661/0.2098, allocations: 115.7 kB / 0.5835 GB, free: 5.047 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.774e-05/0.2098, allocations: 8 kB / 0.5835 GB, free: 5.039 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.75e-05/0.2099, allocations: 19.91 kB / 0.5835 GB, free: 5.02 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.2101, allocations: 84.06 kB / 0.5836 GB, free: 4.938 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.2101, allocations: 4 kB / 0.5836 GB, free: 4.934 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.81e-07/0.2101, allocations: 0 / 0.5836 GB, free: 4.934 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.2101, allocations: 3.938 kB / 0.5836 GB, free: 4.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.0005029/0.2106, allocations: 347.5 kB / 0.5839 GB, free: 4.543 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.2107, allocations: 12.02 kB / 0.5839 GB, free: 4.531 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002564/0.211, allocations: 12.94 kB / 0.5839 GB, free: 4.52 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.2111, allocations: 164.3 kB / 0.5841 GB, free: 4.32 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.2111, allocations: 384 / 0.5841 GB, free: 4.32 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.203e-05/0.2111, allocations: 16.36 kB / 0.5841 GB, free: 4.305 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.2113, allocations: 68.33 kB / 0.5842 GB, free: 4.223 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.2113, allocations: 0 / 0.5842 GB, free: 4.223 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.2114, allocations: 8 kB / 0.5842 GB, free: 4.215 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.2114, allocations: 0 / 0.5842 GB, free: 4.215 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.053e-05/0.2114, allocations: 15.92 kB / 0.5842 GB, free: 4.199 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006782/0.2121, allocations: 474.8 kB / 0.5847 GB, free: 3.672 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.2123, allocations: 71.66 kB / 0.5847 GB, free: 3.574 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.435e-05/0.2123, allocations: 26.7 kB / 0.5847 GB, free: 3.539 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.2123, allocations: 0 / 0.5847 GB, free: 3.539 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.2124, allocations: 38.5 kB / 0.5848 GB, free: 3.492 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.2124, allocations: 0 / 0.5848 GB, free: 3.492 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006776/0.213, allocations: 298.5 kB / 0.5851 GB, free: 3.148 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.627e-05/0.2131, allocations: 110.9 kB / 0.5852 GB, free: 3.016 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.962e-05/0.2132, allocations: 109.7 kB / 0.5853 GB, free: 2.898 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.2132, allocations: 25.7 kB / 0.5853 GB, free: 2.867 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.379e-05/0.2133, allocations: 80.14 kB / 0.5854 GB, free: 2.785 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.2133, allocations: 35.48 kB / 0.5854 GB, free: 2.75 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.444e-05/0.2134, allocations: 25.72 kB / 0.5854 GB, free: 2.719 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.2135, allocations: 318.8 kB / 0.5857 GB, free: 2.398 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.097e-05/0.2135, allocations: 15.98 kB / 0.5858 GB, free: 2.383 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.518e-05/0.2136, allocations: 59.83 kB / 0.5858 GB, free: 2.309 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.888e-05/0.2137, allocations: 77.03 kB / 0.5859 GB, free: 2.215 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2137, allocations: 0 / 0.5859 GB, free: 2.215 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001413/0.2139, allocations: 93.45 kB / 0.586 GB, free: 2.117 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.2139, allocations: 4 kB / 0.586 GB, free: 2.113 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.2139, allocations: 4 kB / 0.586 GB, free: 2.109 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.2139, allocations: 3.984 kB / 0.586 GB, free: 2.105 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.396e-05/0.214, allocations: 24 kB / 0.586 GB, free: 2.082 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.214, allocations: 3.984 kB / 0.586 GB, free: 2.078 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.193e-05/0.2141, allocations: 8.734 kB / 0.586 GB, free: 2.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.2141, allocations: 4 kB / 0.586 GB, free: 2.066 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 9.648e-05/0.2142, allocations: 122.4 kB / 0.5861 GB, free: 1.938 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.573e-05/0.2143, allocations: 4 kB / 0.5861 GB, free: 1.934 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.68e-05/0.2143, allocations: 11.56 kB / 0.5862 GB, free: 1.918 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.644e-06/0.2143, allocations: 0 / 0.5862 GB, free: 1.918 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.2143, allocations: 3.938 kB / 0.5862 GB, free: 1.914 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.2143, allocations: 3.984 kB / 0.5862 GB, free: 1.91 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003694/0.2147, allocations: 181.6 kB / 0.5863 GB, free: 1.684 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2147, allocations: 4 kB / 0.5863 GB, free: 1.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.532e-05/0.2148, allocations: 15.98 kB / 0.5864 GB, free: 1.664 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.2148, allocations: 4 kB / 0.5864 GB, free: 1.66 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.2148, allocations: 0 / 0.5864 GB, free: 1.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.2148, allocations: 0 / 0.5864 GB, free: 1.66 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.2148, allocations: 3.938 kB / 0.5864 GB, free: 1.656 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002785/0.2151, allocations: 337.9 kB / 0.5867 GB, free: 1.309 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6e-05/0.2152, allocations: 85.05 kB / 0.5868 GB, free: 1.207 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.2152, allocations: 0 / 0.5868 GB, free: 1.207 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/0.2154, allocations: 8.031 kB / 0.5868 GB, free: 1.199 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.1e-05/0.2154, allocations: 8 kB / 0.5868 GB, free: 1.191 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-06/0.2154, allocations: 3.938 kB / 0.5868 GB, free: 1.188 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.173e-05/0.2155, allocations: 79.28 kB / 0.5869 GB, free: 1.109 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2155, allocations: 3.938 kB / 0.5869 GB, free: 1.105 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003149/0.2158, allocations: 16 kB / 0.5869 GB, free: 1.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.0001392/0.216, allocations: 107.2 kB / 0.587 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001291/0.2161, allocations: 43.92 kB / 0.587 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2161, allocations: 0 / 0.587 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.743e-05/0.2161, allocations: 23.94 kB / 0.5871 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004541/0.2166, allocations: 8.359 kB / 0.5871 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006453/0.2173, allocations: 353.1 kB / 0.5874 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.2175, allocations: 0.6848 MB / 0.5881 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.87e-05/0.2176, allocations: 11.98 kB / 0.5881 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.554e-05/0.2176, allocations: 11.44 kB / 0.5881 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of SimCode: time 5.51e-07/0.2176, allocations: 0 / 0.5881 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of Templates: time 0.00293/0.2206, allocations: 0.6157 MB / 0.5887 GB, free: 15.21 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)