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 2.541/2.541, allocations: 287.9 MB / 302.9 MB, free: 8.23 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001409/0.001408, allocations: 171.1 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.924/1.924, allocations: 205.4 MB / 0.6301 GB, free: 10.38 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00107/0.00107, allocations: 94.8 kB / 0.7434 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004743/0.0004745, allocations: 20.38 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1553, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.05459/0.21, allocations: 44.86 MB / 1.023 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.03072/0.2407, allocations: 15.62 MB / 1.038 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002867/0.2436, allocations: 71.5 kB / 1.038 GB, free: 15.5 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003914/0.2476, allocations: 0.969 MB / 1.039 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.008827/0.2565, allocations: 2.329 MB / 1.041 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.01143/0.2679, allocations: 2.991 MB / 1.044 GB, free: 9.242 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.006269/0.2742, allocations: 2.776 MB / 1.047 GB, free: 6.457 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002614/0.2769, allocations: 1.245 MB / 1.048 GB, free: 5.188 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003695/0.2806, allocations: 1.362 MB / 1.049 GB, free: 3.82 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002028/0.2827, allocations: 0.9137 MB / 1.05 GB, free: 2.902 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0003724/0.2831, allocations: 71.94 kB / 1.05 GB, free: 2.832 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004166/0.2872, allocations: 1.365 MB / 1.052 GB, free: 1.465 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0008151/0.2881, allocations: 398.4 kB / 1.052 GB, free: 1.074 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0007711/0.2889, allocations: 408.6 kB / 1.052 GB, free: 0.668 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.00478/0.2937, allocations: 2.443 MB / 1.055 GB, free: 14.22 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2937, allocations: 0 / 1.055 GB, free: 14.22 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.516e-06/0.2937, allocations: 0 / 1.055 GB, free: 14.22 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.056e-05/0.2938, allocations: 0 / 1.055 GB, free: 14.22 MB / 0.6823 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.005239/0.299, allocations: 2.225 MB / 1.057 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.2991, allocations: 12.03 kB / 1.057 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002717/0.3018, allocations: 489 kB / 1.057 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004126/0.306, allocations: 1.532 MB / 1.059 GB, free: 9.852 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004715/0.3065, allocations: 162.1 kB / 1.059 GB, free: 9.691 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002735/0.3068, allocations: 124 kB / 1.059 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003719/0.3105, allocations: 1.376 MB / 1.06 GB, free: 8.094 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.009e-05/0.3106, allocations: 4 kB / 1.06 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001639/0.3108, allocations: 48 kB / 1.061 GB, free: 8.043 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.854e-05/0.3108, allocations: 28 kB / 1.061 GB, free: 8.016 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00385/0.3147, allocations: 1.117 MB / 1.062 GB, free: 6.891 MB / 0.6823 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.5241/0.8389, allocations: 7.154 MB / 1.069 GB, free: 87.46 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003438/0.8424, allocations: 1.413 MB / 1.07 GB, free: 86.87 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006043/0.8485, allocations: 3.085 MB / 1.073 GB, free: 84.68 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001435/0.8499, allocations: 457.1 kB / 1.073 GB, free: 84.53 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006704/0.8506, allocations: 88.08 kB / 1.074 GB, free: 84.52 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 5.178e-06/0.8507, allocations: 3.188 kB / 1.074 GB, free: 84.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.004439/0.8551, allocations: 1.285 MB / 1.075 GB, free: 84.12 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.8552, allocations: 141.2 kB / 1.075 GB, free: 83.96 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003238/0.8585, allocations: 1.605 MB / 1.077 GB, free: 83.37 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001749/0.8587, allocations: 46.52 kB / 1.077 GB, free: 83.32 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008386/0.8595, allocations: 0.8876 MB / 1.077 GB, free: 82.69 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002459/0.8598, allocations: 214.9 kB / 1.078 GB, free: 82.52 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.009e-05/0.8599, allocations: 16.66 kB / 1.078 GB, free: 82.51 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.86, allocations: 343.9 kB / 1.078 GB, free: 82.19 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00138/0.8614, allocations: 392.1 kB / 1.078 GB, free: 82.09 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001616/0.863, allocations: 0.7934 MB / 1.079 GB, free: 81.46 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001518/0.8646, allocations: 0.4905 MB / 1.08 GB, free: 81.28 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.316e-05/0.8646, allocations: 3.875 kB / 1.08 GB, free: 81.28 MB / 0.6823 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.004091/0.8687, allocations: 1.336 MB / 1.081 GB, free: 80.77 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008927/0.8696, allocations: 4.378 MB / 1.085 GB, free: 76.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-05/0.8697, allocations: 13.44 kB / 1.085 GB, free: 76.12 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.906e-05/0.8697, allocations: 17.47 kB / 1.085 GB, free: 76.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001519/0.8713, allocations: 269.6 kB / 1.085 GB, free: 76.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.871e-05/0.8713, allocations: 21.92 kB / 1.085 GB, free: 76.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001835/0.8732, allocations: 135 kB / 1.086 GB, free: 76.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001781/0.8734, allocations: 60.08 kB / 1.086 GB, free: 76.06 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.8734, allocations: 3.625 kB / 1.086 GB, free: 76.06 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003586/0.877, allocations: 1.161 MB / 1.087 GB, free: 75.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.354e-05/0.8771, allocations: 13.2 kB / 1.087 GB, free: 75.66 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.977e-05/0.8771, allocations: 16.56 kB / 1.087 GB, free: 75.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/0.8786, allocations: 268 kB / 1.087 GB, free: 75.63 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.63e-05/0.8786, allocations: 26.7 kB / 1.087 GB, free: 75.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001772/0.8804, allocations: 126.4 kB / 1.087 GB, free: 75.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002465/0.8807, allocations: 54.62 kB / 1.087 GB, free: 75.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (123): * Single equations (assignments): 119 * 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.001137/0.8819, allocations: 483.5 kB / 1.088 GB, free: 75.26 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003821/0.8823, allocations: 171 kB / 1.088 GB, free: 75.17 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00361/0.8859, allocations: 1.171 MB / 1.089 GB, free: 74.74 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.95e-05/0.8859, allocations: 8.047 kB / 1.089 GB, free: 74.74 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.886, allocations: 1.375 kB / 1.089 GB, free: 74.74 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002621/0.8886, allocations: 0.9878 MB / 1.09 GB, free: 74.24 MB / 0.6823 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.006757/0.8954, allocations: 2.478 MB / 1.092 GB, free: 73.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/0.8954, allocations: 1.641 kB / 1.092 GB, free: 73.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001143/0.8966, allocations: 157.4 kB / 1.093 GB, free: 73.08 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002713/0.8969, allocations: 40.91 kB / 1.093 GB, free: 73.06 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/0.897, allocations: 28.88 kB / 1.093 GB, free: 73.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001287/0.8983, allocations: 1.375 MB / 1.094 GB, free: 71.69 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.691e-06/0.8983, allocations: 5.188 kB / 1.094 GB, free: 71.68 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004576/0.9029, allocations: 1.638 MB / 1.096 GB, free: 70.93 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009448/0.9039, allocations: 361.7 kB / 1.096 GB, free: 70.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000332/0.9043, allocations: 18.14 kB / 1.096 GB, free: 70.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001421/0.9057, allocations: 115.7 kB / 1.096 GB, free: 70.64 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/0.9059, allocations: 58.55 kB / 1.096 GB, free: 70.63 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/0.906, allocations: 42.33 kB / 1.096 GB, free: 70.62 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002298/0.9083, allocations: 1.137 MB / 1.097 GB, free: 70.16 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.033e-06/0.9084, allocations: 0 / 1.097 GB, free: 70.16 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003956/0.9123, allocations: 0.9368 MB / 1.098 GB, free: 70 MB / 0.6823 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00255/0.9149, allocations: 0.76 MB / 1.099 GB, free: 69.79 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005039/0.92, allocations: 1.713 MB / 1.101 GB, free: 69.13 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.463e-06/0.92, allocations: 3.344 kB / 1.101 GB, free: 69.13 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001688/0.9217, allocations: 0.5613 MB / 1.101 GB, free: 68.89 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00459/0.9263, allocations: 0.7426 MB / 1.102 GB, free: 68.69 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007483/0.9339, allocations: 3.775 MB / 1.106 GB, free: 66.58 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001243/0.9352, allocations: 1.405 MB / 1.107 GB, free: 65.81 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002919/0.9381, allocations: 425.2 kB / 1.107 GB, free: 65.69 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006013/0.9387, allocations: 143.9 kB / 1.108 GB, free: 65.68 MB / 0.6823 GB Notification: Performance of SimCode: time 1.626e-06/0.9387, allocations: 0 / 1.108 GB, free: 65.68 MB / 0.6823 GB Notification: Performance of Templates: time 0.06989/1.009, allocations: 31.7 MB / 1.138 GB, free: 45.11 MB / 0.6823 GB