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.009327/0.009327, allocations: 107.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.001121/0.001121, 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 1.884/1.884, allocations: 194.6 MB / 211.3 MB, free: 11.03 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.703/2.703, allocations: 236.2 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004547/0.000455, allocations: 12 kB / 0.5869 GB, free: 2.184 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5954/0.5959, allocations: 98.72 MB / 0.6833 GB, free: 16.78 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001205/0.5971, allocations: 0.9638 MB / 0.6843 GB, free: 16.05 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003602/0.6008, allocations: 2.804 MB / 0.687 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.061e-05/0.6008, allocations: 7.938 kB / 0.687 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.476e-05/0.6009, allocations: 0.7031 kB / 0.687 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 5.387e-05/0.6009, allocations: 6.047 kB / 0.687 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004169/0.6014, allocations: 88.45 kB / 0.6871 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 5.554e-05/0.6014, allocations: 22.58 kB / 0.6871 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.222e-05/0.6015, allocations: 6.031 kB / 0.6871 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 4.788e-05/0.6015, allocations: 19.7 kB / 0.6872 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 6.254e-05/0.6016, allocations: 26.42 kB / 0.6872 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.6016, allocations: 1.094 kB / 0.6872 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002229/0.6019, allocations: 56.95 kB / 0.6872 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.749e-05/0.6019, allocations: 11.48 kB / 0.6872 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.331e-05/0.6019, allocations: 30.39 kB / 0.6873 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.6021, allocations: 32.8 kB / 0.6873 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.127e-06/0.6021, allocations: 0.9375 kB / 0.6873 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.033e-06/0.6021, allocations: 0 / 0.6873 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.723e-06/0.6021, allocations: 0 / 0.6873 GB, free: 13.88 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003089/0.6024, allocations: 344.8 kB / 0.6876 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.6025, allocations: 10.58 kB / 0.6876 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.6026, allocations: 3.594 kB / 0.6876 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.375e-05/0.6027, allocations: 161.6 kB / 0.6878 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.6027, allocations: 1.438 kB / 0.6878 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.84e-05/0.6027, allocations: 12.59 kB / 0.6878 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.6029, allocations: 53.48 kB / 0.6879 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.713e-06/0.6029, allocations: 0 / 0.6879 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.6029, allocations: 1.406 kB / 0.6879 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.387e-06/0.6029, allocations: 3.953 kB / 0.6879 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.312e-05/0.603, allocations: 24.42 kB / 0.6879 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001473/0.6032, allocations: 169.9 kB / 0.6881 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.6033, allocations: 49.86 kB / 0.6881 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006379/0.6039, allocations: 0.589 MB / 0.6887 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.604, allocations: 41.75 kB / 0.6887 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=5): time 2.086e-06/0.604, allocations: 0 / 0.6887 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0005928/0.6046, allocations: 298.9 kB / 0.689 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.6046, allocations: 52.62 kB / 0.6891 GB, free: 12 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.68e-05/0.6047, allocations: 97.31 kB / 0.6891 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.6047, allocations: 30.73 kB / 0.6892 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.888e-05/0.6048, allocations: 93.45 kB / 0.6893 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.6048, allocations: 21.09 kB / 0.6893 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.815e-06/0.6048, allocations: 1.219 kB / 0.6893 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.079e-05/0.6049, allocations: 317.3 kB / 0.6896 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.946e-05/0.6049, allocations: 12.95 kB / 0.6896 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.957e-05/0.605, allocations: 56.5 kB / 0.6897 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.444e-05/0.6051, allocations: 28.61 kB / 0.6897 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.932e-06/0.6051, allocations: 1.156 kB / 0.6897 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001762/0.6053, allocations: 96.42 kB / 0.6898 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.6053, allocations: 8.094 kB / 0.6898 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.246e-06/0.6053, allocations: 1.844 kB / 0.6898 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.6053, allocations: 2.938 kB / 0.6898 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.6054, allocations: 21.22 kB / 0.6898 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.831e-06/0.6055, allocations: 6.5 kB / 0.6898 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.44e-05/0.6055, allocations: 7.562 kB / 0.6898 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.6056, allocations: 3.875 kB / 0.6898 GB, free: 11.29 MB / 0.5261 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 7.141e-05/0.6056, allocations: 116.4 kB / 0.6899 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.409e-05/0.6057, allocations: 7.641 kB / 0.6899 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.161e-05/0.6057, allocations: 9.156 kB / 0.69 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.223e-06/0.6057, allocations: 1.312 kB / 0.69 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.996e-06/0.6058, allocations: 4.609 kB / 0.69 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.625e-06/0.6058, allocations: 1.406 kB / 0.69 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002972/0.6061, allocations: 177.4 kB / 0.6901 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.302e-06/0.6061, allocations: 0 / 0.6901 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.6062, allocations: 18.83 kB / 0.6901 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.8e-06/0.6062, allocations: 5.078 kB / 0.6901 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.6063, allocations: 5.891 kB / 0.6902 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.557e-06/0.6063, allocations: 0 / 0.6902 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.368e-06/0.6063, allocations: 0.6562 kB / 0.6902 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000207/0.6065, allocations: 175.3 kB / 0.6903 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.48e-05/0.6066, allocations: 81.38 kB / 0.6904 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.6066, allocations: 6.016 kB / 0.6904 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.6067, allocations: 7.359 kB / 0.6904 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.856e-05/0.6068, allocations: 4.219 kB / 0.6904 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.6068, allocations: 2.188 kB / 0.6904 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.905e-05/0.6068, allocations: 78.64 kB / 0.6905 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.53e-07/0.6068, allocations: 0 / 0.6905 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003369/0.6072, allocations: 13.97 kB / 0.6905 GB, free: 10.61 MB / 0.5261 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.0001263/0.6073, allocations: 108.6 kB / 0.6906 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001344/0.6075, allocations: 42.67 kB / 0.6907 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.034e-06/0.6075, allocations: 0 / 0.6907 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.615e-05/0.6075, allocations: 16.23 kB / 0.6907 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.6078, allocations: 8.219 kB / 0.6907 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000698/0.6085, allocations: 397.2 kB / 0.6911 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/0.6086, allocations: 0.6862 MB / 0.6917 GB, free: 9.496 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 8.181e-05/0.6087, allocations: 8.984 kB / 0.6917 GB, free: 9.492 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.727e-05/0.6087, allocations: 11.28 kB / 0.6917 GB, free: 9.488 MB / 0.5261 GB Notification: Performance of SimCode: time 1.387e-06/0.6088, allocations: 3.938 kB / 0.6917 GB, free: 9.484 MB / 0.5261 GB Notification: Performance of Templates: time 0.003262/0.612, allocations: 0.5692 MB / 0.6923 GB, free: 9.402 MB / 0.5261 GB