Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadModel(Buildings): time 4.15/4.15, allocations: 433.4 MB / 440.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.538e-05/1.55e-05, allocations: 4 kB / 0.5325 GB, free: 1.969 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5582/0.5582, allocations: 98.72 MB / 0.6289 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.962/1.52, allocations: 361.4 MB / 0.9818 GB, free: 3.469 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002127/1.521, allocations: 71.47 kB / 0.9819 GB, free: 3.434 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03425/1.555, allocations: 11.42 MB / 0.993 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.322e-06/1.555, allocations: 0 / 0.993 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.378e-06/1.555, allocations: 0 / 0.993 GB, free: 10.66 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.0003491/1.555, allocations: 330.2 kB / 0.9933 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/1.555, allocations: 12.03 kB / 0.9934 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/1.555, allocations: 3.953 kB / 0.9934 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/1.556, allocations: 159.1 kB / 0.9935 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.442e-05/1.556, allocations: 33.7 kB / 0.9935 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.466e-06/1.556, allocations: 4 kB / 0.9935 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.271e-05/1.556, allocations: 15.61 kB / 0.9936 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.449e-05/1.556, allocations: 37.69 kB / 0.9936 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/1.556, allocations: 0 / 0.9936 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/1.556, allocations: 0 / 0.9936 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/1.556, allocations: 0 / 0.9936 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000448/1.556, allocations: 318.3 kB / 0.9939 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.88e-05/1.556, allocations: 26.61 kB / 0.9939 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.769e-05/1.556, allocations: 4.859 kB / 0.9939 GB, free: 9.586 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.937e-05/1.557, allocations: 88.98 kB / 0.994 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/1.557, allocations: 34.56 kB / 0.994 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.916e-06/1.557, allocations: 0 / 0.994 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0002053/1.557, allocations: 33.69 kB / 0.9941 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/1.557, allocations: 55.36 kB / 0.9941 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.497e-05/1.557, allocations: 96.97 kB / 0.9942 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/1.557, allocations: 25.7 kB / 0.9942 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.584e-05/1.557, allocations: 91.98 kB / 0.9943 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.636e-06/1.557, allocations: 3.906 kB / 0.9943 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-06/1.557, allocations: 0 / 0.9943 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001532/1.557, allocations: 314.8 kB / 0.9946 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.775e-05/1.557, allocations: 4 kB / 0.9946 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.857e-05/1.557, allocations: 13.34 kB / 0.9947 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.938e-05/1.557, allocations: 12 kB / 0.9947 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.303e-06/1.557, allocations: 0 / 0.9947 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001476/1.558, allocations: 49.56 kB / 0.9947 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/1.558, allocations: 10.19 kB / 0.9947 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.098e-06/1.558, allocations: 0 / 0.9947 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/1.558, allocations: 0 / 0.9947 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.119e-05/1.558, allocations: 11.92 kB / 0.9947 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.881e-06/1.558, allocations: 0 / 0.9947 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.804e-05/1.558, allocations: 12.02 kB / 0.9947 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/1.558, allocations: 0 / 0.9947 GB, free: 8.68 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 8.247e-05/1.558, allocations: 102.6 kB / 0.9948 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.392e-05/1.558, allocations: 4 kB / 0.9949 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001367/1.558, allocations: 125.5 kB / 0.995 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.214e-05/1.558, allocations: 180.2 kB / 0.9951 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.878e-05/1.558, allocations: 180.3 kB / 0.9953 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.825e-05/1.558, allocations: 180 kB / 0.9955 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/1.559, allocations: 392.7 kB / 0.9959 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.083e-05/1.559, allocations: 101.3 kB / 0.996 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.436e-05/1.559, allocations: 105 kB / 0.9961 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.302e-05/1.559, allocations: 188.2 kB / 0.9962 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.63e-05/1.559, allocations: 180.3 kB / 0.9964 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.954e-05/1.559, allocations: 180.1 kB / 0.9966 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.815e-05/1.559, allocations: 180.2 kB / 0.9968 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001897/1.559, allocations: 315.6 kB / 0.9971 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/1.56, allocations: 189.7 kB / 0.9972 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/1.56, allocations: 176.3 kB / 0.9974 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/1.56, allocations: 105 kB / 0.9975 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.877e-05/1.56, allocations: 184.2 kB / 0.9977 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.429e-05/1.56, allocations: 105 kB / 0.9978 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.321e-05/1.56, allocations: 86.91 kB / 0.9979 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.2e-07/1.56, allocations: 4 kB / 0.9979 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003231/1.56, allocations: 15.94 kB / 0.9979 GB, free: 5.289 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.0002714/1.561, allocations: 210.4 kB / 0.9981 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.343e-05/1.561, allocations: 11.94 kB / 0.9981 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.704e-06/1.561, allocations: 0 / 0.9981 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.391e-06/1.561, allocations: 0 / 0.9981 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004222/1.561, allocations: 0.5223 MB / 0.9986 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001898/1.561, allocations: 135.3 kB / 0.9987 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/1.562, allocations: 0.6768 MB / 0.9994 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.065e-05/1.562, allocations: 4 kB / 0.9994 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.24e-05/1.562, allocations: 7.438 kB / 0.9994 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of SimCode: time 1.291e-06/1.562, allocations: 0 / 0.9994 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of Templates: time 0.003318/1.565, allocations: 0.6603 MB / 1 GB, free: 3.016 MB / 0.7136 GB