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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.937/3.937, allocations: 432.7 MB / 445.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.836e-05/4.856e-05, allocations: 7.375 kB / 0.5383 GB, free: 10.24 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.2076, allocations: 98.73 MB / 0.6347 GB, free: 1.914 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.074/1.281, allocations: 329.4 MB / 0.9564 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/1.282, allocations: 75.89 kB / 0.9565 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02735/1.309, allocations: 7.633 MB / 0.9639 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.997e-06/1.309, allocations: 4 kB / 0.964 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.925e-06/1.309, allocations: 0 / 0.964 GB, free: 9.578 MB / 0.7136 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.0004033/1.31, allocations: 338.4 kB / 0.9643 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/1.31, allocations: 11.97 kB / 0.9643 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.309e-05/1.31, allocations: 4 kB / 0.9643 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/1.31, allocations: 174.7 kB / 0.9645 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.493e-05/1.31, allocations: 25.7 kB / 0.9645 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/1.31, allocations: 4 kB / 0.9645 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/1.31, allocations: 41.67 kB / 0.9645 GB, free: 8.898 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.808e-06/1.31, allocations: 0 / 0.9645 GB, free: 8.898 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/1.31, allocations: 0 / 0.9645 GB, free: 8.898 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/1.31, allocations: 0 / 0.9645 GB, free: 8.898 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.667e-05/1.31, allocations: 15.55 kB / 0.9645 GB, free: 8.887 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008526/1.311, allocations: 0.6081 MB / 0.9651 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.045e-05/1.311, allocations: 22.08 kB / 0.9652 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.097e-05/1.311, allocations: 4.859 kB / 0.9652 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000389/1.312, allocations: 363.8 kB / 0.9655 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/1.312, allocations: 34.56 kB / 0.9655 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 2.633e-06/1.312, allocations: 4 kB / 0.9655 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001583/1.312, allocations: 33.64 kB / 0.9656 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/1.312, allocations: 59.3 kB / 0.9656 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/1.312, allocations: 96.55 kB / 0.9657 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/1.312, allocations: 25.7 kB / 0.9657 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.953e-05/1.312, allocations: 84.05 kB / 0.9658 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.985e-06/1.312, allocations: 7.906 kB / 0.9658 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-06/1.312, allocations: 0 / 0.9658 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001606/1.312, allocations: 318.8 kB / 0.9661 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.386e-05/1.312, allocations: 7.984 kB / 0.9661 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.476e-05/1.312, allocations: 13.72 kB / 0.9662 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.713e-05/1.313, allocations: 4 kB / 0.9662 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.471e-06/1.313, allocations: 0 / 0.9662 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001222/1.313, allocations: 49.12 kB / 0.9662 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/1.313, allocations: 4.062 kB / 0.9662 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.714e-06/1.313, allocations: 8 kB / 0.9662 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/1.313, allocations: 0 / 0.9662 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.909e-05/1.313, allocations: 4 kB / 0.9662 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.106e-06/1.313, allocations: 0 / 0.9662 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.892e-05/1.313, allocations: 3.953 kB / 0.9662 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/1.313, allocations: 7.984 kB / 0.9662 GB, free: 6.906 MB / 0.7136 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 9.47e-05/1.313, allocations: 107.1 kB / 0.9663 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.216e-05/1.313, allocations: 4 kB / 0.9663 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001522/1.313, allocations: 124.8 kB / 0.9665 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.69e-05/1.313, allocations: 180.3 kB / 0.9666 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.383e-05/1.313, allocations: 184.2 kB / 0.9668 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.371e-05/1.314, allocations: 180.2 kB / 0.967 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003282/1.314, allocations: 409.1 kB / 0.9674 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.604e-05/1.314, allocations: 105 kB / 0.9675 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.496e-05/1.314, allocations: 104.8 kB / 0.9676 GB, free: 5.445 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.464e-05/1.314, allocations: 180.3 kB / 0.9677 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.581e-05/1.314, allocations: 184.3 kB / 0.9679 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.356e-05/1.314, allocations: 184.2 kB / 0.9681 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.332e-05/1.314, allocations: 176.3 kB / 0.9683 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002046/1.315, allocations: 315.4 kB / 0.9686 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/1.315, allocations: 187.8 kB / 0.9687 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/1.315, allocations: 184.1 kB / 0.9689 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/1.315, allocations: 109 kB / 0.969 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.86e-05/1.315, allocations: 184.5 kB / 0.9692 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.696e-05/1.315, allocations: 104.9 kB / 0.9693 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.69e-05/1.315, allocations: 83.27 kB / 0.9694 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.02e-07/1.315, allocations: 0 / 0.9694 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003997/1.316, allocations: 39.75 kB / 0.9694 GB, free: 3.461 MB / 0.7136 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.0003577/1.316, allocations: 230.4 kB / 0.9696 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.875e-05/1.316, allocations: 14.75 kB / 0.9697 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.989e-06/1.316, allocations: 0 / 0.9697 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.401e-06/1.316, allocations: 3.984 kB / 0.9697 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004629/1.317, allocations: 0.5285 MB / 0.9702 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002091/1.317, allocations: 128.1 kB / 0.9703 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/1.317, allocations: 0.677 MB / 0.971 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.179e-05/1.317, allocations: 8 kB / 0.971 GB, free: 1.824 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.963e-05/1.318, allocations: 15.42 kB / 0.971 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of SimCode: time 1.594e-06/1.318, allocations: 0 / 0.971 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of Templates: time 0.004514/1.322, allocations: 1.089 MB / 0.972 GB, free: 0.7266 MB / 0.7136 GB