Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001172/0.001173, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001155/0.001155, allocations: 193.2 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.529/1.529, allocations: 205.1 MB / 222.1 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.712/1.712, allocations: 292.2 MB / 0.5485 GB, free: 13.67 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 69.81 kB / 0.671 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2988, allocations: 114.5 MB / 0.7828 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002811/0.3016, allocations: 1.329 MB / 0.7841 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002926/0.3046, allocations: 2.482 MB / 0.7866 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.835e-05/0.3047, allocations: 4 kB / 0.7866 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.271e-05/0.3047, allocations: 3.938 kB / 0.7866 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.187e-05/0.3048, allocations: 7.922 kB / 0.7866 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005603/0.3053, allocations: 119.5 kB / 0.7867 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.486e-05/0.3054, allocations: 35.92 kB / 0.7867 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.76e-05/0.3055, allocations: 3.984 kB / 0.7867 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.691e-05/0.3055, allocations: 19.94 kB / 0.7868 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.307e-05/0.3056, allocations: 19.91 kB / 0.7868 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.3056, allocations: 4 kB / 0.7868 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002874/0.3059, allocations: 119.8 kB / 0.7869 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.769e-05/0.3059, allocations: 8 kB / 0.7869 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.221e-05/0.306, allocations: 19.92 kB / 0.7869 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.3062, allocations: 87.98 kB / 0.787 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3062, allocations: 0 / 0.787 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3062, allocations: 0 / 0.787 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.3062, allocations: 0 / 0.787 GB, free: 9.668 MB / 0.6075 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.0004309/0.3067, allocations: 359.4 kB / 0.7873 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.3067, allocations: 8.031 kB / 0.7874 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002165/0.3069, allocations: 16.84 kB / 0.7874 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.307, allocations: 160.4 kB / 0.7875 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.3071, allocations: 4.359 kB / 0.7875 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.3071, allocations: 8.375 kB / 0.7875 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.3072, allocations: 76.33 kB / 0.7876 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.3073, allocations: 4 kB / 0.7876 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.3073, allocations: 4 kB / 0.7876 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.3073, allocations: 0 / 0.7876 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.085e-05/0.3073, allocations: 11.98 kB / 0.7876 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005959/0.3079, allocations: 466.8 kB / 0.7881 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.3081, allocations: 75.66 kB / 0.7881 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.226e-05/0.3081, allocations: 26.7 kB / 0.7882 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.3081, allocations: 0 / 0.7882 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.3082, allocations: 38.56 kB / 0.7882 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.3082, allocations: 0 / 0.7882 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0006062/0.3088, allocations: 302.2 kB / 0.7885 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/0.3088, allocations: 110.8 kB / 0.7886 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.848e-05/0.3089, allocations: 101.8 kB / 0.7887 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.3089, allocations: 25.95 kB / 0.7887 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.464e-05/0.309, allocations: 92.05 kB / 0.7888 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/0.309, allocations: 31.55 kB / 0.7888 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.575e-05/0.3091, allocations: 21.72 kB / 0.7889 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.3092, allocations: 322.8 kB / 0.7892 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.524e-05/0.3092, allocations: 12 kB / 0.7892 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.775e-05/0.3093, allocations: 53.08 kB / 0.7892 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.227e-05/0.3093, allocations: 85.52 kB / 0.7893 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3094, allocations: 3.938 kB / 0.7893 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001198/0.3095, allocations: 93.66 kB / 0.7894 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.3095, allocations: 7.984 kB / 0.7894 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.3095, allocations: 4 kB / 0.7894 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.3095, allocations: 3.938 kB / 0.7894 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.255e-05/0.3096, allocations: 20 kB / 0.7894 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.3096, allocations: 0 / 0.7894 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.861e-05/0.3097, allocations: 7.906 kB / 0.7894 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.3097, allocations: 4 kB / 0.7895 GB, free: 6.797 MB / 0.6075 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.823e-05/0.3098, allocations: 122.4 kB / 0.7896 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.465e-05/0.3098, allocations: 8.031 kB / 0.7896 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.438e-05/0.3099, allocations: 15.56 kB / 0.7896 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3099, allocations: 0 / 0.7896 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3099, allocations: 0 / 0.7896 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3099, allocations: 0 / 0.7896 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003558/0.3102, allocations: 181.6 kB / 0.7898 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.3103, allocations: 0 / 0.7898 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.037e-05/0.3103, allocations: 15.98 kB / 0.7898 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.3104, allocations: 4 kB / 0.7898 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.3104, allocations: 0 / 0.7898 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3104, allocations: 4.062 kB / 0.7898 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.3104, allocations: 4 kB / 0.7898 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002971/0.3107, allocations: 333.9 kB / 0.7901 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.997e-05/0.3107, allocations: 81.11 kB / 0.7902 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.3108, allocations: 0 / 0.7902 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.3109, allocations: 12.03 kB / 0.7902 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.587e-05/0.311, allocations: 8 kB / 0.7902 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.311, allocations: 3.938 kB / 0.7902 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.481e-05/0.311, allocations: 79.28 kB / 0.7903 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.41e-07/0.311, allocations: 0 / 0.7903 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003068/0.3113, allocations: 16 kB / 0.7903 GB, free: 5.828 MB / 0.6075 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.0001407/0.3115, allocations: 107.2 kB / 0.7904 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001285/0.3116, allocations: 55.91 kB / 0.7905 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3116, allocations: 0 / 0.7905 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.658e-05/0.3117, allocations: 19.92 kB / 0.7905 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004449/0.3121, allocations: 11.05 kB / 0.7905 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006163/0.3127, allocations: 356.5 kB / 0.7908 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.313, allocations: 0.6846 MB / 0.7915 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.553e-05/0.3131, allocations: 7.938 kB / 0.7915 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.392e-05/0.3131, allocations: 15.44 kB / 0.7915 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.3131, allocations: 0 / 0.7915 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of Templates: time 0.002834/0.316, allocations: 0.6402 MB / 0.7921 GB, free: 3.914 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)