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.WaterDerivativeCheck.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.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadModel(Buildings): time 4.151/4.151, allocations: 433.4 MB / 440.9 MB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.762e-05/1.764e-05, allocations: 4 kB / 0.5325 GB, free: 1.891 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6193/0.6194, allocations: 98.69 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9121/1.532, allocations: 350.9 MB / 0.9715 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/1.532, allocations: 67.84 kB / 0.9716 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.04/1.572, allocations: 12.46 MB / 0.9838 GB, free: 4.152 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.161e-06/1.572, allocations: 0 / 0.9838 GB, free: 4.152 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.79e-06/1.572, allocations: 0 / 0.9838 GB, free: 4.152 MB / 0.698 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.0003846/1.572, allocations: 342.2 kB / 0.9841 GB, free: 3.777 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/1.572, allocations: 16.02 kB / 0.9841 GB, free: 3.762 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/1.572, allocations: 7.953 kB / 0.9841 GB, free: 3.754 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/1.573, allocations: 167 kB / 0.9843 GB, free: 3.551 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/1.573, allocations: 4 kB / 0.9843 GB, free: 3.547 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.903e-05/1.573, allocations: 7.688 kB / 0.9843 GB, free: 3.543 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.098e-05/1.573, allocations: 15.98 kB / 0.9843 GB, free: 3.527 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/1.573, allocations: 49.34 kB / 0.9843 GB, free: 3.477 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.1e-06/1.573, allocations: 4 kB / 0.9843 GB, free: 3.473 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/1.573, allocations: 0 / 0.9843 GB, free: 3.473 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.496e-06/1.573, allocations: 7.938 kB / 0.9843 GB, free: 3.465 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001877/1.573, allocations: 141.9 kB / 0.9845 GB, free: 3.293 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/1.573, allocations: 46 kB / 0.9845 GB, free: 3.246 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.564e-05/1.573, allocations: 20.73 kB / 0.9845 GB, free: 3.223 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008949/1.574, allocations: 0.6134 MB / 0.9851 GB, free: 2.516 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/1.574, allocations: 30.56 kB / 0.9852 GB, free: 2.477 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 2.175e-06/1.574, allocations: 0 / 0.9852 GB, free: 2.477 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0006395/1.575, allocations: 289.2 kB / 0.9855 GB, free: 2.156 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/1.575, allocations: 55.41 kB / 0.9855 GB, free: 2.09 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.006e-05/1.575, allocations: 89 kB / 0.9856 GB, free: 1.996 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/1.575, allocations: 25.7 kB / 0.9856 GB, free: 1.965 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.693e-05/1.575, allocations: 91.97 kB / 0.9857 GB, free: 1.875 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/1.575, allocations: 23.41 kB / 0.9857 GB, free: 1.855 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.595e-06/1.575, allocations: 0 / 0.9857 GB, free: 1.855 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001568/1.575, allocations: 314.8 kB / 0.986 GB, free: 1.539 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.962e-05/1.575, allocations: 11.94 kB / 0.986 GB, free: 1.531 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.43e-05/1.576, allocations: 48.84 kB / 0.9861 GB, free: 1.469 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.154e-05/1.576, allocations: 19.67 kB / 0.9861 GB, free: 1.453 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/1.576, allocations: 0 / 0.9861 GB, free: 1.453 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000183/1.576, allocations: 81 kB / 0.9862 GB, free: 1.375 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/1.576, allocations: 13.88 kB / 0.9862 GB, free: 1.363 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.283e-06/1.576, allocations: 0 / 0.9862 GB, free: 1.363 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/1.576, allocations: 7.953 kB / 0.9862 GB, free: 1.355 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/1.576, allocations: 23.86 kB / 0.9862 GB, free: 1.336 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.578e-06/1.576, allocations: 0 / 0.9862 GB, free: 1.336 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.485e-05/1.576, allocations: 7.984 kB / 0.9862 GB, free: 1.328 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/1.576, allocations: 7.984 kB / 0.9862 GB, free: 1.32 MB / 0.698 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 () * 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.0001024/1.576, allocations: 105.6 kB / 0.9863 GB, free: 1.211 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.205e-05/1.576, allocations: 4 kB / 0.9863 GB, free: 1.207 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.02e-05/1.576, allocations: 12.09 kB / 0.9864 GB, free: 1.203 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.76e-06/1.576, allocations: 0 / 0.9864 GB, free: 1.203 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/1.576, allocations: 7.891 kB / 0.9864 GB, free: 1.195 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.528e-06/1.576, allocations: 4 kB / 0.9864 GB, free: 1.191 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003201/1.577, allocations: 145.7 kB / 0.9865 GB, free: 1.016 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.425e-06/1.577, allocations: 0 / 0.9865 GB, free: 1.016 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/1.577, allocations: 12 kB / 0.9865 GB, free: 1.004 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.683e-06/1.577, allocations: 4 kB / 0.9865 GB, free: 1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/1.577, allocations: 256 / 0.9865 GB, free: 1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.592e-06/1.577, allocations: 7.984 kB / 0.9865 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.682e-06/1.577, allocations: 4 kB / 0.9865 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/1.577, allocations: 178.3 kB / 0.9867 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.193e-05/1.577, allocations: 77.11 kB / 0.9868 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/1.577, allocations: 8.031 kB / 0.9868 GB, free: 0.707 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/1.577, allocations: 0 / 0.9868 GB, free: 0.707 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.438e-05/1.578, allocations: 4 kB / 0.9868 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/1.578, allocations: 0 / 0.9868 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.033e-05/1.578, allocations: 90.7 kB / 0.9869 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.76e-07/1.578, allocations: 0 / 0.9869 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003467/1.578, allocations: 12 kB / 0.9869 GB, free: 0.6055 MB / 0.698 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 () * 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.0001971/1.578, allocations: 124.4 kB / 0.987 GB, free: 484 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001247/1.578, allocations: 39.05 kB / 0.987 GB, free: 452 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.088e-06/1.578, allocations: 0 / 0.987 GB, free: 452 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.359e-05/1.578, allocations: 15.94 kB / 0.9871 GB, free: 436 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001967/1.579, allocations: 3.625 kB / 0.9871 GB, free: 436 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006472/1.579, allocations: 267.2 kB / 0.9873 GB, free: 152 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/1.58, allocations: 0.6941 MB / 0.988 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.591e-05/1.58, allocations: 4 kB / 0.988 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.304e-05/1.58, allocations: 11.44 kB / 0.988 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of SimCode: time 1.659e-06/1.58, allocations: 3.938 kB / 0.988 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of Templates: time 0.003515/1.583, allocations: 0.7103 MB / 0.9887 GB, free: 14.71 MB / 0.7136 GB