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.117/2.117, allocations: 251.1 MB / 266.1 MB, free: 11.55 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.002228/0.002228, allocations: 175.8 kB / 325.6 MB, free: 2.797 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.335/2.335, allocations: 205.4 MB / 0.5766 GB, free: 20.74 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.001235/0.001235, allocations: 94.97 kB / 0.6811 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004816/0.0004815, allocations: 16.03 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.1985, allocations: 106.3 MB / 0.8989 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.247/1.446, allocations: 440.3 MB / 1.329 GB, free: 11.22 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000325/1.446, allocations: 95.83 kB / 1.329 GB, free: 11.17 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.216/7.662, allocations: 1.106 GB / 2.435 GB, free: 125.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.517e-06/7.662, allocations: 1.359 kB / 2.435 GB, free: 125.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004838/7.662, allocations: 61.81 kB / 2.435 GB, free: 125.1 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.01223/7.675, allocations: 2.677 MB / 2.438 GB, free: 124.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/7.675, allocations: 12.12 kB / 2.438 GB, free: 124.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003322/7.678, allocations: 376.2 kB / 2.438 GB, free: 124.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01111/7.689, allocations: 2.484 MB / 2.441 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001671/7.689, allocations: 100 kB / 2.441 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004499/7.69, allocations: 140.8 kB / 2.441 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004867/7.695, allocations: 1.412 MB / 2.442 GB, free: 123.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-05/7.695, allocations: 2.406 kB / 2.442 GB, free: 123.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002214/7.695, allocations: 55.81 kB / 2.442 GB, free: 123.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.885e-05/7.695, allocations: 42.2 kB / 2.442 GB, free: 123.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004112/7.699, allocations: 1.037 MB / 2.443 GB, free: 123.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 preOpt removeSimpleEquations (simulation): time 0.01433/7.714, allocations: 7.142 MB / 2.45 GB, free: 119.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003393/7.717, allocations: 1.292 MB / 2.452 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005819/7.723, allocations: 2.227 MB / 2.454 GB, free: 117.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001479/7.725, allocations: 446.7 kB / 2.454 GB, free: 117.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001451/7.726, allocations: 91.2 kB / 2.454 GB, free: 117.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=69): time 7.855e-06/7.726, allocations: 0 / 2.454 GB, free: 117.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=69): time 0.004852/7.731, allocations: 1.217 MB / 2.456 GB, free: 117.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.71e-05/7.731, allocations: 162.5 kB / 2.456 GB, free: 117.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003014/7.734, allocations: 1.309 MB / 2.457 GB, free: 117 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003262/7.735, allocations: 47.36 kB / 2.457 GB, free: 116.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001054/7.736, allocations: 0.8933 MB / 2.458 GB, free: 116.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003849/7.736, allocations: 248.7 kB / 2.458 GB, free: 116.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.727e-05/7.736, allocations: 18.95 kB / 2.458 GB, free: 116.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001016/7.736, allocations: 343.8 kB / 2.459 GB, free: 116.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/7.737, allocations: 346 kB / 2.459 GB, free: 116.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001554/7.739, allocations: 0.7311 MB / 2.46 GB, free: 115.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/7.741, allocations: 474.6 kB / 2.46 GB, free: 115.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.101e-05/7.741, allocations: 3.75 kB / 2.46 GB, free: 115.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004133/7.745, allocations: 1.231 MB / 2.461 GB, free: 115.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008808/7.746, allocations: 3.738 MB / 2.465 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.231e-05/7.746, allocations: 14.03 kB / 2.465 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.773e-05/7.746, allocations: 17.16 kB / 2.465 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002001/7.748, allocations: 249.4 kB / 2.465 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.348e-05/7.748, allocations: 21.19 kB / 2.465 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002668/7.751, allocations: 129.4 kB / 2.465 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002824/7.751, allocations: 56.95 kB / 2.465 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/7.751, allocations: 3.875 kB / 2.465 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003416/7.754, allocations: 1.063 MB / 2.466 GB, free: 111.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.846e-05/7.754, allocations: 10.75 kB / 2.466 GB, free: 111.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.892e-05/7.754, allocations: 14.09 kB / 2.466 GB, free: 111.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001745/7.756, allocations: 250.9 kB / 2.467 GB, free: 111.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-05/7.756, allocations: 22.77 kB / 2.467 GB, free: 111.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002489/7.759, allocations: 135.1 kB / 2.467 GB, free: 111.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002347/7.759, allocations: 58.19 kB / 2.467 GB, free: 111.6 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 () * 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.001414/7.76, allocations: 495.4 kB / 2.467 GB, free: 111.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005749/7.761, allocations: 167.6 kB / 2.467 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003887/7.765, allocations: 1.098 MB / 2.469 GB, free: 111.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.146e-05/7.765, allocations: 9.969 kB / 2.469 GB, free: 111.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/7.765, allocations: 3.953 kB / 2.469 GB, free: 111.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002562/7.768, allocations: 0.8011 MB / 2.469 GB, free: 111.1 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.007274/7.775, allocations: 2.381 MB / 2.472 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/7.775, allocations: 6.281 kB / 2.472 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001362/7.776, allocations: 152.3 kB / 2.472 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002562/7.777, allocations: 27.88 kB / 2.472 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/7.777, allocations: 27.48 kB / 2.472 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001093/7.778, allocations: 1.327 MB / 2.473 GB, free: 109.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/7.778, allocations: 0 / 2.473 GB, free: 109.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004854/7.783, allocations: 1.556 MB / 2.475 GB, free: 109.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00139/7.784, allocations: 346.1 kB / 2.475 GB, free: 109 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003677/7.785, allocations: 24.61 kB / 2.475 GB, free: 109 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001813/7.786, allocations: 110.1 kB / 2.475 GB, free: 109 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002296/7.787, allocations: 58.7 kB / 2.475 GB, free: 109 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001194/7.787, allocations: 37.12 kB / 2.475 GB, free: 109 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002308/7.789, allocations: 1.001 MB / 2.476 GB, free: 108.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.11e-07/7.789, allocations: 0 / 2.476 GB, free: 108.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.006303/7.796, allocations: 1.127 MB / 2.477 GB, free: 108.7 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 69 * 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.003239/7.799, allocations: 1.165 MB / 2.478 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004918/7.804, allocations: 1.604 MB / 2.48 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/7.804, allocations: 3.094 kB / 2.48 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001632/7.805, allocations: 0.543 MB / 2.481 GB, free: 108.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006364/7.812, allocations: 0.7574 MB / 2.481 GB, free: 108.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009134/7.821, allocations: 3.833 MB / 2.485 GB, free: 106.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001209/7.822, allocations: 1.444 MB / 2.486 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003452/7.826, allocations: 419.6 kB / 2.487 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008003/7.827, allocations: 141.3 kB / 2.487 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of SimCode: time 1.363e-06/7.827, allocations: 0 / 2.487 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of Templates: time 0.09455/7.921, allocations: 36.78 MB / 2.523 GB, free: 104.1 MB / 0.8855 GB