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.01534/0.01534, allocations: 108.2 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.001833/0.001833, allocations: 184.4 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 2.24/2.24, allocations: 194.6 MB / 211.3 MB, free: 11.3 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.409/2.409, allocations: 236.2 MB / 492.6 MB, free: 11.42 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004572/0.0004574, allocations: 8 kB / 0.5869 GB, free: 2.25 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5395/0.54, allocations: 98.71 MB / 0.6833 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004103/0.5441, allocations: 3.35 MB / 0.6866 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0001962/0.5444, allocations: 139.6 kB / 0.6867 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.361e-05/0.5444, allocations: 0 / 0.6867 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 8.436e-05/0.5445, allocations: 0.6562 kB / 0.6867 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 3.668e-05/0.5445, allocations: 9.766 kB / 0.6867 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002718/0.5448, allocations: 57.02 kB / 0.6868 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 5.541e-05/0.5449, allocations: 17.11 kB / 0.6868 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.141e-05/0.5449, allocations: 2.172 kB / 0.6868 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 3.677e-05/0.545, allocations: 8.25 kB / 0.6868 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 4.921e-05/0.545, allocations: 16.94 kB / 0.6868 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.5451, allocations: 1.125 kB / 0.6868 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001671/0.5452, allocations: 30.66 kB / 0.6869 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.845e-05/0.5453, allocations: 6.359 kB / 0.6869 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 1.968e-05/0.5453, allocations: 28.89 kB / 0.6869 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.5454, allocations: 27.66 kB / 0.6869 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.588e-06/0.5455, allocations: 0 / 0.6869 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.187e-06/0.5455, allocations: 4.938 kB / 0.6869 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.5455, allocations: 0 / 0.6869 GB, free: 14.2 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000285/0.5458, allocations: 333.8 kB / 0.6872 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.5458, allocations: 9.297 kB / 0.6872 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.622e-05/0.5459, allocations: 1.406 kB / 0.6872 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.205e-05/0.5459, allocations: 160.4 kB / 0.6874 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.028e-05/0.546, allocations: 32.81 kB / 0.6874 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.546, allocations: 1.5 kB / 0.6874 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.5462, allocations: 39.25 kB / 0.6875 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.5462, allocations: 1.062 kB / 0.6875 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.5462, allocations: 11.95 kB / 0.6875 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.224e-05/0.5463, allocations: 2.016 kB / 0.6875 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.45e-05/0.5463, allocations: 19.69 kB / 0.6875 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003687/0.5467, allocations: 328.1 kB / 0.6878 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.436e-05/0.5468, allocations: 17.75 kB / 0.6878 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.034e-05/0.5468, allocations: 88.41 kB / 0.6879 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.5469, allocations: 39.33 kB / 0.688 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 2.121e-06/0.5469, allocations: 0 / 0.688 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001384/0.547, allocations: 48.67 kB / 0.688 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.944e-05/0.5471, allocations: 52.75 kB / 0.6881 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.025e-05/0.5471, allocations: 101.5 kB / 0.6881 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.5472, allocations: 25.7 kB / 0.6882 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.053e-05/0.5472, allocations: 90.83 kB / 0.6883 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.239e-06/0.5472, allocations: 1.156 kB / 0.6883 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.523e-06/0.5472, allocations: 4.125 kB / 0.6883 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.846e-05/0.5473, allocations: 312.1 kB / 0.6886 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.767e-05/0.5473, allocations: 5.797 kB / 0.6886 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.707e-05/0.5474, allocations: 16.72 kB / 0.6886 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.42e-05/0.5474, allocations: 4.5 kB / 0.6886 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.832e-06/0.5474, allocations: 3.609 kB / 0.6886 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.279e-05/0.5475, allocations: 50.73 kB / 0.6886 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.5475, allocations: 14.45 kB / 0.6887 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.319e-06/0.5476, allocations: 3.078 kB / 0.6887 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.5476, allocations: 0 / 0.6887 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.24e-05/0.5477, allocations: 5.094 kB / 0.6887 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.5477, allocations: 1.594 kB / 0.6887 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.415e-05/0.5477, allocations: 0 / 0.6887 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.5477, allocations: 4.297 kB / 0.6887 GB, free: 12.31 MB / 0.5261 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 5.563e-05/0.5478, allocations: 111.3 kB / 0.6888 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.028e-05/0.5478, allocations: 10.62 kB / 0.6888 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.645e-05/0.548, allocations: 125.5 kB / 0.6889 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.732e-05/0.548, allocations: 177 kB / 0.6891 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.99e-05/0.548, allocations: 182.4 kB / 0.6892 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-05/0.5481, allocations: 178.5 kB / 0.6894 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.5482, allocations: 411 kB / 0.6898 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.719e-05/0.5483, allocations: 103.1 kB / 0.6899 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.709e-05/0.5483, allocations: 101.7 kB / 0.69 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-05/0.5483, allocations: 182.2 kB / 0.6902 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-05/0.5484, allocations: 178.1 kB / 0.6903 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.024e-05/0.5484, allocations: 189.9 kB / 0.6905 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.678e-05/0.5484, allocations: 182.3 kB / 0.6907 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.785e-05/0.5485, allocations: 309.4 kB / 0.691 GB, free: 9.793 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.384e-05/0.5486, allocations: 182.7 kB / 0.6912 GB, free: 9.594 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.62e-05/0.5486, allocations: 182.6 kB / 0.6913 GB, free: 9.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.5488, allocations: 107.3 kB / 0.6914 GB, free: 9.301 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.405e-05/0.5488, allocations: 185.7 kB / 0.6916 GB, free: 9.113 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.5489, allocations: 102.8 kB / 0.6917 GB, free: 9.008 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.204e-05/0.5489, allocations: 86.41 kB / 0.6918 GB, free: 8.93 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.81e-07/0.5489, allocations: 0 / 0.6918 GB, free: 8.93 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003248/0.5493, allocations: 16.39 kB / 0.6918 GB, free: 8.926 MB / 0.5261 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.0001456/0.5494, allocations: 193.1 kB / 0.692 GB, free: 8.758 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.977e-05/0.5495, allocations: 15.33 kB / 0.692 GB, free: 8.75 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.869e-06/0.5495, allocations: 1.125 kB / 0.692 GB, free: 8.75 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.916e-06/0.5495, allocations: 0 / 0.692 GB, free: 8.75 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.5498, allocations: 0.5188 MB / 0.6925 GB, free: 8.23 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002161/0.5501, allocations: 196.3 kB / 0.6927 GB, free: 8.043 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.5502, allocations: 0.6758 MB / 0.6934 GB, free: 7.348 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.763e-05/0.5503, allocations: 4.766 kB / 0.6934 GB, free: 7.348 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.169e-05/0.5503, allocations: 10.25 kB / 0.6934 GB, free: 7.34 MB / 0.5261 GB Notification: Performance of SimCode: time 1.365e-06/0.5503, allocations: 0 / 0.6934 GB, free: 7.34 MB / 0.5261 GB Notification: Performance of Templates: time 0.002981/0.5533, allocations: 0.5143 MB / 0.6939 GB, free: 7.242 MB / 0.5261 GB