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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.866/3.866, allocations: 433.4 MB / 440.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.503e-05/2.54e-05, allocations: 8 kB / 0.5325 GB, free: 1.957 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4929/0.4929, allocations: 98.7 MB / 0.6289 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9876/1.481, allocations: 431.2 MB / 1.05 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002524/1.481, allocations: 96.77 kB / 1.05 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.08/6.561, allocations: 1.088 GB / 2.138 GB, free: 114.7 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.068e-06/6.561, allocations: 0 / 2.138 GB, free: 114.7 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.000251/6.561, allocations: 55.45 kB / 2.138 GB, free: 114.7 MB / 0.823 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.00479/6.566, allocations: 2.18 MB / 2.14 GB, free: 113.8 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/6.566, allocations: 6.906 kB / 2.14 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002015/6.568, allocations: 375.7 kB / 2.14 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007544/6.576, allocations: 2.473 MB / 2.143 GB, free: 113.2 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.234e-05/6.576, allocations: 46.5 kB / 2.143 GB, free: 113.2 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003203/6.576, allocations: 79.03 kB / 2.143 GB, free: 113.2 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002234/6.578, allocations: 0.8635 MB / 2.144 GB, free: 113.2 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002439/6.581, allocations: 1.175 MB / 2.145 GB, free: 112.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.664e-05/6.581, allocations: 6.625 kB / 2.145 GB, free: 112.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001519/6.581, allocations: 3.406 kB / 2.145 GB, free: 112.9 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-05/6.581, allocations: 33.53 kB / 2.145 GB, free: 112.9 MB / 0.823 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.01065/6.592, allocations: 6.899 MB / 2.152 GB, free: 108.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/6.593, allocations: 1.185 MB / 2.153 GB, free: 108.3 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006453/6.594, allocations: 330.2 kB / 2.153 GB, free: 108.3 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004242/6.598, allocations: 2.216 MB / 2.155 GB, free: 107 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007068/6.599, allocations: 358.8 kB / 2.156 GB, free: 106.9 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009202/6.6, allocations: 66.98 kB / 2.156 GB, free: 106.9 MB / 0.823 GB Notification: Performance of pre-optimization done (n=67): time 5.438e-06/6.6, allocations: 0 / 2.156 GB, free: 106.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=67): time 0.002845/6.603, allocations: 0.81 MB / 2.156 GB, free: 106.7 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/6.603, allocations: 165.7 kB / 2.157 GB, free: 106.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002181/6.605, allocations: 1.197 MB / 2.158 GB, free: 106.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001564/6.605, allocations: 36.23 kB / 2.158 GB, free: 106.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008546/6.606, allocations: 0.8928 MB / 2.159 GB, free: 106 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002462/6.606, allocations: 233 kB / 2.159 GB, free: 105.9 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.094e-05/6.606, allocations: 3.344 kB / 2.159 GB, free: 105.9 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.908e-05/6.607, allocations: 344.1 kB / 2.159 GB, free: 105.6 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005744/6.607, allocations: 283 kB / 2.159 GB, free: 105.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000794/6.608, allocations: 0.6567 MB / 2.16 GB, free: 105.1 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00179/6.61, allocations: 474 kB / 2.161 GB, free: 105.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/6.61, allocations: 3.812 kB / 2.161 GB, free: 105.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003432/6.613, allocations: 1.103 MB / 2.162 GB, free: 105 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007581/6.614, allocations: 3.736 MB / 2.165 GB, free: 101 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.229e-05/6.614, allocations: 13.7 kB / 2.165 GB, free: 101 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.539e-05/6.614, allocations: 14.69 kB / 2.165 GB, free: 101 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/6.615, allocations: 254.6 kB / 2.166 GB, free: 101 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.108e-05/6.615, allocations: 20.19 kB / 2.166 GB, free: 101 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001877/6.617, allocations: 107.2 kB / 2.166 GB, free: 101 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002052/6.618, allocations: 57.86 kB / 2.166 GB, free: 101 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/6.618, allocations: 6.938 kB / 2.166 GB, free: 101 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002865/6.62, allocations: 0.885 MB / 2.167 GB, free: 101 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.101e-05/6.62, allocations: 14.66 kB / 2.167 GB, free: 101 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/6.621, allocations: 14.53 kB / 2.167 GB, free: 101 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/6.622, allocations: 241.2 kB / 2.167 GB, free: 101 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.796e-05/6.622, allocations: 23.47 kB / 2.167 GB, free: 101 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001885/6.624, allocations: 102.2 kB / 2.167 GB, free: 101 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001946/6.624, allocations: 52.92 kB / 2.167 GB, free: 101 MB / 0.823 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.0003151/6.624, allocations: 136.2 kB / 2.167 GB, free: 100.9 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000446/6.625, allocations: 166.2 kB / 2.167 GB, free: 100.8 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002856/6.628, allocations: 0.9774 MB / 2.168 GB, free: 100.7 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/6.628, allocations: 9.812 kB / 2.168 GB, free: 100.7 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/6.628, allocations: 0 / 2.168 GB, free: 100.7 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001808/6.629, allocations: 0.6951 MB / 2.169 GB, free: 100.6 MB / 0.823 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.005333/6.635, allocations: 2.095 MB / 2.171 GB, free: 100.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.612e-06/6.635, allocations: 0 / 2.171 GB, free: 100.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009406/6.636, allocations: 161.4 kB / 2.171 GB, free: 100.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002066/6.636, allocations: 21.75 kB / 2.171 GB, free: 100.3 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-05/6.636, allocations: 15.19 kB / 2.171 GB, free: 100.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009145/6.637, allocations: 1.268 MB / 2.172 GB, free: 99.11 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.513e-06/6.637, allocations: 3.516 kB / 2.172 GB, free: 99.11 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003057/6.64, allocations: 1.364 MB / 2.174 GB, free: 98.82 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009687/6.641, allocations: 337 kB / 2.174 GB, free: 98.63 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002959/6.642, allocations: 0 / 2.174 GB, free: 98.63 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00139/6.643, allocations: 93.64 kB / 2.174 GB, free: 98.63 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/6.643, allocations: 57.09 kB / 2.174 GB, free: 98.63 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/6.643, allocations: 30.06 kB / 2.174 GB, free: 98.63 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.00166/6.645, allocations: 0.903 MB / 2.175 GB, free: 98.52 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.12e-06/6.645, allocations: 0 / 2.175 GB, free: 98.52 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.004433/6.649, allocations: 1.073 MB / 2.176 GB, free: 98.31 MB / 0.823 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.002383/6.652, allocations: 1.134 MB / 2.177 GB, free: 98.02 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002618/6.654, allocations: 1.414 MB / 2.179 GB, free: 97.81 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.294e-06/6.654, allocations: 2.5 kB / 2.179 GB, free: 97.81 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009041/6.655, allocations: 464.1 kB / 2.179 GB, free: 97.71 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004448/6.66, allocations: 0.7433 MB / 2.18 GB, free: 97.69 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005573/6.665, allocations: 2.327 MB / 2.182 GB, free: 97 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001102/6.667, allocations: 1.449 MB / 2.184 GB, free: 96.27 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003556/6.67, allocations: 0.544 MB / 2.184 GB, free: 96.25 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003821/6.671, allocations: 103 kB / 2.184 GB, free: 96.25 MB / 0.823 GB Notification: Performance of SimCode: time 2.278e-06/6.671, allocations: 2.594 kB / 2.184 GB, free: 96.25 MB / 0.823 GB Notification: Performance of Templates: time 0.07721/6.748, allocations: 35.27 MB / 2.219 GB, free: 94.05 MB / 0.823 GB