Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.107/2.107, allocations: 251.1 MB / 266.1 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002089/0.002089, allocations: 183 kB / 325.6 MB, free: 2.812 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.289/2.289, allocations: 205.4 MB / 0.5766 GB, free: 20.8 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001172/0.001172, allocations: 98.34 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004552/0.0004553, allocations: 12.03 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2336, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.323/1.557, allocations: 446.8 MB / 1.335 GB, free: 5 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000369/1.557, allocations: 103.4 kB / 1.335 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.338/7.895, allocations: 1.139 GB / 2.474 GB, free: 133.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.525e-06/7.895, allocations: 0 / 2.474 GB, free: 133.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003941/7.896, allocations: 51.84 kB / 2.474 GB, free: 133.4 MB / 0.8855 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.01055/7.906, allocations: 2.563 MB / 2.477 GB, free: 132.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.886e-05/7.906, allocations: 12.16 kB / 2.477 GB, free: 132.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004404/7.911, allocations: 457.6 kB / 2.477 GB, free: 132.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01047/7.921, allocations: 2.318 MB / 2.479 GB, free: 132 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001435/7.922, allocations: 91.56 kB / 2.479 GB, free: 132 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004505/7.922, allocations: 122.4 kB / 2.479 GB, free: 132 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003935/7.926, allocations: 1.32 MB / 2.481 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.609e-05/7.926, allocations: 5.062 kB / 2.481 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001901/7.926, allocations: 51.44 kB / 2.481 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.733e-05/7.926, allocations: 26.75 kB / 2.481 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003918/7.93, allocations: 0.9635 MB / 2.482 GB, free: 131.7 MB / 0.8855 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.01302/7.943, allocations: 6.877 MB / 2.488 GB, free: 127.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003228/7.947, allocations: 1.278 MB / 2.49 GB, free: 127 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006563/7.953, allocations: 2.876 MB / 2.493 GB, free: 125.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001345/7.955, allocations: 407.5 kB / 2.493 GB, free: 125.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001144/7.956, allocations: 93.12 kB / 2.493 GB, free: 125 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=61): time 5.08e-06/7.956, allocations: 0 / 2.493 GB, free: 125 MB / 0.8855 GB Notification: Performance of matching and sorting (n=61): time 0.004719/7.961, allocations: 1.124 MB / 2.494 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.232e-05/7.961, allocations: 168.9 kB / 2.494 GB, free: 124.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002945/7.964, allocations: 1.356 MB / 2.496 GB, free: 124.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002764/7.964, allocations: 43.33 kB / 2.496 GB, free: 124.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008994/7.965, allocations: 0.8914 MB / 2.496 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003006/7.965, allocations: 214.8 kB / 2.497 GB, free: 124 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.125e-05/7.965, allocations: 25.06 kB / 2.497 GB, free: 124 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.929e-05/7.965, allocations: 344.2 kB / 2.497 GB, free: 123.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001301/7.967, allocations: 334 kB / 2.497 GB, free: 123.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001541/7.968, allocations: 0.7642 MB / 2.498 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001583/7.97, allocations: 460.3 kB / 2.499 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.424e-05/7.97, allocations: 3.094 kB / 2.499 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00421/7.974, allocations: 1.217 MB / 2.5 GB, free: 122.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001004/7.975, allocations: 4.556 MB / 2.504 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.342e-05/7.975, allocations: 11.38 kB / 2.504 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.899e-05/7.975, allocations: 19.34 kB / 2.504 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001945/7.977, allocations: 247.8 kB / 2.504 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.972e-05/7.977, allocations: 23.55 kB / 2.504 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002345/7.98, allocations: 121.7 kB / 2.505 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002312/7.98, allocations: 62.16 kB / 2.505 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/7.98, allocations: 5.344 kB / 2.505 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003488/7.984, allocations: 1.047 MB / 2.506 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.849e-05/7.984, allocations: 10.62 kB / 2.506 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/7.984, allocations: 19.19 kB / 2.506 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001758/7.985, allocations: 252 kB / 2.506 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.7e-05/7.986, allocations: 22.05 kB / 2.506 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002253/7.988, allocations: 114 kB / 2.506 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002121/7.988, allocations: 57.98 kB / 2.506 GB, free: 118.1 MB / 0.8855 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 (122): * Single equations (assignments): 118 * 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.001471/7.99, allocations: 489.6 kB / 2.507 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005736/7.99, allocations: 165.2 kB / 2.507 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003992/7.994, allocations: 1.06 MB / 2.508 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.201e-05/7.994, allocations: 10.17 kB / 2.508 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/7.994, allocations: 3.953 kB / 2.508 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002633/7.997, allocations: 0.8935 MB / 2.509 GB, free: 117.4 MB / 0.8855 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.006851/8.004, allocations: 2.263 MB / 2.511 GB, free: 117 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/8.004, allocations: 7.156 kB / 2.511 GB, free: 117 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00127/8.005, allocations: 134.8 kB / 2.511 GB, free: 117 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002506/8.005, allocations: 30.78 kB / 2.511 GB, free: 117 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-05/8.006, allocations: 26.02 kB / 2.511 GB, free: 117 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001203/8.007, allocations: 1.308 MB / 2.512 GB, free: 115.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/8.007, allocations: 3.938 kB / 2.512 GB, free: 115.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004768/8.012, allocations: 1.477 MB / 2.514 GB, free: 115.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001257/8.013, allocations: 351.7 kB / 2.514 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004741/8.013, allocations: 22.75 kB / 2.514 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001825/8.015, allocations: 97.86 kB / 2.514 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000192/8.015, allocations: 52.7 kB / 2.514 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001124/8.016, allocations: 33.47 kB / 2.514 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002454/8.018, allocations: 1.098 MB / 2.515 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.81e-07/8.018, allocations: 0 / 2.515 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005689/8.024, allocations: 1.027 MB / 2.516 GB, free: 115 MB / 0.8855 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 (70): * Single equations (assignments): 61 * 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.003699/8.027, allocations: 1.347 MB / 2.518 GB, free: 114.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004973/8.033, allocations: 1.549 MB / 2.519 GB, free: 114.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.415e-06/8.033, allocations: 0 / 2.519 GB, free: 114.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001655/8.034, allocations: 0.511 MB / 2.52 GB, free: 114.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005832/8.04, allocations: 0.7283 MB / 2.52 GB, free: 114.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008463/8.049, allocations: 3.704 MB / 2.524 GB, free: 112.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001065/8.05, allocations: 1.405 MB / 2.525 GB, free: 112 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003128/8.053, allocations: 434.8 kB / 2.526 GB, free: 112 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006327/8.054, allocations: 144.1 kB / 2.526 GB, free: 112 MB / 0.8855 GB Notification: Performance of SimCode: time 1.182e-06/8.054, allocations: 0 / 2.526 GB, free: 112 MB / 0.8855 GB Notification: Performance of Templates: time 0.09115/8.145, allocations: 35.88 MB / 2.561 GB, free: 110.2 MB / 0.8855 GB