Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.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.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 loadModel(Buildings): time 3.79/3.79, allocations: 432.7 MB / 445.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.938e-05/2.956e-05, allocations: 4.469 kB / 0.5383 GB, free: 10.31 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1778, allocations: 98.73 MB / 0.6347 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.067/1.245, allocations: 437.8 MB / 1.062 GB, free: 6.02 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/1.246, allocations: 96.95 kB / 1.062 GB, free: 5.973 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.363/6.609, allocations: 1.124 GB / 2.187 GB, free: 117.3 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.023e-06/6.609, allocations: 0 / 2.187 GB, free: 117.3 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0002271/6.609, allocations: 60.42 kB / 2.187 GB, free: 117.3 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.004097/6.613, allocations: 2.087 MB / 2.189 GB, free: 116.2 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/6.613, allocations: 10.94 kB / 2.189 GB, free: 116.2 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002512/6.615, allocations: 457.2 kB / 2.189 GB, free: 116.1 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007299/6.623, allocations: 2.295 MB / 2.191 GB, free: 115.6 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.661e-05/6.623, allocations: 95.16 kB / 2.191 GB, free: 115.6 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002377/6.623, allocations: 132.4 kB / 2.192 GB, free: 115.6 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002519/6.626, allocations: 1.245 MB / 2.193 GB, free: 115.3 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.999e-05/6.626, allocations: 8.125 kB / 2.193 GB, free: 115.3 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001515/6.626, allocations: 47 kB / 2.193 GB, free: 115.3 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.972e-05/6.626, allocations: 33.48 kB / 2.193 GB, free: 115.3 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001888/6.628, allocations: 0.8307 MB / 2.194 GB, free: 115.3 MB / 0.8386 GB Warning: The model contains alias variables with conflicting start and/or 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.009624/6.638, allocations: 6.861 MB / 2.2 GB, free: 111.2 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001916/6.64, allocations: 1.134 MB / 2.201 GB, free: 110.6 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006252/6.64, allocations: 302.6 kB / 2.202 GB, free: 110.6 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005054/6.645, allocations: 2.9 MB / 2.205 GB, free: 108.6 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006957/6.646, allocations: 343.6 kB / 2.205 GB, free: 108.6 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007343/6.647, allocations: 88.17 kB / 2.205 GB, free: 108.6 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=59): time 4.873e-06/6.647, allocations: 6.969 kB / 2.205 GB, free: 108.6 MB / 0.8386 GB Notification: Performance of matching and sorting (n=59): time 0.001534/6.648, allocations: 0.6625 MB / 2.206 GB, free: 108.4 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/6.648, allocations: 165.6 kB / 2.206 GB, free: 108.2 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002457/6.651, allocations: 1.336 MB / 2.207 GB, free: 108.1 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.000187/6.651, allocations: 42.58 kB / 2.207 GB, free: 108 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001133/6.652, allocations: 0.8985 MB / 2.208 GB, free: 107.7 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003324/6.653, allocations: 203 kB / 2.208 GB, free: 107.6 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/6.653, allocations: 21.91 kB / 2.208 GB, free: 107.6 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001373/6.653, allocations: 347.5 kB / 2.209 GB, free: 107.3 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001173/6.654, allocations: 272.8 kB / 2.209 GB, free: 107.3 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001454/6.656, allocations: 0.7121 MB / 2.21 GB, free: 106.7 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/6.657, allocations: 428.1 kB / 2.21 GB, free: 106.7 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.537e-05/6.657, allocations: 3.312 kB / 2.21 GB, free: 106.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003975/6.661, allocations: 1.131 MB / 2.211 GB, free: 106.5 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.001118/6.662, allocations: 4.587 MB / 2.216 GB, free: 101.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.816e-05/6.662, allocations: 12.69 kB / 2.216 GB, free: 101.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.373e-05/6.662, allocations: 16.19 kB / 2.216 GB, free: 101.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002075/6.664, allocations: 247.9 kB / 2.216 GB, free: 101.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.581e-05/6.664, allocations: 23.31 kB / 2.216 GB, free: 101.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002939/6.667, allocations: 119.3 kB / 2.216 GB, free: 101.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002382/6.668, allocations: 59.94 kB / 2.216 GB, free: 101.6 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/6.668, allocations: 2.844 kB / 2.216 GB, free: 101.6 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0035/6.671, allocations: 0.9664 MB / 2.217 GB, free: 101.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.654e-05/6.671, allocations: 10.62 kB / 2.217 GB, free: 101.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.262e-05/6.671, allocations: 18.47 kB / 2.217 GB, free: 101.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002055/6.673, allocations: 237.5 kB / 2.217 GB, free: 101.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.375e-05/6.673, allocations: 23.38 kB / 2.217 GB, free: 101.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002761/6.676, allocations: 106.1 kB / 2.217 GB, free: 101.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002255/6.676, allocations: 57.97 kB / 2.217 GB, free: 101.6 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 () * 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.0004704/6.677, allocations: 175.1 kB / 2.218 GB, free: 101.4 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004774/6.677, allocations: 169.4 kB / 2.218 GB, free: 101.4 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00385/6.681, allocations: 0.952 MB / 2.219 GB, free: 101.2 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.458e-05/6.681, allocations: 7.281 kB / 2.219 GB, free: 101.2 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/6.681, allocations: 0 / 2.219 GB, free: 101.2 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002257/6.684, allocations: 0.7895 MB / 2.219 GB, free: 101 MB / 0.8386 GB Warning: The model contains alias variables with conflicting start and/or 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.007361/6.691, allocations: 2.102 MB / 2.221 GB, free: 100.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.297e-05/6.691, allocations: 3.062 kB / 2.221 GB, free: 100.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001596/6.693, allocations: 128.5 kB / 2.222 GB, free: 100.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002992/6.693, allocations: 33.22 kB / 2.222 GB, free: 100.6 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001295/6.693, allocations: 23.5 kB / 2.222 GB, free: 100.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001438/6.695, allocations: 1.31 MB / 2.223 GB, free: 99.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.604e-06/6.695, allocations: 2.906 kB / 2.223 GB, free: 99.34 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004195/6.699, allocations: 1.269 MB / 2.224 GB, free: 99.05 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001202/6.7, allocations: 338.4 kB / 2.225 GB, free: 98.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005796/6.701, allocations: 24.98 kB / 2.225 GB, free: 98.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002181/6.703, allocations: 93.41 kB / 2.225 GB, free: 98.85 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000214/6.703, allocations: 53.14 kB / 2.225 GB, free: 98.84 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001458/6.703, allocations: 32.98 kB / 2.225 GB, free: 98.84 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.003156/6.707, allocations: 1.076 MB / 2.226 GB, free: 98.68 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.69e-06/6.707, allocations: 0 / 2.226 GB, free: 98.68 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.006334/6.713, allocations: 1.013 MB / 2.227 GB, free: 98.52 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) * 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.004232/6.717, allocations: 1.211 MB / 2.228 GB, free: 98.22 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.004671/6.722, allocations: 1.541 MB / 2.229 GB, free: 97.88 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 8.043e-06/6.722, allocations: 0 / 2.229 GB, free: 97.88 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001431/6.723, allocations: 459.7 kB / 2.23 GB, free: 97.77 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007465/6.731, allocations: 0.7276 MB / 2.231 GB, free: 97.75 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008612/6.74, allocations: 2.323 MB / 2.233 GB, free: 97.1 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001571/6.741, allocations: 1.406 MB / 2.234 GB, free: 96.38 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.005788/6.747, allocations: 0.5944 MB / 2.235 GB, free: 96.36 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005565/6.748, allocations: 114.1 kB / 2.235 GB, free: 96.35 MB / 0.8386 GB Notification: Performance of SimCode: time 2.558e-06/6.748, allocations: 0 / 2.235 GB, free: 96.35 MB / 0.8386 GB Notification: Performance of Templates: time 0.09365/6.841, allocations: 40.2 MB / 2.274 GB, free: 79.53 MB / 0.8386 GB