Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.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.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009184/0.009184, allocations: 107.1 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.001158/0.001158, allocations: 178.7 kB / 15.95 MB, free: 5.527 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.951/1.951, allocations: 194.5 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.186/2.186, allocations: 236.1 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000472/0.0004722, allocations: 16 kB / 0.5869 GB, free: 2.215 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5652/0.5657, allocations: 98.72 MB / 0.6833 GB, free: 16.71 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.06217/0.6279, allocations: 44.39 MB / 0.7267 GB, free: 15.98 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.03099/0.6589, allocations: 15.55 MB / 0.7419 GB, free: 2.395 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003564/0.6625, allocations: 71.5 kB / 0.7419 GB, free: 2.324 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 0.004241/0.6668, allocations: 0.9591 MB / 0.7429 GB, free: 1.363 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 0.009589/0.6764, allocations: 2.318 MB / 0.7451 GB, free: 15.04 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.01154/0.688, allocations: 2.854 MB / 0.7479 GB, free: 12.18 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.006744/0.6948, allocations: 2.773 MB / 0.7506 GB, free: 9.406 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002943/0.6977, allocations: 1.238 MB / 0.7518 GB, free: 8.145 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003945/0.7017, allocations: 1.354 MB / 0.7532 GB, free: 6.785 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002121/0.7039, allocations: 0.9176 MB / 0.7541 GB, free: 5.863 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0004433/0.7044, allocations: 64 kB / 0.7541 GB, free: 5.801 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004449/0.7089, allocations: 1.353 MB / 0.7554 GB, free: 4.445 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0009023/0.7098, allocations: 394.4 kB / 0.7558 GB, free: 4.059 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0008776/0.7107, allocations: 408.6 kB / 0.7562 GB, free: 3.652 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.004971/0.7157, allocations: 2.404 MB / 0.7586 GB, free: 1.242 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.504e-06/0.7158, allocations: 0 / 0.7586 GB, free: 1.242 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.082e-06/0.7158, allocations: 0 / 0.7586 GB, free: 1.242 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.989e-05/0.7158, allocations: 4 kB / 0.7586 GB, free: 1.238 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.005284/0.7211, allocations: 2.231 MB / 0.7607 GB, free: 14.93 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.7212, allocations: 12.03 kB / 0.7608 GB, free: 14.92 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002724/0.7239, allocations: 481 kB / 0.7612 GB, free: 14.45 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004244/0.7282, allocations: 1.543 MB / 0.7627 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004871/0.7288, allocations: 162.2 kB / 0.7629 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003358/0.7291, allocations: 116 kB / 0.763 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003895/0.733, allocations: 1.376 MB / 0.7643 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.929e-05/0.7331, allocations: 0 / 0.7643 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001713/0.7333, allocations: 51.98 kB / 0.7644 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.077e-05/0.7334, allocations: 28 kB / 0.7644 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003857/0.7372, allocations: 1.121 MB / 0.7655 GB, free: 9.898 MB / 0.5886 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01322/0.7505, allocations: 7.136 MB / 0.7725 GB, free: 2.195 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003545/0.7541, allocations: 1.424 MB / 0.7739 GB, free: 0.6602 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006597/0.7607, allocations: 3.067 MB / 0.7769 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001417/0.7622, allocations: 442.9 kB / 0.7773 GB, free: 12.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006689/0.7629, allocations: 91.25 kB / 0.7774 GB, free: 12.71 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=60): time 4.316e-06/0.7629, allocations: 0 / 0.7774 GB, free: 12.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=60): time 0.004439/0.7673, allocations: 1.276 MB / 0.7786 GB, free: 11.41 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.613e-05/0.7675, allocations: 133.1 kB / 0.7787 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00312/0.7706, allocations: 1.597 MB / 0.7803 GB, free: 9.652 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.000178/0.7708, allocations: 41.7 kB / 0.7803 GB, free: 9.605 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001038/0.7719, allocations: 0.8958 MB / 0.7812 GB, free: 8.699 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002983/0.7722, allocations: 216.9 kB / 0.7814 GB, free: 8.484 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.765e-05/0.7723, allocations: 20 kB / 0.7814 GB, free: 8.465 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001932/0.7725, allocations: 345.9 kB / 0.7818 GB, free: 8.121 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001368/0.7739, allocations: 390.1 kB / 0.7821 GB, free: 7.738 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001735/0.7756, allocations: 0.7909 MB / 0.7829 GB, free: 6.762 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001571/0.7772, allocations: 0.5218 MB / 0.7834 GB, free: 6.227 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/0.7773, allocations: 4 kB / 0.7834 GB, free: 6.223 MB / 0.6042 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.004077/0.7813, allocations: 1.354 MB / 0.7847 GB, free: 4.848 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.002346/0.7837, allocations: 4.401 MB / 0.789 GB, free: 76 kB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.243e-05/0.7838, allocations: 12 kB / 0.7891 GB, free: 64 kB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.934e-05/0.7839, allocations: 16 kB / 0.7891 GB, free: 48 kB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001532/0.7854, allocations: 267.6 kB / 0.7893 GB, free: 15.79 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-05/0.7855, allocations: 23.92 kB / 0.7894 GB, free: 15.76 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001866/0.7874, allocations: 136.5 kB / 0.7895 GB, free: 15.63 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001992/0.7876, allocations: 55.98 kB / 0.7895 GB, free: 15.57 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.7876, allocations: 4 kB / 0.7895 GB, free: 15.57 MB / 0.6199 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003516/0.7912, allocations: 1.178 MB / 0.7907 GB, free: 14.38 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.271e-05/0.7912, allocations: 15.98 kB / 0.7907 GB, free: 14.36 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.152e-05/0.7913, allocations: 19.95 kB / 0.7907 GB, free: 14.34 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/0.7926, allocations: 264.2 kB / 0.791 GB, free: 14.09 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.291e-05/0.7927, allocations: 23.88 kB / 0.791 GB, free: 14.06 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001706/0.7944, allocations: 142.7 kB / 0.7911 GB, free: 13.93 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001743/0.7946, allocations: 51.98 kB / 0.7912 GB, free: 13.88 MB / 0.6199 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 118 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 1 * 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.001147/0.7958, allocations: 483.5 kB / 0.7916 GB, free: 13.39 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004196/0.7962, allocations: 169.8 kB / 0.7918 GB, free: 13.23 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003743/0.8, allocations: 1.158 MB / 0.7929 GB, free: 12.05 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.236e-05/0.8, allocations: 8 kB / 0.7929 GB, free: 12.05 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.8, allocations: 0 / 0.7929 GB, free: 12.05 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002786/0.8028, allocations: 0.9894 MB / 0.7939 GB, free: 11 MB / 0.6199 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006437/0.8093, allocations: 2.439 MB / 0.7963 GB, free: 8.484 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.579e-06/0.8094, allocations: 0 / 0.7963 GB, free: 8.484 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/0.8104, allocations: 155.8 kB / 0.7964 GB, free: 8.332 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002715/0.8107, allocations: 40.83 kB / 0.7965 GB, free: 8.289 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.364e-05/0.8108, allocations: 19.98 kB / 0.7965 GB, free: 8.27 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001717/0.8125, allocations: 1.382 MB / 0.7978 GB, free: 6.758 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.019e-06/0.8126, allocations: 0 / 0.7978 GB, free: 6.758 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004705/0.8173, allocations: 1.593 MB / 0.7994 GB, free: 5.137 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/0.8183, allocations: 354.6 kB / 0.7997 GB, free: 4.77 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003396/0.8187, allocations: 28.12 kB / 0.7998 GB, free: 4.742 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001417/0.8201, allocations: 115.8 kB / 0.7999 GB, free: 4.629 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001765/0.8203, allocations: 56.48 kB / 0.7999 GB, free: 4.57 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/0.8204, allocations: 23.98 kB / 0.8 GB, free: 4.547 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 0.002592/0.8231, allocations: 1.133 MB / 0.8011 GB, free: 3.391 MB / 0.6199 GB Notification: Performance of sort global known variables: time 1.336e-06/0.8231, allocations: 0 / 0.8011 GB, free: 3.391 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.004024/0.8271, allocations: 0.9318 MB / 0.802 GB, free: 2.457 MB / 0.6199 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (vol.dynBal.U,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002108/0.8293, allocations: 0.6568 MB / 0.8026 GB, free: 1.867 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.005038/0.8343, allocations: 1.81 MB / 0.8044 GB, free: 4 kB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 7.222e-06/0.8344, allocations: 0.5 kB / 0.8044 GB, free: 4 kB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 0.001715/0.8361, allocations: 0.5643 MB / 0.8049 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004122/0.8403, allocations: 0.7335 MB / 0.8056 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008283/0.8486, allocations: 3.755 MB / 0.8093 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001432/0.8501, allocations: 1.399 MB / 0.8107 GB, free: 9.461 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.00254/0.8526, allocations: 418.2 kB / 0.8111 GB, free: 9.047 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005665/0.8532, allocations: 147.4 kB / 0.8112 GB, free: 8.902 MB / 0.6355 GB Notification: Performance of SimCode: time 1.558e-06/0.8532, allocations: 0 / 0.8112 GB, free: 8.902 MB / 0.6355 GB Notification: Performance of Templates: time 0.08012/0.9334, allocations: 31.35 MB / 0.8418 GB, free: 9.969 MB / 0.6667 GB