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_u.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_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") Notification: Performance of loadModel(Buildings): time 3.989/3.989, allocations: 432.7 MB / 445.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.913e-05/2.937e-05, allocations: 4.719 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.177, allocations: 98.72 MB / 0.6347 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.015/1.192, allocations: 431.9 MB / 1.056 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/1.192, allocations: 92.08 kB / 1.057 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.425/6.617, allocations: 1.093 GB / 2.15 GB, free: 118.9 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.174e-06/6.617, allocations: 0 / 2.15 GB, free: 118.9 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0004195/6.617, allocations: 61.22 kB / 2.15 GB, free: 118.9 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.008254/6.626, allocations: 2.177 MB / 2.152 GB, free: 117.9 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.407e-05/6.626, allocations: 11.59 kB / 2.152 GB, free: 117.9 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003374/6.629, allocations: 371.1 kB / 2.152 GB, free: 117.8 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01312/6.642, allocations: 2.467 MB / 2.155 GB, free: 117.4 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000206/6.643, allocations: 101.6 kB / 2.155 GB, free: 117.4 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005832/6.643, allocations: 137.9 kB / 2.155 GB, free: 117.4 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005276/6.649, allocations: 1.349 MB / 2.156 GB, free: 117.1 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.439e-05/6.649, allocations: 5.531 kB / 2.156 GB, free: 117.1 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002937/6.649, allocations: 54.55 kB / 2.156 GB, free: 117.1 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.332e-05/6.649, allocations: 36.56 kB / 2.156 GB, free: 117.1 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004301/6.653, allocations: 0.9163 MB / 2.157 GB, free: 117.1 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.01871/6.672, allocations: 7.124 MB / 2.164 GB, free: 113 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002875/6.675, allocations: 1.169 MB / 2.165 GB, free: 112.4 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001233/6.676, allocations: 342.9 kB / 2.166 GB, free: 112.4 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007192/6.684, allocations: 2.25 MB / 2.168 GB, free: 111.1 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001315/6.685, allocations: 384.8 kB / 2.168 GB, free: 111 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001451/6.687, allocations: 88.22 kB / 2.168 GB, free: 111 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=67): time 8.59e-06/6.687, allocations: 0 / 2.168 GB, free: 111 MB / 0.8386 GB Notification: Performance of matching and sorting (n=67): time 0.00323/6.69, allocations: 0.7349 MB / 2.169 GB, free: 110.8 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.54e-05/6.69, allocations: 164.6 kB / 2.169 GB, free: 110.7 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004271/6.694, allocations: 1.294 MB / 2.17 GB, free: 110.5 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0002838/6.695, allocations: 48.48 kB / 2.17 GB, free: 110.4 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.00137/6.696, allocations: 0.9068 MB / 2.171 GB, free: 110.1 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004517/6.696, allocations: 234.7 kB / 2.172 GB, free: 110 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/6.697, allocations: 18.69 kB / 2.172 GB, free: 110 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001349/6.697, allocations: 347 kB / 2.172 GB, free: 109.7 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/6.698, allocations: 290 kB / 2.172 GB, free: 109.7 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001495/6.7, allocations: 0.6677 MB / 2.173 GB, free: 109.2 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/6.701, allocations: 422.5 kB / 2.173 GB, free: 109.2 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.62e-05/6.701, allocations: 0 / 2.173 GB, free: 109.2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.004468/6.706, allocations: 1.119 MB / 2.174 GB, free: 109 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.00101/6.707, allocations: 3.747 MB / 2.178 GB, free: 105.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-05/6.707, allocations: 10.56 kB / 2.178 GB, free: 105.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.716e-05/6.707, allocations: 16.12 kB / 2.178 GB, free: 105.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00245/6.709, allocations: 251.9 kB / 2.178 GB, free: 105.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.956e-05/6.709, allocations: 24.64 kB / 2.178 GB, free: 105.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003266/6.713, allocations: 129.2 kB / 2.178 GB, free: 105.1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000352/6.713, allocations: 50.78 kB / 2.178 GB, free: 105.1 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/6.713, allocations: 3.188 kB / 2.178 GB, free: 105.1 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003687/6.717, allocations: 0.9374 MB / 2.179 GB, free: 105 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.985e-05/6.717, allocations: 15.03 kB / 2.179 GB, free: 105 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.055e-05/6.717, allocations: 15.62 kB / 2.179 GB, free: 105 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/6.719, allocations: 239.3 kB / 2.18 GB, free: 105 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.355e-05/6.719, allocations: 21.45 kB / 2.18 GB, free: 105 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001925/6.721, allocations: 119.4 kB / 2.18 GB, free: 105 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000196/6.721, allocations: 52.95 kB / 2.18 GB, free: 105 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 () * 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.0003365/6.721, allocations: 184.2 kB / 2.18 GB, free: 104.9 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004264/6.722, allocations: 173.5 kB / 2.18 GB, free: 104.8 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002544/6.724, allocations: 0.9684 MB / 2.181 GB, free: 104.7 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.908e-05/6.724, allocations: 10.73 kB / 2.181 GB, free: 104.7 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.392e-06/6.724, allocations: 6.969 kB / 2.181 GB, free: 104.7 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001449/6.726, allocations: 0.6763 MB / 2.182 GB, free: 104.6 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.005217/6.731, allocations: 2.247 MB / 2.184 GB, free: 104.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.191e-06/6.731, allocations: 2.516 kB / 2.184 GB, free: 104.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/6.732, allocations: 158.5 kB / 2.184 GB, free: 104.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002229/6.732, allocations: 28.55 kB / 2.184 GB, free: 104.3 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.264e-05/6.732, allocations: 25.31 kB / 2.184 GB, free: 104.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009585/6.733, allocations: 1.308 MB / 2.185 GB, free: 103 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/6.733, allocations: 0 / 2.185 GB, free: 103 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002809/6.736, allocations: 1.361 MB / 2.187 GB, free: 102.7 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009929/6.737, allocations: 335.3 kB / 2.187 GB, free: 102.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003753/6.738, allocations: 10.72 kB / 2.187 GB, free: 102.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001436/6.739, allocations: 118.2 kB / 2.187 GB, free: 102.5 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/6.739, allocations: 60.73 kB / 2.187 GB, free: 102.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.9e-05/6.739, allocations: 23.7 kB / 2.187 GB, free: 102.5 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.002017/6.741, allocations: 0.9915 MB / 2.188 GB, free: 102.4 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9.57e-07/6.742, allocations: 3.75 kB / 2.188 GB, free: 102.4 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.004763/6.746, allocations: 1.131 MB / 2.189 GB, free: 102.2 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) * 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.002557/6.749, allocations: 1.172 MB / 2.191 GB, free: 101.9 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002946/6.752, allocations: 1.492 MB / 2.192 GB, free: 101.7 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/6.752, allocations: 0 / 2.192 GB, free: 101.7 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0009967/6.753, allocations: 486.3 kB / 2.192 GB, free: 101.6 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004249/6.757, allocations: 0.749 MB / 2.193 GB, free: 101.6 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005613/6.763, allocations: 2.372 MB / 2.196 GB, free: 100.9 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/6.764, allocations: 1.451 MB / 2.197 GB, free: 100.2 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.003766/6.768, allocations: 0.5452 MB / 2.197 GB, free: 100.1 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003997/6.768, allocations: 113.2 kB / 2.198 GB, free: 100.1 MB / 0.8386 GB Notification: Performance of SimCode: time 1.773e-06/6.768, allocations: 0 / 2.198 GB, free: 100.1 MB / 0.8386 GB Notification: Performance of Templates: time 0.1326/6.901, allocations: 41.2 MB / 2.238 GB, free: 97.81 MB / 0.8386 GB