Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01542/0.01542, allocations: 108.5 kB / 15.06 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001836/0.001835, allocations: 180.2 kB / 15.95 MB, free: 5.523 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.929/1.929, allocations: 194.6 MB / 211.3 MB, free: 11.32 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.36/2.36, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004548/0.0004549, allocations: 12 kB / 0.5869 GB, free: 2.184 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.535/0.5355, allocations: 98.71 MB / 0.6833 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001322/0.5368, allocations: 0.9629 MB / 0.6843 GB, free: 16.05 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002729/0.5396, allocations: 1.863 MB / 0.6861 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.846e-05/0.5397, allocations: 0 / 0.6861 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.75e-05/0.5397, allocations: 0.7969 kB / 0.6861 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 4.191e-05/0.5398, allocations: 6.141 kB / 0.6861 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005147/0.5403, allocations: 117.7 kB / 0.6862 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 6.063e-05/0.5404, allocations: 25.72 kB / 0.6862 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.22e-05/0.5404, allocations: 2.047 kB / 0.6862 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 4.64e-05/0.5405, allocations: 15.98 kB / 0.6863 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 6.05e-05/0.5405, allocations: 18.25 kB / 0.6863 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.5406, allocations: 1.5 kB / 0.6863 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003433/0.5409, allocations: 108.9 kB / 0.6864 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.542e-05/0.541, allocations: 7.859 kB / 0.6864 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.43e-05/0.541, allocations: 33.58 kB / 0.6864 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.5412, allocations: 45.14 kB / 0.6865 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.5412, allocations: 4 kB / 0.6865 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.051e-06/0.5412, allocations: 1.344 kB / 0.6865 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.901e-06/0.5412, allocations: 0 / 0.6865 GB, free: 14.55 MB / 0.5261 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.0003049/0.5415, allocations: 344.8 kB / 0.6868 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.5416, allocations: 10.48 kB / 0.6868 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002581/0.5418, allocations: 10.47 kB / 0.6868 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.731e-05/0.5419, allocations: 165.3 kB / 0.687 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.5419, allocations: 5.719 kB / 0.687 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.74e-05/0.542, allocations: 12.31 kB / 0.687 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.5421, allocations: 66.45 kB / 0.6871 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.835e-06/0.5422, allocations: 1.953 kB / 0.6871 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.5422, allocations: 0.7812 kB / 0.6871 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.5422, allocations: 4.953 kB / 0.6871 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.751e-05/0.5423, allocations: 16.73 kB / 0.6871 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005522/0.5428, allocations: 466.7 kB / 0.6875 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.543, allocations: 78.94 kB / 0.6876 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.543, allocations: 5.156 kB / 0.6876 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.543, allocations: 37.58 kB / 0.6876 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=5): time 2.579e-06/0.5431, allocations: 3.938 kB / 0.6876 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.000648/0.5437, allocations: 304.3 kB / 0.6879 GB, free: 13 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.5438, allocations: 109.1 kB / 0.688 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.94e-05/0.5438, allocations: 95.84 kB / 0.6881 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.5439, allocations: 31.17 kB / 0.6882 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.815e-05/0.5439, allocations: 85.89 kB / 0.6882 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.5439, allocations: 25.75 kB / 0.6883 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.426e-06/0.5439, allocations: 4 kB / 0.6883 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.055e-05/0.544, allocations: 313.8 kB / 0.6886 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.997e-05/0.5441, allocations: 13.41 kB / 0.6886 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.263e-05/0.5441, allocations: 55.58 kB / 0.6886 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.124e-05/0.5442, allocations: 21 kB / 0.6887 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.077e-06/0.5443, allocations: 0 / 0.6887 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001862/0.5444, allocations: 97.38 kB / 0.6888 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.5445, allocations: 10.83 kB / 0.6888 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.008e-06/0.5445, allocations: 1.469 kB / 0.6888 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.5445, allocations: 2.906 kB / 0.6888 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.5446, allocations: 26.31 kB / 0.6888 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.008e-06/0.5447, allocations: 3.328 kB / 0.6888 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.234e-05/0.5447, allocations: 1.625 kB / 0.6888 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.5447, allocations: 4.156 kB / 0.6888 GB, free: 12.18 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.729e-05/0.5448, allocations: 118 kB / 0.6889 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.251e-05/0.5449, allocations: 19.2 kB / 0.6889 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.217e-05/0.545, allocations: 9.516 kB / 0.6889 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.692e-06/0.545, allocations: 2.562 kB / 0.6889 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.525e-06/0.545, allocations: 1.062 kB / 0.6889 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.545, allocations: 1.797 kB / 0.6889 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004022/0.5454, allocations: 176.6 kB / 0.6891 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.633e-06/0.5454, allocations: 1.094 kB / 0.6891 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.5456, allocations: 17.41 kB / 0.6891 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.402e-06/0.5456, allocations: 6.156 kB / 0.6891 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/0.5456, allocations: 5.109 kB / 0.6891 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-06/0.5456, allocations: 1.156 kB / 0.6891 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.5456, allocations: 5.125 kB / 0.6891 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.5459, allocations: 354.4 kB / 0.6895 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.114e-05/0.546, allocations: 90.48 kB / 0.6896 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.546, allocations: 2.797 kB / 0.6896 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.5462, allocations: 12.22 kB / 0.6896 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.055e-05/0.5463, allocations: 4 kB / 0.6896 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.5463, allocations: 3.109 kB / 0.6896 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.002e-05/0.5463, allocations: 79.02 kB / 0.6897 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.02e-07/0.5463, allocations: 0 / 0.6897 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004537/0.5468, allocations: 14.94 kB / 0.6897 GB, free: 11.3 MB / 0.5261 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 (linear and non-linear blocks): 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.547, allocations: 112 kB / 0.6898 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000157/0.5471, allocations: 38.78 kB / 0.6898 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.783e-06/0.5471, allocations: 1.062 kB / 0.6898 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.317e-05/0.5472, allocations: 21.66 kB / 0.6898 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.5476, allocations: 12.72 kB / 0.6899 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007756/0.5484, allocations: 396.5 kB / 0.6902 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000143/0.5485, allocations: 0.6863 MB / 0.6909 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 8.901e-05/0.5486, allocations: 13.06 kB / 0.6909 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.54e-05/0.5487, allocations: 11.25 kB / 0.6909 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of SimCode: time 1.696e-06/0.5487, allocations: 0 / 0.6909 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of Templates: time 0.003393/0.5521, allocations: 0.5871 MB / 0.6915 GB, free: 10.07 MB / 0.5261 GB