Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_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.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.05/2.05, allocations: 251.1 MB / 266.1 MB, free: 11.62 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.00155/0.001549, allocations: 183.4 kB / 325.6 MB, free: 2.816 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.226/2.226, allocations: 205.4 MB / 0.5766 GB, free: 20.75 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.001192/0.001191, allocations: 102.6 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004617/0.0004617, allocations: 12.09 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.212, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.263/1.475, allocations: 446.9 MB / 1.335 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003198/1.475, allocations: 98.83 kB / 1.335 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.388/7.863, allocations: 1.139 GB / 2.474 GB, free: 133.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.344e-06/7.863, allocations: 1.344 kB / 2.474 GB, free: 133.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004159/7.864, allocations: 59.59 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.01108/7.875, allocations: 2.571 MB / 2.477 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/7.875, allocations: 9.281 kB / 2.477 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004391/7.879, allocations: 455.8 kB / 2.477 GB, free: 132.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01066/7.89, allocations: 2.31 MB / 2.48 GB, free: 132 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001696/7.89, allocations: 93.41 kB / 2.48 GB, free: 132 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005436/7.891, allocations: 123.3 kB / 2.48 GB, free: 132 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00421/7.895, allocations: 1.316 MB / 2.481 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.35e-05/7.895, allocations: 9.656 kB / 2.481 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001977/7.896, allocations: 47.97 kB / 2.481 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-05/7.896, allocations: 33.22 kB / 2.481 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004034/7.9, allocations: 0.9586 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.01458/7.914, allocations: 6.876 MB / 2.489 GB, free: 127.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004305/7.919, allocations: 1.283 MB / 2.49 GB, free: 127 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009456/7.928, allocations: 2.87 MB / 2.493 GB, free: 125.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00214/7.93, allocations: 413.7 kB / 2.493 GB, free: 125.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001429/7.932, allocations: 93.39 kB / 2.493 GB, free: 125.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=61): time 6.923e-06/7.932, allocations: 0 / 2.493 GB, free: 125.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=61): time 0.006248/7.938, allocations: 1.121 MB / 2.494 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.449e-05/7.938, allocations: 170.4 kB / 2.495 GB, free: 124.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00446/7.943, allocations: 1.359 MB / 2.496 GB, free: 124.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003145/7.943, allocations: 38.42 kB / 2.496 GB, free: 124.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.00139/7.945, allocations: 0.8909 MB / 2.497 GB, free: 124.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004455/7.945, allocations: 215.9 kB / 2.497 GB, free: 124 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/7.945, allocations: 16.94 kB / 2.497 GB, free: 124 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001396/7.945, allocations: 353 kB / 2.497 GB, free: 123.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001929/7.947, allocations: 327.6 kB / 2.498 GB, free: 123.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002308/7.95, allocations: 0.7621 MB / 2.498 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00217/7.952, allocations: 461.5 kB / 2.499 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.035e-05/7.952, allocations: 3.812 kB / 2.499 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.006025/7.958, allocations: 1.221 MB / 2.5 GB, free: 123 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001339/7.959, allocations: 4.547 MB / 2.504 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.453e-05/7.959, allocations: 18 kB / 2.505 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.843e-05/7.96, allocations: 14.84 kB / 2.505 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002688/7.962, allocations: 247.9 kB / 2.505 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-05/7.962, allocations: 20.78 kB / 2.505 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003316/7.966, allocations: 126.6 kB / 2.505 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003753/7.966, allocations: 60.31 kB / 2.505 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/7.966, allocations: 5.156 kB / 2.505 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005006/7.971, allocations: 1.049 MB / 2.506 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.177e-05/7.971, allocations: 11.34 kB / 2.506 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.547e-05/7.971, allocations: 18.59 kB / 2.506 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002517/7.974, allocations: 251.2 kB / 2.506 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.139e-05/7.974, allocations: 23.78 kB / 2.506 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003175/7.977, allocations: 113.2 kB / 2.506 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000348/7.978, allocations: 58.53 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.001769/7.979, allocations: 486.7 kB / 2.507 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006868/7.98, allocations: 164.4 kB / 2.507 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005496/7.986, allocations: 1.06 MB / 2.508 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.174e-05/7.986, allocations: 14.72 kB / 2.508 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.487e-05/7.986, allocations: 3.953 kB / 2.508 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003809/7.99, allocations: 0.8967 MB / 2.509 GB, free: 117.5 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.007807/7.997, allocations: 2.266 MB / 2.511 GB, free: 117.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/7.997, allocations: 0 / 2.511 GB, free: 117.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001361/7.999, allocations: 133.6 kB / 2.511 GB, free: 117.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002639/7.999, allocations: 36.39 kB / 2.511 GB, free: 117.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001217/7.999, allocations: 23.05 kB / 2.511 GB, free: 117.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001252/8.001, allocations: 1.307 MB / 2.513 GB, free: 115.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/8.001, allocations: 0 / 2.513 GB, free: 115.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004979/8.006, allocations: 1.479 MB / 2.514 GB, free: 115.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001364/8.007, allocations: 349.1 kB / 2.514 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006947/8.008, allocations: 27.14 kB / 2.514 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002067/8.01, allocations: 96.81 kB / 2.515 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002272/8.01, allocations: 51.66 kB / 2.515 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/8.01, allocations: 32.36 kB / 2.515 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002703/8.013, allocations: 1.102 MB / 2.516 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.1e-07/8.013, allocations: 0 / 2.516 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.006138/8.019, allocations: 1.028 MB / 2.517 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,coo.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.003782/8.023, allocations: 1.348 MB / 2.518 GB, free: 114.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00516/8.028, allocations: 1.549 MB / 2.52 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.869e-06/8.028, allocations: 2.344 kB / 2.52 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001741/8.03, allocations: 0.5162 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.006137/8.036, allocations: 0.7305 MB / 2.521 GB, free: 114.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00958/8.046, allocations: 3.697 MB / 2.524 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001252/8.047, allocations: 1.406 MB / 2.526 GB, free: 112.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003264/8.05, allocations: 431.3 kB / 2.526 GB, free: 112.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007032/8.051, allocations: 143 kB / 2.526 GB, free: 112.1 MB / 0.8855 GB Notification: Performance of SimCode: time 2.114e-06/8.051, allocations: 0 / 2.526 GB, free: 112.1 MB / 0.8855 GB Notification: Performance of Templates: time 0.09437/8.146, allocations: 35.88 MB / 2.561 GB, free: 110.2 MB / 0.8855 GB