Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.779/4.779, allocations: 0.5623 GB / 0.5775 GB, free: 3.379 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00254/0.00254, allocations: 357.3 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.286/4.286, allocations: 410.7 MB / 1.113 GB, free: 5.922 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001893/0.001893, allocations: 181.4 kB / 1.226 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004909/0.0004913, allocations: 12 kB / 1.349 GB, free: 8.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7504/0.7509, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.234/1.985, allocations: 454.4 MB / 1.905 GB, free: 84.18 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003282/1.985, allocations: 102.5 kB / 1.905 GB, free: 84.12 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.982/7.967, allocations: 1.163 GB / 3.068 GB, free: 114.8 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.345e-06/7.967, allocations: 0 / 3.068 GB, free: 114.8 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0003817/7.968, allocations: 58.45 kB / 3.069 GB, free: 114.7 MB / 0.9636 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.009494/7.977, allocations: 2.565 MB / 3.071 GB, free: 112.1 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/7.977, allocations: 11.62 kB / 3.071 GB, free: 112.1 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003772/7.981, allocations: 459 kB / 3.071 GB, free: 111.7 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008942/7.99, allocations: 2.23 MB / 3.074 GB, free: 109.4 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001752/7.99, allocations: 94.22 kB / 3.074 GB, free: 109.4 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000507/7.991, allocations: 123.4 kB / 3.074 GB, free: 109.2 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003916/7.995, allocations: 1.327 MB / 3.075 GB, free: 107.8 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.201e-05/7.995, allocations: 0 / 3.075 GB, free: 107.8 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001813/7.995, allocations: 48 kB / 3.075 GB, free: 107.8 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-05/7.995, allocations: 39.52 kB / 3.075 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003772/7.999, allocations: 0.9607 MB / 3.076 GB, free: 106.8 MB / 0.9636 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.01243/8.012, allocations: 6.844 MB / 3.083 GB, free: 99.47 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003033/8.015, allocations: 1.274 MB / 3.084 GB, free: 98.11 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001295/8.016, allocations: 365.5 kB / 3.084 GB, free: 97.75 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006332/8.022, allocations: 2.874 MB / 3.087 GB, free: 94.57 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001361/8.024, allocations: 410 kB / 3.088 GB, free: 94.16 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009697/8.025, allocations: 90.23 kB / 3.088 GB, free: 94.07 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=60): time 4.328e-06/8.025, allocations: 0 / 3.088 GB, free: 94.07 MB / 0.9636 GB Notification: Performance of matching and sorting (n=60): time 0.004538/8.029, allocations: 1.199 MB / 3.089 GB, free: 92.83 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.485e-05/8.029, allocations: 170.7 kB / 3.089 GB, free: 92.62 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002999/8.032, allocations: 1.511 MB / 3.091 GB, free: 91.11 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002584/8.033, allocations: 47.03 kB / 3.091 GB, free: 91.06 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009175/8.034, allocations: 0.8851 MB / 3.091 GB, free: 90.17 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002817/8.034, allocations: 214.2 kB / 3.092 GB, free: 89.96 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.678e-05/8.034, allocations: 23.94 kB / 3.092 GB, free: 89.94 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.455e-05/8.034, allocations: 353.9 kB / 3.092 GB, free: 89.59 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/8.035, allocations: 329.8 kB / 3.092 GB, free: 89.27 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001494/8.037, allocations: 0.7552 MB / 3.093 GB, free: 88.32 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001544/8.039, allocations: 459.8 kB / 3.094 GB, free: 87.87 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.277e-05/8.039, allocations: 4 kB / 3.094 GB, free: 87.87 MB / 0.9636 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.004197/8.043, allocations: 1.216 MB / 3.095 GB, free: 86.64 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002729/8.043, allocations: 447.8 kB / 3.095 GB, free: 86.04 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.7e-05/8.043, allocations: 12 kB / 3.095 GB, free: 86.03 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.779e-05/8.043, allocations: 20 kB / 3.095 GB, free: 86.01 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00184/8.045, allocations: 247.6 kB / 3.095 GB, free: 85.77 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.237e-05/8.045, allocations: 19.94 kB / 3.095 GB, free: 85.75 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002334/8.047, allocations: 122 kB / 3.096 GB, free: 85.63 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003283/8.048, allocations: 55.98 kB / 3.096 GB, free: 85.58 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/8.048, allocations: 7.953 kB / 3.096 GB, free: 85.57 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003688/8.052, allocations: 1.04 MB / 3.097 GB, free: 84.52 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.307e-05/8.052, allocations: 16.16 kB / 3.097 GB, free: 84.51 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/8.052, allocations: 20 kB / 3.097 GB, free: 84.49 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002395/8.054, allocations: 235.6 kB / 3.097 GB, free: 84.26 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.93e-05/8.054, allocations: 19.94 kB / 3.097 GB, free: 84.24 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003025/8.057, allocations: 119.8 kB / 3.097 GB, free: 84.12 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002619/8.058, allocations: 55.98 kB / 3.097 GB, free: 84.07 MB / 0.9636 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 (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.00136/8.059, allocations: 480.7 kB / 3.098 GB, free: 83.59 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005448/8.06, allocations: 169.9 kB / 3.098 GB, free: 83.42 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004178/8.064, allocations: 1.139 MB / 3.099 GB, free: 82.26 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-05/8.064, allocations: 12 kB / 3.099 GB, free: 82.25 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/8.064, allocations: 0 / 3.099 GB, free: 82.25 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002806/8.067, allocations: 0.9671 MB / 3.1 GB, free: 81.21 MB / 0.9636 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.007183/8.074, allocations: 2.318 MB / 3.102 GB, free: 78.82 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.387e-06/8.074, allocations: 0 / 3.102 GB, free: 78.82 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001315/8.075, allocations: 131.9 kB / 3.102 GB, free: 78.69 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001991/8.076, allocations: 24.84 kB / 3.102 GB, free: 78.66 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001049/8.076, allocations: 35.81 kB / 3.102 GB, free: 78.62 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001031/8.077, allocations: 1.303 MB / 3.103 GB, free: 77.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/8.077, allocations: 0 / 3.103 GB, free: 77.2 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00467/8.081, allocations: 1.509 MB / 3.105 GB, free: 75.64 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00117/8.083, allocations: 342.6 kB / 3.105 GB, free: 75.29 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005018/8.083, allocations: 19.81 kB / 3.105 GB, free: 75.27 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001858/8.085, allocations: 99.81 kB / 3.105 GB, free: 75.17 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001919/8.085, allocations: 52.48 kB / 3.105 GB, free: 75.12 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/8.085, allocations: 35.97 kB / 3.105 GB, free: 75.09 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002451/8.088, allocations: 1.071 MB / 3.107 GB, free: 73.99 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.91e-07/8.088, allocations: 0 / 3.107 GB, free: 73.99 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.005166/8.093, allocations: 0.9972 MB / 3.107 GB, free: 73 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (69): * Single equations (assignments): 60 * 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.003652/8.097, allocations: 1.302 MB / 3.109 GB, free: 72 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.004862/8.102, allocations: 1.541 MB / 3.11 GB, free: 70.43 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/8.102, allocations: 4 kB / 3.11 GB, free: 70.43 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001649/8.103, allocations: 0.5032 MB / 3.111 GB, free: 69.91 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0061/8.11, allocations: 0.7494 MB / 3.111 GB, free: 69.19 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008254/8.118, allocations: 3.698 MB / 3.115 GB, free: 65.48 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001031/8.119, allocations: 1.403 MB / 3.116 GB, free: 64.05 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002969/8.122, allocations: 445.6 kB / 3.117 GB, free: 63.65 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005746/8.123, allocations: 131.4 kB / 3.117 GB, free: 63.52 MB / 0.9636 GB Notification: Performance of SimCode: time 1.042e-06/8.123, allocations: 0 / 3.117 GB, free: 63.52 MB / 0.9636 GB Notification: Performance of Templates: time 0.08687/8.209, allocations: 35.44 MB / 3.152 GB, free: 28.86 MB / 0.9636 GB