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.004121/0.004121, allocations: 233.5 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.00113/0.00113, 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.537/3.537, allocations: 389.1 MB / 406.5 MB, free: 6.691 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.438/4.438, allocations: 472.3 MB / 0.9024 GB, free: 10.76 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004862/0.0004865, allocations: 12 kB / 1.008 GB, free: 6.691 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.2027, allocations: 98.7 MB / 1.105 GB, free: 3.836 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.683/1.885, allocations: 437.8 MB / 1.532 GB, free: 214.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/1.886, allocations: 105.3 kB / 1.532 GB, free: 214.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.333/7.219, allocations: 1.12 GB / 2.652 GB, free: 60.6 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.787e-06/7.219, allocations: 4 kB / 2.652 GB, free: 60.59 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0003289/7.22, allocations: 55.84 kB / 2.653 GB, free: 60.54 MB / 0.8386 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.009361/7.229, allocations: 2.587 MB / 2.655 GB, free: 57.91 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/7.229, allocations: 12.03 kB / 2.655 GB, free: 57.89 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003817/7.233, allocations: 458.5 kB / 2.655 GB, free: 57.45 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008741/7.242, allocations: 2.212 MB / 2.658 GB, free: 55.24 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/7.242, allocations: 92.41 kB / 2.658 GB, free: 55.15 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003577/7.242, allocations: 124 kB / 2.658 GB, free: 55.03 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003664/7.246, allocations: 1.328 MB / 2.659 GB, free: 53.59 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.892e-05/7.246, allocations: 4 kB / 2.659 GB, free: 53.59 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001767/7.246, allocations: 51.8 kB / 2.659 GB, free: 53.54 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.45e-05/7.246, allocations: 28 kB / 2.659 GB, free: 53.51 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003504/7.25, allocations: 0.9644 MB / 2.66 GB, free: 52.54 MB / 0.8386 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.01206/7.262, allocations: 6.825 MB / 2.667 GB, free: 45.22 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003042/7.265, allocations: 1.259 MB / 2.668 GB, free: 43.85 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001251/7.266, allocations: 368.8 kB / 2.668 GB, free: 43.49 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006244/7.272, allocations: 2.866 MB / 2.671 GB, free: 40.3 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001299/7.274, allocations: 402.9 kB / 2.672 GB, free: 39.9 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008649/7.275, allocations: 83.41 kB / 2.672 GB, free: 39.82 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=59): time 3.837e-06/7.275, allocations: 0 / 2.672 GB, free: 39.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=59): time 0.004281/7.279, allocations: 1.183 MB / 2.673 GB, free: 38.59 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.546e-05/7.279, allocations: 170.8 kB / 2.673 GB, free: 38.39 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002762/7.282, allocations: 1.507 MB / 2.674 GB, free: 36.88 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0002427/7.282, allocations: 45.3 kB / 2.675 GB, free: 36.83 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008771/7.283, allocations: 0.8917 MB / 2.675 GB, free: 35.93 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002272/7.283, allocations: 212.4 kB / 2.676 GB, free: 35.73 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.685e-05/7.283, allocations: 20 kB / 2.676 GB, free: 35.71 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.212e-05/7.283, allocations: 353.9 kB / 2.676 GB, free: 35.36 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001275/7.285, allocations: 329.8 kB / 2.676 GB, free: 35.04 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001456/7.286, allocations: 0.7591 MB / 2.677 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001365/7.288, allocations: 490.6 kB / 2.677 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/7.288, allocations: 4 kB / 2.677 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003733/7.291, allocations: 1.244 MB / 2.679 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002447/7.292, allocations: 472.6 kB / 2.679 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-05/7.292, allocations: 15.98 kB / 2.679 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.791e-05/7.292, allocations: 27.94 kB / 2.679 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001688/7.293, allocations: 235.6 kB / 2.679 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.663e-05/7.293, allocations: 19.94 kB / 2.679 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002102/7.296, allocations: 127.5 kB / 2.68 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001591/7.296, allocations: 63.97 kB / 2.68 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/7.296, allocations: 4 kB / 2.68 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003077/7.299, allocations: 1.041 MB / 2.681 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.919e-05/7.299, allocations: 16.75 kB / 2.681 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/7.299, allocations: 16 kB / 2.681 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/7.301, allocations: 239.6 kB / 2.681 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.427e-05/7.301, allocations: 19.94 kB / 2.681 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001986/7.303, allocations: 114.1 kB / 2.681 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001431/7.303, allocations: 55.98 kB / 2.681 GB, free: 29.71 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (122): * Single equations (assignments): 117 * 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.001226/7.304, allocations: 482.7 kB / 2.682 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000408/7.304, allocations: 169.8 kB / 2.682 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003651/7.308, allocations: 1.124 MB / 2.683 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-05/7.308, allocations: 12 kB / 2.683 GB, free: 27.89 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/7.308, allocations: 0 / 2.683 GB, free: 27.89 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002469/7.311, allocations: 0.9632 MB / 2.684 GB, free: 26.86 MB / 0.8386 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.00601/7.317, allocations: 2.289 MB / 2.686 GB, free: 24.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/7.317, allocations: 0 / 2.686 GB, free: 24.51 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001211/7.318, allocations: 131.8 kB / 2.686 GB, free: 24.38 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001741/7.318, allocations: 28.83 kB / 2.686 GB, free: 24.35 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.842e-05/7.318, allocations: 19.98 kB / 2.686 GB, free: 24.33 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009431/7.319, allocations: 1.3 MB / 2.687 GB, free: 22.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/7.319, allocations: 0 / 2.687 GB, free: 22.9 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004243/7.323, allocations: 1.496 MB / 2.689 GB, free: 21.36 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008131/7.324, allocations: 330.7 kB / 2.689 GB, free: 21.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004246/7.325, allocations: 19.98 kB / 2.689 GB, free: 21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001508/7.326, allocations: 95.81 kB / 2.689 GB, free: 20.9 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/7.326, allocations: 52.48 kB / 2.689 GB, free: 20.85 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.5e-05/7.327, allocations: 27.98 kB / 2.689 GB, free: 20.82 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.002008/7.329, allocations: 1.059 MB / 2.69 GB, free: 19.74 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.31e-07/7.329, allocations: 0 / 2.69 GB, free: 19.74 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.003805/7.332, allocations: 0.9902 MB / 2.691 GB, free: 18.75 MB / 0.8386 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002787/7.335, allocations: 1.205 MB / 2.693 GB, free: 17.8 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.004553/7.34, allocations: 1.637 MB / 2.694 GB, free: 16.1 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 6.802e-06/7.34, allocations: 4 kB / 2.694 GB, free: 16.1 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001507/7.341, allocations: 0.4954 MB / 2.695 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005837/7.347, allocations: 0.7483 MB / 2.695 GB, free: 14.87 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007693/7.355, allocations: 3.671 MB / 2.699 GB, free: 11.18 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/7.356, allocations: 1.403 MB / 2.7 GB, free: 9.75 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.002919/7.359, allocations: 416.7 kB / 2.701 GB, free: 9.375 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004905/7.359, allocations: 143.4 kB / 2.701 GB, free: 9.234 MB / 0.8386 GB Notification: Performance of SimCode: time 1.112e-06/7.359, allocations: 0 / 2.701 GB, free: 9.234 MB / 0.8386 GB Notification: Performance of Templates: time 0.7039/8.063, allocations: 34.99 MB / 2.735 GB, free: 105.5 MB / 0.8386 GB