Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Media.Examples.WaterDerivativeCheck.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.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.006224/0.006224, allocations: 229 kB / 15.82 MB, free: 6.293 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.001708/0.001708, allocations: 174 kB / 16.7 MB, free: 5.449 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.963/3.963, allocations: 389.1 MB / 406.5 MB, free: 11.84 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 3.986/3.986, allocations: 472.3 MB / 0.9024 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004821/0.0004823, allocations: 16.22 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1773, allocations: 98.73 MB / 1.105 GB, free: 42.07 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.053/1.23, allocations: 351.6 MB / 1.448 GB, free: 4.332 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/1.23, allocations: 71.84 kB / 1.448 GB, free: 4.297 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 0.04694/1.277, allocations: 12.53 MB / 1.46 GB, free: 10.71 MB / 0.823 GB Notification: Performance of FrontEnd: time 4.488e-06/1.277, allocations: 0 / 1.46 GB, free: 10.71 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.362e-06/1.277, allocations: 3.938 kB / 1.46 GB, free: 10.71 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000422/1.278, allocations: 343.4 kB / 1.461 GB, free: 10.33 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/1.278, allocations: 8.031 kB / 1.461 GB, free: 10.32 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/1.278, allocations: 7.906 kB / 1.461 GB, free: 10.32 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/1.278, allocations: 177.3 kB / 1.461 GB, free: 10.11 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/1.278, allocations: 4 kB / 1.461 GB, free: 10.11 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.132e-05/1.278, allocations: 7.5 kB / 1.461 GB, free: 10.11 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/1.278, allocations: 49.17 kB / 1.461 GB, free: 10.05 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/1.278, allocations: 0 / 1.461 GB, free: 10.05 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/1.278, allocations: 3.5 kB / 1.461 GB, free: 10.05 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/1.279, allocations: 1.406 kB / 1.461 GB, free: 10.05 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.148e-05/1.279, allocations: 23.42 kB / 1.461 GB, free: 10.04 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002381/1.279, allocations: 172.8 kB / 1.461 GB, free: 9.824 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/1.279, allocations: 49.12 kB / 1.461 GB, free: 9.777 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.531e-05/1.279, allocations: 12.86 kB / 1.461 GB, free: 9.762 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001053/1.28, allocations: 0.5935 MB / 1.462 GB, free: 9.082 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/1.28, allocations: 30.56 kB / 1.462 GB, free: 9.043 MB / 0.823 GB Notification: Performance of pre-optimization done (n=5): time 2.876e-06/1.28, allocations: 0 / 1.462 GB, free: 9.043 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0007698/1.281, allocations: 316.6 kB / 1.462 GB, free: 8.707 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/1.281, allocations: 58.47 kB / 1.462 GB, free: 8.641 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.57e-05/1.281, allocations: 101.1 kB / 1.462 GB, free: 8.535 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/1.281, allocations: 25.7 kB / 1.462 GB, free: 8.504 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.408e-05/1.281, allocations: 84.05 kB / 1.462 GB, free: 8.418 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/1.281, allocations: 27.14 kB / 1.462 GB, free: 8.395 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-06/1.281, allocations: 7.062 kB / 1.462 GB, free: 8.391 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001326/1.281, allocations: 318.8 kB / 1.463 GB, free: 8.074 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.319e-05/1.281, allocations: 11.42 kB / 1.463 GB, free: 8.066 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.972e-05/1.282, allocations: 55.7 kB / 1.463 GB, free: 8 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.1e-05/1.282, allocations: 23.72 kB / 1.463 GB, free: 7.984 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.282, allocations: 0 / 1.463 GB, free: 7.984 MB / 0.823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002131/1.282, allocations: 97.92 kB / 1.463 GB, free: 7.898 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/1.282, allocations: 11.95 kB / 1.463 GB, free: 7.887 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/1.282, allocations: 0 / 1.463 GB, free: 7.887 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/1.282, allocations: 4 kB / 1.463 GB, free: 7.883 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/1.282, allocations: 19.98 kB / 1.463 GB, free: 7.863 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/1.282, allocations: 0 / 1.463 GB, free: 7.863 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.349e-05/1.282, allocations: 7.438 kB / 1.463 GB, free: 7.859 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/1.282, allocations: 4 kB / 1.463 GB, free: 7.855 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 0.0001108/1.282, allocations: 117.8 kB / 1.463 GB, free: 7.734 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.382e-05/1.282, allocations: 3.219 kB / 1.463 GB, free: 7.734 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.813e-05/1.282, allocations: 14.23 kB / 1.463 GB, free: 7.73 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/1.282, allocations: 7.984 kB / 1.463 GB, free: 7.723 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/1.282, allocations: 0 / 1.463 GB, free: 7.723 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/1.283, allocations: 0 / 1.463 GB, free: 7.723 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003924/1.283, allocations: 171.9 kB / 1.463 GB, free: 7.512 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/1.283, allocations: 0 / 1.463 GB, free: 7.512 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/1.283, allocations: 15.98 kB / 1.463 GB, free: 7.496 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/1.283, allocations: 3.094 kB / 1.463 GB, free: 7.496 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/1.283, allocations: 4 kB / 1.463 GB, free: 7.492 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/1.283, allocations: 3.953 kB / 1.463 GB, free: 7.488 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/1.283, allocations: 0 / 1.463 GB, free: 7.488 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002583/1.283, allocations: 181.2 kB / 1.463 GB, free: 7.309 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.465e-05/1.284, allocations: 84.52 kB / 1.463 GB, free: 7.211 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/1.284, allocations: 0 / 1.463 GB, free: 7.211 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/1.284, allocations: 8.469 kB / 1.463 GB, free: 7.203 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.241e-05/1.284, allocations: 7.703 kB / 1.463 GB, free: 7.199 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/1.284, allocations: 4 kB / 1.463 GB, free: 7.195 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.171e-05/1.284, allocations: 79.27 kB / 1.464 GB, free: 7.117 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.81e-07/1.284, allocations: 0 / 1.464 GB, free: 7.117 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003328/1.284, allocations: 15.44 kB / 1.464 GB, free: 7.105 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.000215/1.284, allocations: 130.8 kB / 1.464 GB, free: 6.977 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001491/1.285, allocations: 49.3 kB / 1.464 GB, free: 6.938 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.285, allocations: 0 / 1.464 GB, free: 6.938 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 4.012e-05/1.285, allocations: 15.94 kB / 1.464 GB, free: 6.922 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/1.285, allocations: 9.891 kB / 1.464 GB, free: 6.918 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008766/1.286, allocations: 392.3 kB / 1.464 GB, free: 6.617 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/1.286, allocations: 0.6848 MB / 1.465 GB, free: 5.906 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 9.622e-05/1.286, allocations: 11.36 kB / 1.465 GB, free: 5.898 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.917e-05/1.286, allocations: 14.81 kB / 1.465 GB, free: 5.891 MB / 0.823 GB Notification: Performance of SimCode: time 7.71e-07/1.286, allocations: 0 / 1.465 GB, free: 5.891 MB / 0.823 GB Notification: Performance of Templates: time 0.004412/1.291, allocations: 0.8392 MB / 1.466 GB, free: 5.113 MB / 0.823 GB