Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004278/0.004284, allocations: 231.2 kB / 15.82 MB, free: 6.301 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.001192/0.001192, allocations: 175.3 kB / 16.7 MB, free: 5.457 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 3.97/3.97, allocations: 389 MB / 406.5 MB, free: 11.81 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.089/4.089, allocations: 472.3 MB / 0.9024 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004729/0.0004731, allocations: 15.98 kB / 1.008 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1769, allocations: 98.71 MB / 1.105 GB, free: 41.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.117/1.294, allocations: 362.1 MB / 1.458 GB, free: 9.82 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/1.294, allocations: 81.11 kB / 1.458 GB, free: 9.777 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04523/1.339, allocations: 11.47 MB / 1.47 GB, free: 1.098 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.204e-06/1.34, allocations: 0 / 1.47 GB, free: 1.098 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.104e-06/1.34, allocations: 0 / 1.47 GB, free: 1.098 MB / 0.823 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.0004049/1.34, allocations: 329.7 kB / 1.47 GB, free: 0.7344 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/1.34, allocations: 12.03 kB / 1.47 GB, free: 0.7227 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/1.34, allocations: 0 / 1.47 GB, free: 0.7227 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/1.34, allocations: 166.3 kB / 1.47 GB, free: 0.5234 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.849e-05/1.34, allocations: 33.64 kB / 1.47 GB, free: 496 kB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/1.34, allocations: 0 / 1.47 GB, free: 496 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/1.341, allocations: 50.23 kB / 1.47 GB, free: 444 kB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/1.341, allocations: 3.5 kB / 1.47 GB, free: 444 kB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/1.341, allocations: 0 / 1.47 GB, free: 444 kB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.171e-05/1.341, allocations: 4 kB / 1.47 GB, free: 440 kB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.674e-05/1.341, allocations: 11.92 kB / 1.47 GB, free: 432 kB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004936/1.341, allocations: 333.6 kB / 1.47 GB, free: 40 kB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.077e-05/1.341, allocations: 22.34 kB / 1.47 GB, free: 12 kB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.036e-05/1.341, allocations: 11.45 kB / 1.47 GB, free: 0 / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5687/1.91, allocations: 80.38 kB / 1.471 GB, free: 286.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/1.91, allocations: 32.22 kB / 1.471 GB, free: 286.7 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 3.516e-06/1.91, allocations: 0 / 1.471 GB, free: 286.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0002128/1.91, allocations: 41.61 kB / 1.471 GB, free: 286.7 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/1.91, allocations: 53.14 kB / 1.471 GB, free: 286.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.87e-05/1.91, allocations: 101.6 kB / 1.471 GB, free: 286.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/1.91, allocations: 26.64 kB / 1.471 GB, free: 286.5 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.13e-05/1.91, allocations: 86.36 kB / 1.471 GB, free: 286.4 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 7.163e-06/1.911, allocations: 1.75 kB / 1.471 GB, free: 286.4 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-06/1.911, allocations: 1.344 kB / 1.471 GB, free: 286.4 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.448e-05/1.911, allocations: 317.6 kB / 1.471 GB, free: 286.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.184e-05/1.911, allocations: 4.094 kB / 1.471 GB, free: 286.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.878e-05/1.911, allocations: 19.7 kB / 1.471 GB, free: 286.1 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.261e-05/1.911, allocations: 10.44 kB / 1.471 GB, free: 286.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/1.911, allocations: 0 / 1.471 GB, free: 286.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001062/1.911, allocations: 51.28 kB / 1.471 GB, free: 286.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/1.911, allocations: 5.062 kB / 1.471 GB, free: 286.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/1.911, allocations: 1.031 kB / 1.471 GB, free: 286.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/1.911, allocations: 1.812 kB / 1.471 GB, free: 286.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.94e-05/1.911, allocations: 6.031 kB / 1.471 GB, free: 286.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/1.911, allocations: 2.203 kB / 1.471 GB, free: 286.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.375e-05/1.911, allocations: 8.406 kB / 1.471 GB, free: 286.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/1.911, allocations: 5.516 kB / 1.471 GB, free: 286.1 MB / 0.823 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 () * Number of clocked 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 7.006e-05/1.911, allocations: 109.8 kB / 1.471 GB, free: 285.9 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.411e-05/1.911, allocations: 6.062 kB / 1.471 GB, free: 285.9 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001285/1.911, allocations: 119.7 kB / 1.472 GB, free: 285.8 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.853e-05/1.911, allocations: 180 kB / 1.472 GB, free: 285.6 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-05/1.911, allocations: 190.2 kB / 1.472 GB, free: 285.5 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.335e-05/1.912, allocations: 179.3 kB / 1.472 GB, free: 285.3 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/1.912, allocations: 405.7 kB / 1.472 GB, free: 284.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-05/1.912, allocations: 102.2 kB / 1.473 GB, free: 284.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.322e-05/1.912, allocations: 104.2 kB / 1.473 GB, free: 284.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.141e-05/1.912, allocations: 183.9 kB / 1.473 GB, free: 284.5 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.101e-05/1.912, allocations: 183.6 kB / 1.473 GB, free: 284.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.861e-05/1.912, allocations: 179.2 kB / 1.473 GB, free: 284.1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-05/1.912, allocations: 180.8 kB / 1.473 GB, free: 283.9 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001068/1.912, allocations: 311.7 kB / 1.474 GB, free: 283.6 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.212e-05/1.912, allocations: 182.6 kB / 1.474 GB, free: 283.4 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.39e-05/1.912, allocations: 188.8 kB / 1.474 GB, free: 283.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/1.912, allocations: 107.3 kB / 1.474 GB, free: 283.1 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.335e-05/1.913, allocations: 182.5 kB / 1.474 GB, free: 282.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/1.913, allocations: 105.3 kB / 1.474 GB, free: 282.8 MB / 0.823 GB Notification: Performance of sorting global known variables: time 6.22e-05/1.913, allocations: 86.3 kB / 1.474 GB, free: 282.8 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.01e-07/1.913, allocations: 2.844 kB / 1.474 GB, free: 282.8 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003717/1.913, allocations: 18.02 kB / 1.474 GB, free: 282.8 MB / 0.823 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 () * Number of clocked 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.000284/1.913, allocations: 204.5 kB / 1.475 GB, free: 282.6 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 9.32e-05/1.913, allocations: 11.67 kB / 1.475 GB, free: 282.6 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.227e-06/1.913, allocations: 1.5 kB / 1.475 GB, free: 282.6 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 5.3e-06/1.913, allocations: 1.312 kB / 1.475 GB, free: 282.6 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/1.914, allocations: 0.5259 MB / 1.475 GB, free: 282.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003172/1.914, allocations: 194.5 kB / 1.475 GB, free: 281.9 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001598/1.914, allocations: 0.679 MB / 1.476 GB, free: 281.2 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 6.66e-05/1.914, allocations: 5.672 kB / 1.476 GB, free: 281.2 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.672e-05/1.914, allocations: 9.094 kB / 1.476 GB, free: 281.2 MB / 0.823 GB Notification: Performance of SimCode: time 9.82e-07/1.915, allocations: 0 / 1.476 GB, free: 281.2 MB / 0.823 GB Notification: Performance of Templates: time 0.004817/1.919, allocations: 0.7853 MB / 1.477 GB, free: 281.2 MB / 0.823 GB