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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.227/4.227, allocations: 432.7 MB / 445.3 MB, free: 15.67 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.14e-05/4.162e-05, allocations: 4.047 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2114, allocations: 98.72 MB / 0.6347 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9165/1.128, allocations: 351.5 MB / 0.978 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/1.128, allocations: 64.03 kB / 0.978 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04088/1.169, allocations: 12.54 MB / 0.9903 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.143e-06/1.169, allocations: 3.938 kB / 0.9903 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.513e-06/1.169, allocations: 0 / 0.9903 GB, free: 0.4922 MB / 0.7292 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.0003621/1.169, allocations: 338 kB / 0.9906 GB, free: 124 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/1.17, allocations: 16.03 kB / 0.9906 GB, free: 108 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/1.17, allocations: 7.953 kB / 0.9906 GB, free: 100 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/1.17, allocations: 163 kB / 0.9908 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/1.17, allocations: 3.5 kB / 0.9908 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/1.17, allocations: 4 kB / 0.9908 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/1.17, allocations: 57.23 kB / 0.9908 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.858e-06/1.17, allocations: 0 / 0.9908 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/1.17, allocations: 4 kB / 0.9909 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/1.17, allocations: 0 / 0.9909 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.333e-05/1.17, allocations: 27.72 kB / 0.9909 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002031/1.17, allocations: 165.5 kB / 0.991 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/1.171, allocations: 54 kB / 0.9911 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.539e-05/1.171, allocations: 12.61 kB / 0.9911 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009179/1.171, allocations: 0.6177 MB / 0.9917 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/1.172, allocations: 30.56 kB / 0.9917 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 2.183e-06/1.172, allocations: 0 / 0.9917 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.000648/1.172, allocations: 292.9 kB / 0.992 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/1.172, allocations: 55.41 kB / 0.9921 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.614e-05/1.172, allocations: 100.7 kB / 0.9922 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/1.172, allocations: 29.7 kB / 0.9922 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.214e-05/1.172, allocations: 83.89 kB / 0.9923 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/1.173, allocations: 27.44 kB / 0.9923 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.883e-06/1.173, allocations: 0 / 0.9923 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001542/1.173, allocations: 322.5 kB / 0.9926 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.7e-05/1.173, allocations: 11.44 kB / 0.9926 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.519e-05/1.173, allocations: 57.34 kB / 0.9927 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.489e-05/1.173, allocations: 24.11 kB / 0.9927 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.876e-06/1.173, allocations: 0 / 0.9927 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001966/1.173, allocations: 91.97 kB / 0.9928 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/1.173, allocations: 8.625 kB / 0.9928 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.868e-06/1.173, allocations: 8.078 kB / 0.9928 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/1.173, allocations: 4 kB / 0.9928 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/1.173, allocations: 23.36 kB / 0.9928 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/1.173, allocations: 3.938 kB / 0.9928 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.324e-05/1.173, allocations: 4 kB / 0.9928 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/1.173, allocations: 4 kB / 0.9928 GB, free: 13.61 MB / 0.7448 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 8.743e-05/1.174, allocations: 104.4 kB / 0.9929 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.298e-05/1.174, allocations: 7.906 kB / 0.9929 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.46e-05/1.174, allocations: 11.03 kB / 0.9929 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.267e-06/1.174, allocations: 7.953 kB / 0.993 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.09e-06/1.174, allocations: 4 kB / 0.993 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.9e-06/1.174, allocations: 3.984 kB / 0.993 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003377/1.174, allocations: 169.3 kB / 0.9931 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.958e-06/1.174, allocations: 0 / 0.9931 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/1.174, allocations: 15.98 kB / 0.9931 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.129e-06/1.174, allocations: 0 / 0.9931 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/1.174, allocations: 7.625 kB / 0.9931 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.117e-06/1.174, allocations: 4 kB / 0.9932 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/1.174, allocations: 3.953 kB / 0.9932 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/1.174, allocations: 170.4 kB / 0.9933 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.335e-05/1.175, allocations: 81.11 kB / 0.9934 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/1.175, allocations: 256 / 0.9934 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/1.175, allocations: 12.03 kB / 0.9934 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.724e-05/1.175, allocations: 3.953 kB / 0.9934 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/1.175, allocations: 7.625 kB / 0.9934 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.146e-05/1.175, allocations: 75.28 kB / 0.9935 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.68e-07/1.175, allocations: 4 kB / 0.9935 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003442/1.175, allocations: 19.56 kB / 0.9935 GB, free: 12.85 MB / 0.7448 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.0001994/1.175, allocations: 131.4 kB / 0.9936 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001359/1.176, allocations: 43.5 kB / 0.9937 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.245e-06/1.176, allocations: 7.875 kB / 0.9937 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.686e-05/1.176, allocations: 19.55 kB / 0.9937 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/1.176, allocations: 7.438 kB / 0.9937 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006264/1.177, allocations: 265.7 kB / 0.994 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/1.177, allocations: 0.6848 MB / 0.9946 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.543e-05/1.177, allocations: 11.78 kB / 0.9946 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.571e-05/1.177, allocations: 11.44 kB / 0.9947 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of SimCode: time 1.59e-06/1.177, allocations: 0 / 0.9947 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of Templates: time 0.00398/1.181, allocations: 0.9202 MB / 0.9956 GB, free: 10.73 MB / 0.7448 GB