Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 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_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.3/2.3, allocations: 253.2 MB / 260.6 MB, free: 7.473 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001506/0.001505, allocations: 176.9 kB / 319.9 MB, free: 3.07 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.026/2.026, allocations: 205.6 MB / 0.5708 GB, free: 15.27 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.001056/0.001056, allocations: 86.69 kB / 0.6751 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.359e-05/2.355e-05, allocations: 7.984 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2213, allocations: 106.2 MB / 0.8887 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.087/2.308, allocations: 440.4 MB / 1.319 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/2.308, allocations: 99.77 kB / 1.319 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.731/8.04, allocations: 1.097 GB / 2.416 GB, free: 127.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.995e-06/8.04, allocations: 0 / 2.416 GB, free: 127.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000282/8.04, allocations: 54.75 kB / 2.416 GB, free: 127.7 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.005755/8.046, allocations: 2.182 MB / 2.418 GB, free: 126.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/8.046, allocations: 14.66 kB / 2.418 GB, free: 126.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002434/8.048, allocations: 365.2 kB / 2.419 GB, free: 126.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008565/8.057, allocations: 2.462 MB / 2.421 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.009e-05/8.057, allocations: 38.25 kB / 2.421 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002509/8.057, allocations: 86.33 kB / 2.421 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002325/8.06, allocations: 0.8571 MB / 2.422 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00262/8.062, allocations: 1.183 MB / 2.423 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.695e-05/8.062, allocations: 3.844 kB / 2.423 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001536/8.062, allocations: 0 / 2.423 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.321e-05/8.062, allocations: 35.47 kB / 2.423 GB, free: 125.8 MB / 0.8855 GB Warning: The model contains alias variables with conflicting start and/or 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.01205/8.075, allocations: 6.915 MB / 2.43 GB, free: 121.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/8.076, allocations: 1.182 MB / 2.431 GB, free: 121.2 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007262/8.077, allocations: 344.7 kB / 2.432 GB, free: 121.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005012/8.082, allocations: 2.235 MB / 2.434 GB, free: 119.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007891/8.083, allocations: 371 kB / 2.434 GB, free: 119.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009248/8.084, allocations: 73.44 kB / 2.434 GB, free: 119.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=68): time 3.828e-06/8.084, allocations: 0 / 2.434 GB, free: 119.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=68): time 0.002692/8.087, allocations: 0.8129 MB / 2.435 GB, free: 119.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.523e-05/8.087, allocations: 169.7 kB / 2.435 GB, free: 119.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002168/8.089, allocations: 1.189 MB / 2.436 GB, free: 119.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000126/8.089, allocations: 28.2 kB / 2.436 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008889/8.09, allocations: 0.8936 MB / 2.437 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002734/8.09, allocations: 228.7 kB / 2.437 GB, free: 118.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.605e-05/8.09, allocations: 0 / 2.437 GB, free: 118.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.64e-05/8.09, allocations: 343.7 kB / 2.438 GB, free: 118.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006412/8.091, allocations: 283.6 kB / 2.438 GB, free: 118.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008711/8.092, allocations: 0.6559 MB / 2.439 GB, free: 118 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001856/8.094, allocations: 469.6 kB / 2.439 GB, free: 118 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/8.094, allocations: 0 / 2.439 GB, free: 118 MB / 0.8855 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00336/8.097, allocations: 1.107 MB / 2.44 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008248/8.098, allocations: 3.743 MB / 2.444 GB, free: 113.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.458e-05/8.098, allocations: 11.89 kB / 2.444 GB, free: 113.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.873e-05/8.098, allocations: 18.59 kB / 2.444 GB, free: 113.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001799/8.1, allocations: 249.1 kB / 2.444 GB, free: 113.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.082e-05/8.1, allocations: 22.88 kB / 2.444 GB, free: 113.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002251/8.102, allocations: 111 kB / 2.444 GB, free: 113.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001512/8.103, allocations: 56.95 kB / 2.444 GB, free: 113.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/8.103, allocations: 5.062 kB / 2.444 GB, free: 113.9 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002875/8.105, allocations: 0.8875 MB / 2.445 GB, free: 113.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.614e-05/8.105, allocations: 17.08 kB / 2.445 GB, free: 113.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/8.106, allocations: 13.59 kB / 2.445 GB, free: 113.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001658/8.107, allocations: 245.5 kB / 2.445 GB, free: 113.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.102e-05/8.107, allocations: 31.55 kB / 2.445 GB, free: 113.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002064/8.109, allocations: 109.8 kB / 2.446 GB, free: 113.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/8.109, allocations: 50.28 kB / 2.446 GB, free: 113.9 MB / 0.8855 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 () * 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.0003104/8.11, allocations: 144.6 kB / 2.446 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002805/8.11, allocations: 162.2 kB / 2.446 GB, free: 113.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003117/8.113, allocations: 0.9769 MB / 2.447 GB, free: 113.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/8.113, allocations: 13.06 kB / 2.447 GB, free: 113.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/8.113, allocations: 0 / 2.447 GB, free: 113.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001908/8.115, allocations: 0.6982 MB / 2.448 GB, free: 113.5 MB / 0.8855 GB Warning: The model contains alias variables with conflicting start and/or 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.005439/8.121, allocations: 2.13 MB / 2.45 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.888e-06/8.121, allocations: 7.625 kB / 2.45 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001331/8.122, allocations: 159.6 kB / 2.45 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002332/8.122, allocations: 22.17 kB / 2.45 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-05/8.122, allocations: 13.72 kB / 2.45 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009852/8.123, allocations: 1.267 MB / 2.451 GB, free: 112 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/8.123, allocations: 3.281 kB / 2.451 GB, free: 112 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003303/8.127, allocations: 1.391 MB / 2.452 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009111/8.128, allocations: 340.7 kB / 2.453 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002688/8.128, allocations: 10.27 kB / 2.453 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001671/8.13, allocations: 98.53 kB / 2.453 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001661/8.13, allocations: 62.14 kB / 2.453 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-05/8.13, allocations: 29.89 kB / 2.453 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001685/8.132, allocations: 0.9009 MB / 2.454 GB, free: 111.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 9.02e-07/8.132, allocations: 0 / 2.454 GB, free: 111.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004431/8.136, allocations: 1.072 MB / 2.455 GB, free: 111.2 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.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * 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.002727/8.139, allocations: 1.122 MB / 2.456 GB, free: 110.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00293/8.142, allocations: 1.427 MB / 2.457 GB, free: 110.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/8.142, allocations: 0 / 2.457 GB, free: 110.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000987/8.143, allocations: 473 kB / 2.458 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005696/8.148, allocations: 0.7399 MB / 2.459 GB, free: 110.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005949/8.154, allocations: 2.337 MB / 2.461 GB, free: 109.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001076/8.156, allocations: 1.45 MB / 2.462 GB, free: 109.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004077/8.16, allocations: 0.5496 MB / 2.463 GB, free: 109 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004171/8.16, allocations: 112.1 kB / 2.463 GB, free: 109 MB / 0.8855 GB Notification: Performance of SimCode: time 1.452e-06/8.16, allocations: 0 / 2.463 GB, free: 109 MB / 0.8855 GB Notification: Performance of Templates: time 0.08582/8.246, allocations: 35.43 MB / 2.497 GB, free: 103.2 MB / 0.8855 GB