Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Media.Examples.WaterProperties.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.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Media.Examples.WaterProperties") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0151/0.01511, allocations: 108.5 kB / 15.06 MB, free: 6.039 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.001821/0.001821, allocations: 180.4 kB / 15.95 MB, free: 5.957 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.091/2.091, allocations: 194.6 MB / 211.3 MB, free: 11.02 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.646/2.646, allocations: 236.1 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004624/0.0004627, allocations: 8 kB / 0.5869 GB, free: 2.191 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5721/0.5726, allocations: 98.72 MB / 0.6833 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.004888/0.5775, allocations: 3.879 MB / 0.6871 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.00291/0.5804, allocations: 2.145 MB / 0.6892 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001742/0.5807, allocations: 4 kB / 0.6892 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0002827/0.581, allocations: 34.27 kB / 0.6892 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002798/0.5813, allocations: 82.28 kB / 0.6893 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001414/0.5827, allocations: 375 kB / 0.6897 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002673/0.583, allocations: 147.3 kB / 0.6898 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 6.02e-05/0.583, allocations: 18.25 kB / 0.6898 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000229/0.5833, allocations: 103.3 kB / 0.6899 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.5834, allocations: 68.64 kB / 0.69 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.612e-05/0.5835, allocations: 6.344 kB / 0.69 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009473/0.5844, allocations: 276 kB / 0.6903 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 6.469e-05/0.5845, allocations: 31.53 kB / 0.6903 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 5.478e-05/0.5846, allocations: 54.09 kB / 0.6903 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0004743/0.585, allocations: 208.8 kB / 0.6905 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.233e-06/0.5851, allocations: 1.031 kB / 0.6905 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.035e-06/0.5851, allocations: 0 / 0.6905 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.444e-06/0.5851, allocations: 0 / 0.6905 GB, free: 11.81 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006535/0.5858, allocations: 469.5 kB / 0.691 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.5858, allocations: 8.719 kB / 0.691 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001882/0.586, allocations: 22.88 kB / 0.691 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.5862, allocations: 204.7 kB / 0.6912 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.5863, allocations: 11.61 kB / 0.6912 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.709e-05/0.5863, allocations: 21.47 kB / 0.6913 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004182/0.5867, allocations: 240.9 kB / 0.6915 GB, free: 11 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.5867, allocations: 0 / 0.6915 GB, free: 11 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.071e-05/0.5868, allocations: 11.59 kB / 0.6915 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.22e-05/0.5868, allocations: 14.97 kB / 0.6915 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006556/0.5875, allocations: 427.4 kB / 0.6919 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.5886, allocations: 1.029 MB / 0.6929 GB, free: 9.973 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004179/0.5891, allocations: 162.3 kB / 0.6931 GB, free: 9.918 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00126/0.5904, allocations: 1.839 MB / 0.6949 GB, free: 7.875 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.5904, allocations: 40 kB / 0.6949 GB, free: 7.828 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 4.108e-06/0.5904, allocations: 1.062 kB / 0.6949 GB, free: 7.828 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15): time 0.0004281/0.5909, allocations: 138.5 kB / 0.695 GB, free: 7.766 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.5909, allocations: 54.09 kB / 0.6951 GB, free: 7.703 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.5911, allocations: 168.1 kB / 0.6953 GB, free: 7.574 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.5911, allocations: 32.05 kB / 0.6953 GB, free: 7.539 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.295e-05/0.5912, allocations: 137.5 kB / 0.6954 GB, free: 7.414 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.248e-05/0.5913, allocations: 50.48 kB / 0.6955 GB, free: 7.375 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.145e-05/0.5913, allocations: 5.281 kB / 0.6955 GB, free: 7.371 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.266e-05/0.5914, allocations: 330.5 kB / 0.6958 GB, free: 7.047 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.57e-05/0.5915, allocations: 34.75 kB / 0.6958 GB, free: 7.039 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.5916, allocations: 147.3 kB / 0.696 GB, free: 6.887 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.5918, allocations: 53.81 kB / 0.696 GB, free: 6.867 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.359e-06/0.5918, allocations: 2.016 kB / 0.696 GB, free: 6.867 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004553/0.5922, allocations: 214.2 kB / 0.6962 GB, free: 6.77 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.5923, allocations: 7.359 kB / 0.6962 GB, free: 6.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.5923, allocations: 3.406 kB / 0.6962 GB, free: 6.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.5923, allocations: 5.5 kB / 0.6962 GB, free: 6.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/0.5926, allocations: 56.91 kB / 0.6963 GB, free: 6.766 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.479e-05/0.5926, allocations: 6.109 kB / 0.6963 GB, free: 6.766 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/0.5928, allocations: 37.36 kB / 0.6963 GB, free: 6.738 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.057e-05/0.5929, allocations: 16.19 kB / 0.6963 GB, free: 6.734 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 0.0001356/0.5931, allocations: 139.2 kB / 0.6965 GB, free: 6.598 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.589e-05/0.5932, allocations: 19.83 kB / 0.6965 GB, free: 6.586 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003965/0.5936, allocations: 158.2 kB / 0.6966 GB, free: 6.504 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.798e-05/0.5936, allocations: 2.125 kB / 0.6966 GB, free: 6.504 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.193e-06/0.5936, allocations: 1.438 kB / 0.6966 GB, free: 6.504 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.285e-06/0.5936, allocations: 0.7969 kB / 0.6966 GB, free: 6.504 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002806/0.5939, allocations: 210.6 kB / 0.6969 GB, free: 6.293 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.15e-06/0.5939, allocations: 1.531 kB / 0.6969 GB, free: 6.293 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.5941, allocations: 35 kB / 0.6969 GB, free: 6.285 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.044e-06/0.5941, allocations: 6.344 kB / 0.6969 GB, free: 6.281 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.5941, allocations: 2.234 kB / 0.6969 GB, free: 6.281 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.835e-06/0.5941, allocations: 4 kB / 0.6969 GB, free: 6.277 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.693e-06/0.5942, allocations: 2.078 kB / 0.6969 GB, free: 6.277 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002855/0.5944, allocations: 219.4 kB / 0.6971 GB, free: 6.113 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.5946, allocations: 117.7 kB / 0.6972 GB, free: 6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/0.5946, allocations: 5.938 kB / 0.6972 GB, free: 5.996 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/0.5949, allocations: 15.2 kB / 0.6972 GB, free: 5.988 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.746e-05/0.5949, allocations: 9.391 kB / 0.6972 GB, free: 5.988 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.02e-05/0.595, allocations: 8.562 kB / 0.6973 GB, free: 5.988 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 9.99e-05/0.5951, allocations: 120.3 kB / 0.6974 GB, free: 5.902 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.21e-07/0.5951, allocations: 0 / 0.6974 GB, free: 5.902 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000554/0.5956, allocations: 73.91 kB / 0.6974 GB, free: 5.887 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0002868/0.5959, allocations: 173.3 kB / 0.6976 GB, free: 5.766 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003023/0.5963, allocations: 119.2 kB / 0.6977 GB, free: 5.734 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.623e-06/0.5963, allocations: 1.781 kB / 0.6977 GB, free: 5.734 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.278e-05/0.5964, allocations: 45.14 kB / 0.6978 GB, free: 5.723 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004977/0.5969, allocations: 57.41 kB / 0.6978 GB, free: 5.699 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008301/0.5977, allocations: 420.2 kB / 0.6982 GB, free: 5.461 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001719/0.5979, allocations: 0.7177 MB / 0.6989 GB, free: 4.762 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000262/0.5982, allocations: 40.31 kB / 0.699 GB, free: 4.75 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.461e-05/0.5983, allocations: 21.95 kB / 0.699 GB, free: 4.742 MB / 0.5261 GB Notification: Performance of SimCode: time 1.552e-06/0.5983, allocations: 5 kB / 0.699 GB, free: 4.738 MB / 0.5261 GB Notification: Performance of Templates: time 0.008893/0.6072, allocations: 3.009 MB / 0.7019 GB, free: 3.859 MB / 0.5261 GB