Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.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_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.979/4.979, allocations: 0.5623 GB / 0.5775 GB, free: 3.32 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.002836/0.002835, allocations: 360 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.258/4.258, allocations: 410.7 MB / 1.113 GB, free: 5.898 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.001866/0.001865, allocations: 182 kB / 1.226 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006409/0.000641, allocations: 12 kB / 1.349 GB, free: 8.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7949/0.7956, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.239/2.034, allocations: 447.9 MB / 1.899 GB, free: 90.48 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003504/2.035, allocations: 108.2 kB / 1.899 GB, free: 90.43 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.993/8.027, allocations: 1.127 GB / 3.026 GB, free: 158.8 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.257e-06/8.028, allocations: 0 / 3.026 GB, free: 158.8 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0003773/8.028, allocations: 56.69 kB / 3.026 GB, free: 158.8 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.01039/8.038, allocations: 2.682 MB / 3.028 GB, free: 156 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/8.038, allocations: 11.62 kB / 3.028 GB, free: 156 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003007/8.041, allocations: 373 kB / 3.029 GB, free: 155.7 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009515/8.051, allocations: 2.369 MB / 3.031 GB, free: 153.3 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001424/8.051, allocations: 99.48 kB / 3.031 GB, free: 153.2 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004018/8.052, allocations: 138.3 kB / 3.031 GB, free: 153.1 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004149/8.056, allocations: 1.441 MB / 3.033 GB, free: 151.6 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.867e-05/8.056, allocations: 7.891 kB / 3.033 GB, free: 151.6 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002167/8.056, allocations: 48 kB / 3.033 GB, free: 151.5 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.773e-05/8.056, allocations: 36 kB / 3.033 GB, free: 151.5 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003987/8.06, allocations: 1.034 MB / 3.034 GB, free: 150.4 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.01353/8.074, allocations: 7.088 MB / 3.041 GB, free: 142.9 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003016/8.077, allocations: 1.298 MB / 3.042 GB, free: 141.5 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001358/8.078, allocations: 402.2 kB / 3.042 GB, free: 141.1 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005232/8.084, allocations: 2.233 MB / 3.044 GB, free: 138.7 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001387/8.085, allocations: 452.5 kB / 3.045 GB, free: 138.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001171/8.086, allocations: 82.59 kB / 3.045 GB, free: 138.2 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=68): time 4.268e-06/8.086, allocations: 0 / 3.045 GB, free: 138.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=68): time 0.004696/8.091, allocations: 1.289 MB / 3.046 GB, free: 136.8 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.566e-05/8.091, allocations: 162.8 kB / 3.046 GB, free: 136.6 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002924/8.094, allocations: 1.437 MB / 3.048 GB, free: 135.2 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0003141/8.094, allocations: 41.7 kB / 3.048 GB, free: 135.2 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009248/8.095, allocations: 0.9045 MB / 3.049 GB, free: 134.2 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003344/8.096, allocations: 239.2 kB / 3.049 GB, free: 134 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.957e-05/8.096, allocations: 21.81 kB / 3.049 GB, free: 134 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001042/8.096, allocations: 341.9 kB / 3.049 GB, free: 133.7 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001275/8.097, allocations: 348.9 kB / 3.05 GB, free: 133.3 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001503/8.099, allocations: 0.7299 MB / 3.05 GB, free: 132.4 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00142/8.1, allocations: 465.8 kB / 3.051 GB, free: 132 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/8.1, allocations: 0 / 3.051 GB, free: 132 MB / 0.9636 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003927/8.104, allocations: 1.238 MB / 3.052 GB, free: 130.8 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.000246/8.104, allocations: 388.5 kB / 3.052 GB, free: 130.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.245e-05/8.104, allocations: 9.906 kB / 3.052 GB, free: 130.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.827e-05/8.104, allocations: 16 kB / 3.052 GB, free: 130.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001821/8.106, allocations: 250.7 kB / 3.053 GB, free: 130 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.87e-05/8.106, allocations: 19.94 kB / 3.053 GB, free: 130 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002379/8.109, allocations: 127.2 kB / 3.053 GB, free: 129.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001901/8.109, allocations: 55.98 kB / 3.053 GB, free: 129.8 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/8.109, allocations: 4 kB / 3.053 GB, free: 129.8 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003269/8.112, allocations: 1.066 MB / 3.054 GB, free: 128.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-05/8.112, allocations: 8 kB / 3.054 GB, free: 128.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/8.112, allocations: 19.94 kB / 3.054 GB, free: 128.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001721/8.114, allocations: 243 kB / 3.054 GB, free: 128.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.422e-05/8.114, allocations: 23.89 kB / 3.054 GB, free: 128.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002289/8.116, allocations: 128.3 kB / 3.054 GB, free: 128.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001735/8.117, allocations: 55.92 kB / 3.054 GB, free: 128.3 MB / 0.9636 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.001512/8.118, allocations: 490.8 kB / 3.055 GB, free: 127.8 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000549/8.119, allocations: 173.8 kB / 3.055 GB, free: 127.6 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003865/8.123, allocations: 1.16 MB / 3.056 GB, free: 126.5 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-05/8.123, allocations: 11.98 kB / 3.056 GB, free: 126.4 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/8.123, allocations: 0 / 3.056 GB, free: 126.4 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002591/8.125, allocations: 0.8665 MB / 3.057 GB, free: 125.6 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.006892/8.132, allocations: 2.445 MB / 3.059 GB, free: 123.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/8.132, allocations: 4 kB / 3.059 GB, free: 123.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001382/8.134, allocations: 154 kB / 3.059 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001951/8.134, allocations: 27.53 kB / 3.059 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/8.134, allocations: 23.98 kB / 3.059 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001026/8.135, allocations: 1.296 MB / 3.061 GB, free: 121.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/8.135, allocations: 7.891 kB / 3.061 GB, free: 121.4 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004673/8.14, allocations: 1.584 MB / 3.062 GB, free: 119.8 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0012/8.141, allocations: 334.8 kB / 3.063 GB, free: 119.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003229/8.141, allocations: 16 kB / 3.063 GB, free: 119.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001811/8.143, allocations: 119.4 kB / 3.063 GB, free: 119.3 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001963/8.143, allocations: 60.5 kB / 3.063 GB, free: 119.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001259/8.144, allocations: 31.98 kB / 3.063 GB, free: 119.3 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002149/8.146, allocations: 0.9614 MB / 3.064 GB, free: 118.3 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.01e-07/8.146, allocations: 0 / 3.064 GB, free: 118.3 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004904/8.151, allocations: 1.097 MB / 3.065 GB, free: 117.2 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.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 (76): * Single equations (assignments): 68 * 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.002845/8.154, allocations: 1.114 MB / 3.066 GB, free: 116.2 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.004885/8.158, allocations: 1.592 MB / 3.067 GB, free: 114.6 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 8.806e-06/8.159, allocations: 0 / 3.067 GB, free: 114.6 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001646/8.16, allocations: 0.5387 MB / 3.068 GB, free: 114.1 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006286/8.167, allocations: 0.7702 MB / 3.069 GB, free: 113.3 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00811/8.175, allocations: 3.843 MB / 3.072 GB, free: 109.5 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/8.176, allocations: 1.444 MB / 3.074 GB, free: 108 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.003198/8.179, allocations: 413.8 kB / 3.074 GB, free: 107.6 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006089/8.18, allocations: 143.3 kB / 3.074 GB, free: 107.5 MB / 0.9636 GB Notification: Performance of SimCode: time 1.212e-06/8.18, allocations: 0 / 3.074 GB, free: 107.5 MB / 0.9636 GB Notification: Performance of Templates: time 0.09156/8.271, allocations: 35.93 MB / 3.109 GB, free: 72.6 MB / 0.9636 GB