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_u.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_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004209/0.004208, 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.001157/0.001156, 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.874/3.874, allocations: 389.1 MB / 406.5 MB, free: 11.83 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.891/3.891, allocations: 472.3 MB / 0.9024 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004854/0.0004857, allocations: 12.88 kB / 1.008 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1689, allocations: 98.71 MB / 1.105 GB, free: 42.03 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.759/1.928, allocations: 431.9 MB / 1.526 GB, free: 217.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/1.928, allocations: 106.2 kB / 1.527 GB, free: 217.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.3/7.228, allocations: 1.086 GB / 2.613 GB, free: 96.57 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.946e-06/7.228, allocations: 0 / 2.613 GB, free: 96.57 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0003454/7.228, allocations: 60 kB / 2.613 GB, free: 96.55 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.009772/7.238, allocations: 2.675 MB / 2.616 GB, free: 94.63 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/7.238, allocations: 10.12 kB / 2.616 GB, free: 94.63 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002886/7.241, allocations: 376.3 kB / 2.616 GB, free: 94.47 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008836/7.25, allocations: 2.373 MB / 2.618 GB, free: 92.84 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/7.25, allocations: 97.55 kB / 2.618 GB, free: 92.8 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003502/7.251, allocations: 133.4 kB / 2.619 GB, free: 92.76 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003737/7.254, allocations: 1.422 MB / 2.62 GB, free: 91.36 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.457e-05/7.254, allocations: 7.688 kB / 2.62 GB, free: 91.35 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001822/7.255, allocations: 52 kB / 2.62 GB, free: 91.3 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.812e-05/7.255, allocations: 35.98 kB / 2.62 GB, free: 91.27 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003437/7.258, allocations: 1.035 MB / 2.621 GB, free: 90.23 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.01238/7.271, allocations: 7.071 MB / 2.628 GB, free: 82.71 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002929/7.273, allocations: 1.292 MB / 2.629 GB, free: 81.33 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001249/7.275, allocations: 399.6 kB / 2.63 GB, free: 80.94 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005016/7.28, allocations: 2.208 MB / 2.632 GB, free: 78.52 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001349/7.281, allocations: 429.4 kB / 2.632 GB, free: 78.1 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001064/7.282, allocations: 87.08 kB / 2.632 GB, free: 78.02 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=67): time 4.328e-06/7.282, allocations: 0 / 2.632 GB, free: 78.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=67): time 0.00438/7.287, allocations: 1.279 MB / 2.633 GB, free: 76.7 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.707e-05/7.287, allocations: 162.8 kB / 2.634 GB, free: 76.5 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002698/7.29, allocations: 1.442 MB / 2.635 GB, free: 75.06 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0002684/7.29, allocations: 51.19 kB / 2.635 GB, free: 75.01 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008829/7.291, allocations: 0.8949 MB / 2.636 GB, free: 74.11 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002854/7.291, allocations: 239.7 kB / 2.636 GB, free: 73.88 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.89e-05/7.291, allocations: 23.94 kB / 2.636 GB, free: 73.86 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.312e-05/7.291, allocations: 345.9 kB / 2.637 GB, free: 73.51 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001217/7.292, allocations: 336.7 kB / 2.637 GB, free: 73.18 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001431/7.294, allocations: 0.7305 MB / 2.638 GB, free: 72.3 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/7.295, allocations: 472.1 kB / 2.638 GB, free: 71.86 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.026e-05/7.295, allocations: 4 kB / 2.638 GB, free: 71.85 MB / 0.8386 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003679/7.299, allocations: 1.229 MB / 2.639 GB, free: 70.61 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002172/7.299, allocations: 391.7 kB / 2.64 GB, free: 70.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.189e-05/7.299, allocations: 12 kB / 2.64 GB, free: 70.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.897e-05/7.299, allocations: 15.98 kB / 2.64 GB, free: 70.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001755/7.301, allocations: 251.6 kB / 2.64 GB, free: 69.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.428e-05/7.301, allocations: 15.94 kB / 2.64 GB, free: 69.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002293/7.303, allocations: 131.7 kB / 2.64 GB, free: 69.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001615/7.304, allocations: 51.98 kB / 2.64 GB, free: 69.63 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/7.304, allocations: 4 kB / 2.64 GB, free: 69.62 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002943/7.307, allocations: 1.03 MB / 2.641 GB, free: 68.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.767e-05/7.307, allocations: 12 kB / 2.641 GB, free: 68.58 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/7.307, allocations: 12 kB / 2.641 GB, free: 68.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/7.308, allocations: 247.8 kB / 2.641 GB, free: 68.33 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-05/7.308, allocations: 19.94 kB / 2.641 GB, free: 68.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002176/7.311, allocations: 123.7 kB / 2.641 GB, free: 68.19 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001435/7.311, allocations: 51.98 kB / 2.641 GB, free: 68.14 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (121): * Single equations (assignments): 117 * Array equations: 2 * Algorithm blocks: 1 * 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.001272/7.312, allocations: 496.7 kB / 2.642 GB, free: 67.64 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004158/7.312, allocations: 169.8 kB / 2.642 GB, free: 67.47 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003509/7.316, allocations: 1.152 MB / 2.643 GB, free: 66.29 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.7e-05/7.316, allocations: 12 kB / 2.643 GB, free: 66.28 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.966e-06/7.316, allocations: 4 kB / 2.643 GB, free: 66.28 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00243/7.318, allocations: 0.8561 MB / 2.644 GB, free: 65.39 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.0063/7.325, allocations: 2.399 MB / 2.646 GB, free: 62.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/7.325, allocations: 0 / 2.646 GB, free: 62.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001327/7.326, allocations: 159.8 kB / 2.647 GB, free: 62.78 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00017/7.326, allocations: 20.84 kB / 2.647 GB, free: 62.75 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.429e-05/7.326, allocations: 19.98 kB / 2.647 GB, free: 62.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009576/7.327, allocations: 1.305 MB / 2.648 GB, free: 61.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/7.327, allocations: 3.953 kB / 2.648 GB, free: 61.3 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00428/7.332, allocations: 1.567 MB / 2.649 GB, free: 59.7 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/7.333, allocations: 330.8 kB / 2.65 GB, free: 59.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003371/7.333, allocations: 19.94 kB / 2.65 GB, free: 59.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001598/7.335, allocations: 115.7 kB / 2.65 GB, free: 59.22 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/7.335, allocations: 52.56 kB / 2.65 GB, free: 59.17 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-05/7.335, allocations: 35.5 kB / 2.65 GB, free: 59.14 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001895/7.337, allocations: 0.9544 MB / 2.651 GB, free: 58.19 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.11e-07/7.337, allocations: 0 / 2.651 GB, free: 58.19 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.004766/7.342, allocations: 1.076 MB / 2.652 GB, free: 57.11 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.vol.dynBal.U) * 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 (75): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.002732/7.345, allocations: 1.129 MB / 2.653 GB, free: 56.11 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.004731/7.349, allocations: 1.578 MB / 2.655 GB, free: 54.5 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/7.349, allocations: 3.938 kB / 2.655 GB, free: 54.49 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001587/7.351, allocations: 0.5256 MB / 2.655 GB, free: 53.95 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006492/7.358, allocations: 0.7654 MB / 2.656 GB, free: 53.21 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008464/7.366, allocations: 3.82 MB / 2.66 GB, free: 49.37 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/7.367, allocations: 1.444 MB / 2.661 GB, free: 47.9 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.003047/7.37, allocations: 406.2 kB / 2.661 GB, free: 47.53 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005981/7.371, allocations: 139.3 kB / 2.662 GB, free: 47.39 MB / 0.8386 GB Notification: Performance of SimCode: time 1.263e-06/7.371, allocations: 0 / 2.662 GB, free: 47.39 MB / 0.8386 GB Notification: Performance of Templates: time 0.09163/7.463, allocations: 35.48 MB / 2.696 GB, free: 12.83 MB / 0.8386 GB