Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001011/0.001011, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.007781/0.007781, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.471/1.471, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9729/0.9729, allocations: 135.3 MB / 426.7 MB, free: 14.06 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003753/0.0003754, allocations: 8 kB / 0.5076 GB, free: 4.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.1953, allocations: 82.32 MB / 0.588 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001305/0.1967, allocations: 0.9821 MB / 0.5889 GB, free: 1.641 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002903/0.1996, allocations: 2.466 MB / 0.5913 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.911e-05/0.1996, allocations: 0 / 0.5913 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.858e-05/0.1997, allocations: 7.984 kB / 0.5914 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.876e-05/0.1997, allocations: 7.875 kB / 0.5914 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000481/0.2002, allocations: 123.5 kB / 0.5915 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.909e-05/0.2003, allocations: 31.91 kB / 0.5915 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.625e-05/0.2003, allocations: 4 kB / 0.5915 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.228e-05/0.2004, allocations: 23.86 kB / 0.5915 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.005e-05/0.2005, allocations: 15.97 kB / 0.5915 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.2005, allocations: 8 kB / 0.5916 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002691/0.2007, allocations: 107.8 kB / 0.5917 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.757e-05/0.2008, allocations: 15.92 kB / 0.5917 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.698e-05/0.2008, allocations: 29.7 kB / 0.5917 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000183/0.201, allocations: 92.05 kB / 0.5918 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.201, allocations: 0 / 0.5918 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.201, allocations: 0 / 0.5918 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.201, allocations: 0 / 0.5918 GB, free: 14.7 MB / 0.4981 GB 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.0003692/0.2014, allocations: 343.4 kB / 0.5921 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.2015, allocations: 12.03 kB / 0.5921 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002029/0.2017, allocations: 16.92 kB / 0.5921 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.807e-05/0.2018, allocations: 164.3 kB / 0.5923 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.2018, allocations: 4.359 kB / 0.5923 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.301e-05/0.2018, allocations: 8.375 kB / 0.5923 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.202, allocations: 72.38 kB / 0.5924 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.202, allocations: 0 / 0.5924 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.202, allocations: 4 kB / 0.5924 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.202, allocations: 7.938 kB / 0.5924 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.872e-05/0.2021, allocations: 8 kB / 0.5924 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005589/0.2026, allocations: 474.8 kB / 0.5929 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.2028, allocations: 75.72 kB / 0.5929 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.163e-05/0.2028, allocations: 26.72 kB / 0.593 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.2028, allocations: 0 / 0.593 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.2028, allocations: 34.56 kB / 0.593 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.2029, allocations: 4 kB / 0.593 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005724/0.2034, allocations: 298.2 kB / 0.5933 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.2035, allocations: 102.8 kB / 0.5934 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.417e-05/0.2036, allocations: 105.7 kB / 0.5935 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.2036, allocations: 25.7 kB / 0.5935 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.814e-05/0.2036, allocations: 96.28 kB / 0.5936 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.2037, allocations: 27.56 kB / 0.5936 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.518e-05/0.2037, allocations: 17.7 kB / 0.5936 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.529e-05/0.2038, allocations: 322.8 kB / 0.5939 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.5e-05/0.2038, allocations: 8 kB / 0.5939 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.329e-05/0.2039, allocations: 57.08 kB / 0.594 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.401e-05/0.204, allocations: 73.59 kB / 0.5941 GB, free: 12 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.204, allocations: 3.938 kB / 0.5941 GB, free: 12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001345/0.2041, allocations: 97.53 kB / 0.5942 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.2042, allocations: 12.12 kB / 0.5942 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.2042, allocations: 0 / 0.5942 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.2042, allocations: 4 kB / 0.5942 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.705e-05/0.2043, allocations: 23.92 kB / 0.5942 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.2043, allocations: 0 / 0.5942 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.624e-05/0.2043, allocations: 7.906 kB / 0.5942 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.2043, allocations: 4 kB / 0.5942 GB, free: 11.84 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 7.319e-05/0.2044, allocations: 117.8 kB / 0.5943 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.75e-05/0.2045, allocations: 7.938 kB / 0.5943 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.023e-05/0.2045, allocations: 11.56 kB / 0.5944 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.2045, allocations: 0 / 0.5944 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.2045, allocations: 4 kB / 0.5944 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.2045, allocations: 3.984 kB / 0.5944 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003165/0.2049, allocations: 177.6 kB / 0.5945 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.2049, allocations: 3.984 kB / 0.5945 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.782e-05/0.205, allocations: 16 kB / 0.5945 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.205, allocations: 64 / 0.5945 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.205, allocations: 4 kB / 0.5946 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.205, allocations: 4 kB / 0.5946 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.205, allocations: 0 / 0.5946 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.2052, allocations: 337.9 kB / 0.5949 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.531e-05/0.2053, allocations: 81.14 kB / 0.595 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.2053, allocations: 4 kB / 0.595 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/0.2055, allocations: 4 kB / 0.595 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.206e-05/0.2055, allocations: 8 kB / 0.595 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.2056, allocations: 11.92 kB / 0.595 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.397e-05/0.2056, allocations: 75.28 kB / 0.5951 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2056, allocations: 4 kB / 0.5951 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003147/0.2059, allocations: 12 kB / 0.5951 GB, free: 10.88 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.0001241/0.2061, allocations: 99.31 kB / 0.5952 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001147/0.2062, allocations: 51.98 kB / 0.5952 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.2062, allocations: 0 / 0.5952 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.822e-05/0.2062, allocations: 23.92 kB / 0.5952 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004317/0.2067, allocations: 11.66 kB / 0.5952 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006399/0.2073, allocations: 408.8 kB / 0.5956 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.2076, allocations: 0.6926 MB / 0.5963 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.169e-05/0.2076, allocations: 0 / 0.5963 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.378e-05/0.2077, allocations: 15.38 kB / 0.5963 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of SimCode: time 7.31e-07/0.2077, allocations: 4 kB / 0.5963 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of Templates: time 0.003036/0.2107, allocations: 0.608 MB / 0.5969 GB, free: 8.941 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)