Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadModel(Buildings): time 3.88/3.88, allocations: 433.3 MB / 440.9 MB, free: 10.36 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.664e-05/1.669e-05, allocations: 0 / 0.5325 GB, free: 1.859 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4999/0.4999, allocations: 98.71 MB / 0.6289 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8564/1.356, allocations: 328.8 MB / 0.95 GB, free: 3.195 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/1.357, allocations: 74.77 kB / 0.95 GB, free: 3.156 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.02354/1.38, allocations: 7.595 MB / 0.9575 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.882e-06/1.38, allocations: 0 / 0.9575 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.899e-06/1.38, allocations: 3.5 kB / 0.9575 GB, free: 13.07 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003926/1.381, allocations: 342.4 kB / 0.9578 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/1.381, allocations: 12.02 kB / 0.9578 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.902e-05/1.381, allocations: 0 / 0.9578 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/1.381, allocations: 171 kB / 0.958 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.362e-05/1.381, allocations: 29.52 kB / 0.958 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/1.381, allocations: 0 / 0.958 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.502e-05/1.381, allocations: 11.98 kB / 0.958 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.162e-05/1.381, allocations: 45.31 kB / 0.958 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/1.381, allocations: 7.938 kB / 0.958 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/1.381, allocations: 0 / 0.958 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.932e-05/1.381, allocations: 4 kB / 0.958 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007512/1.382, allocations: 0.5753 MB / 0.9586 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.471e-05/1.382, allocations: 22.56 kB / 0.9586 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.85e-05/1.382, allocations: 4.859 kB / 0.9586 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003587/1.383, allocations: 363.3 kB / 0.959 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/1.383, allocations: 38 kB / 0.959 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 2.47e-06/1.383, allocations: 4 kB / 0.959 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0002642/1.383, allocations: 41.62 kB / 0.9591 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/1.383, allocations: 51.41 kB / 0.9591 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.272e-05/1.383, allocations: 94.44 kB / 0.9592 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/1.383, allocations: 25.7 kB / 0.9592 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.807e-05/1.383, allocations: 88.05 kB / 0.9593 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/1.383, allocations: 7.891 kB / 0.9593 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.498e-06/1.383, allocations: 0 / 0.9593 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001574/1.383, allocations: 318.8 kB / 0.9596 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.712e-05/1.383, allocations: 7.562 kB / 0.9596 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.412e-05/1.383, allocations: 13.72 kB / 0.9596 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/1.384, allocations: 15.98 kB / 0.9597 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.47e-06/1.384, allocations: 0 / 0.9597 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002617/1.384, allocations: 61.48 kB / 0.9597 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/1.384, allocations: 8.062 kB / 0.9597 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.523e-06/1.384, allocations: 4 kB / 0.9597 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/1.384, allocations: 0 / 0.9597 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.52e-05/1.384, allocations: 7.984 kB / 0.9597 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.584e-06/1.384, allocations: 7.938 kB / 0.9597 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.598e-05/1.384, allocations: 0 / 0.9597 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/1.384, allocations: 0 / 0.9597 GB, free: 10.41 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 8.956e-05/1.384, allocations: 108.9 kB / 0.9598 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-05/1.384, allocations: 0 / 0.9598 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001472/1.384, allocations: 133.2 kB / 0.96 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.423e-05/1.385, allocations: 176.3 kB / 0.9601 GB, free: 9.984 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.665e-05/1.385, allocations: 176.3 kB / 0.9603 GB, free: 9.805 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.616e-05/1.385, allocations: 180.2 kB / 0.9605 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002889/1.385, allocations: 391.8 kB / 0.9609 GB, free: 9.199 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.433e-05/1.385, allocations: 112.9 kB / 0.961 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.247e-05/1.385, allocations: 104.9 kB / 0.9611 GB, free: 8.973 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.641e-05/1.385, allocations: 180.3 kB / 0.9612 GB, free: 8.789 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.132e-05/1.385, allocations: 180.2 kB / 0.9614 GB, free: 8.605 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.734e-05/1.385, allocations: 180.2 kB / 0.9616 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.778e-05/1.386, allocations: 179.8 kB / 0.9618 GB, free: 8.242 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000182/1.386, allocations: 315.6 kB / 0.9621 GB, free: 7.91 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/1.386, allocations: 185.8 kB / 0.9622 GB, free: 7.707 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/1.386, allocations: 176.3 kB / 0.9624 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/1.386, allocations: 112.9 kB / 0.9625 GB, free: 7.41 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.19e-05/1.386, allocations: 180.3 kB / 0.9627 GB, free: 7.227 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.138e-05/1.386, allocations: 101 kB / 0.9628 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.404e-05/1.386, allocations: 82.78 kB / 0.9629 GB, free: 7.043 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.518e-06/1.386, allocations: 0 / 0.9629 GB, free: 7.043 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003855/1.387, allocations: 43.86 kB / 0.9629 GB, free: 7 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0003098/1.387, allocations: 234.8 kB / 0.9631 GB, free: 6.758 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.363e-05/1.387, allocations: 7.5 kB / 0.9631 GB, free: 6.754 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.008e-06/1.387, allocations: 0 / 0.9631 GB, free: 6.754 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.932e-06/1.387, allocations: 4 kB / 0.9631 GB, free: 6.75 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/1.388, allocations: 0.5225 MB / 0.9636 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001959/1.388, allocations: 130.4 kB / 0.9638 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/1.388, allocations: 0.6729 MB / 0.9644 GB, free: 5.375 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.489e-05/1.388, allocations: 11.98 kB / 0.9644 GB, free: 5.363 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.193e-05/1.388, allocations: 11.44 kB / 0.9644 GB, free: 5.352 MB / 0.6823 GB Notification: Performance of SimCode: time 1.437e-06/1.388, allocations: 0 / 0.9644 GB, free: 5.352 MB / 0.6823 GB Notification: Performance of Templates: time 0.004139/1.393, allocations: 1.024 MB / 0.9654 GB, free: 4.34 MB / 0.6823 GB