Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002519/0.002525, allocations: 355.5 kB / 16.58 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.451/1.451, allocations: 165.8 MB / 183.1 MB, free: 5.48 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.711/3.711, allocations: 410.7 MB / 0.6001 GB, free: 15.17 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001782/0.001782, allocations: 194.3 kB / 0.6668 GB, free: 6.922 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004722/0.0004725, allocations: 16 kB / 0.7429 GB, free: 8.953 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4096/0.4101, allocations: 67.44 MB / 0.8087 GB, free: 28.78 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.416/1.826, allocations: 414.8 MB / 1.214 GB, free: 144.7 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003405/1.827, allocations: 101.6 kB / 1.214 GB, free: 144.7 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.827/7.654, allocations: 1.163 GB / 2.377 GB, free: 59.45 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.535e-06/7.654, allocations: 2.156 kB / 2.377 GB, free: 59.45 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0003801/7.654, allocations: 57.27 kB / 2.377 GB, free: 59.43 MB / 0.5886 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.009708/7.664, allocations: 2.574 MB / 2.38 GB, free: 58.12 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/7.664, allocations: 10.94 kB / 2.38 GB, free: 58.12 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003943/7.668, allocations: 462.6 kB / 2.38 GB, free: 58 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009151/7.677, allocations: 2.216 MB / 2.382 GB, free: 57.53 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001416/7.677, allocations: 96.94 kB / 2.382 GB, free: 57.53 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004038/7.678, allocations: 121.6 kB / 2.383 GB, free: 57.53 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003876/7.682, allocations: 1.327 MB / 2.384 GB, free: 57.23 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.575e-05/7.682, allocations: 9.562 kB / 2.384 GB, free: 57.23 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002259/7.682, allocations: 51.22 kB / 2.384 GB, free: 57.23 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-05/7.682, allocations: 32.94 kB / 2.384 GB, free: 57.23 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003795/7.686, allocations: 0.9636 MB / 2.385 GB, free: 57.21 MB / 0.5886 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.01354/7.7, allocations: 6.839 MB / 2.392 GB, free: 53.05 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003219/7.703, allocations: 1.27 MB / 2.393 GB, free: 52.46 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001385/7.704, allocations: 368 kB / 2.393 GB, free: 52.45 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006763/7.711, allocations: 2.878 MB / 2.396 GB, free: 50.52 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001396/7.712, allocations: 402.4 kB / 2.396 GB, free: 50.46 MB / 0.5886 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001014/7.713, allocations: 88.16 kB / 2.396 GB, free: 50.43 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=60): time 3.827e-06/7.714, allocations: 0 / 2.396 GB, free: 50.43 MB / 0.5886 GB Notification: Performance of matching and sorting (n=60): time 0.004775/7.718, allocations: 1.2 MB / 2.398 GB, free: 50.11 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.249e-05/7.718, allocations: 166.5 kB / 2.398 GB, free: 49.91 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003224/7.722, allocations: 1.52 MB / 2.399 GB, free: 49.72 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0002893/7.722, allocations: 47.03 kB / 2.399 GB, free: 49.69 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.001016/7.723, allocations: 0.8865 MB / 2.4 GB, free: 49.38 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003426/7.723, allocations: 221.7 kB / 2.4 GB, free: 49.25 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.144e-05/7.723, allocations: 15.66 kB / 2.4 GB, free: 49.25 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001026/7.724, allocations: 344.2 kB / 2.401 GB, free: 48.94 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001305/7.725, allocations: 328.6 kB / 2.401 GB, free: 48.94 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001628/7.727, allocations: 0.7701 MB / 2.402 GB, free: 48.41 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001535/7.728, allocations: 449.6 kB / 2.402 GB, free: 48.36 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.275e-05/7.728, allocations: 5.625 kB / 2.402 GB, free: 48.36 MB / 0.5886 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.004104/7.732, allocations: 1.212 MB / 2.403 GB, free: 48.13 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002855/7.733, allocations: 454.5 kB / 2.404 GB, free: 47.61 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.774e-05/7.733, allocations: 17.95 kB / 2.404 GB, free: 47.61 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.11e-05/7.733, allocations: 16.72 kB / 2.404 GB, free: 47.61 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001807/7.735, allocations: 243.2 kB / 2.404 GB, free: 47.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.935e-05/7.735, allocations: 19.88 kB / 2.404 GB, free: 47.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00229/7.737, allocations: 118 kB / 2.404 GB, free: 47.58 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002515/7.737, allocations: 60.58 kB / 2.404 GB, free: 47.58 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/7.737, allocations: 7.031 kB / 2.404 GB, free: 47.58 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003589/7.741, allocations: 1.035 MB / 2.405 GB, free: 47.38 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.921e-05/7.741, allocations: 18.89 kB / 2.405 GB, free: 47.38 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/7.741, allocations: 18.25 kB / 2.405 GB, free: 47.38 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001693/7.743, allocations: 238.7 kB / 2.406 GB, free: 47.36 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.093e-05/7.743, allocations: 29.58 kB / 2.406 GB, free: 47.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002121/7.745, allocations: 117.1 kB / 2.406 GB, free: 47.32 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002058/7.745, allocations: 56.88 kB / 2.406 GB, free: 47.31 MB / 0.5886 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 (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.001344/7.746, allocations: 487.9 kB / 2.406 GB, free: 46.96 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004887/7.747, allocations: 169 kB / 2.406 GB, free: 46.88 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003972/7.751, allocations: 1.127 MB / 2.407 GB, free: 46.41 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.242e-05/7.751, allocations: 6.719 kB / 2.407 GB, free: 46.41 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/7.751, allocations: 3.906 kB / 2.407 GB, free: 46.41 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002719/7.754, allocations: 0.9724 MB / 2.408 GB, free: 45.83 MB / 0.5886 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.006677/7.76, allocations: 2.326 MB / 2.411 GB, free: 44.71 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/7.761, allocations: 0 / 2.411 GB, free: 44.71 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001253/7.762, allocations: 136.9 kB / 2.411 GB, free: 44.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002162/7.762, allocations: 26.72 kB / 2.411 GB, free: 44.68 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.685e-05/7.762, allocations: 18.48 kB / 2.411 GB, free: 44.68 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00103/7.763, allocations: 1.3 MB / 2.412 GB, free: 43.36 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/7.763, allocations: 0 / 2.412 GB, free: 43.36 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00479/7.768, allocations: 1.519 MB / 2.414 GB, free: 42.61 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001113/7.769, allocations: 338.7 kB / 2.414 GB, free: 42.37 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000487/7.77, allocations: 11.78 kB / 2.414 GB, free: 42.36 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001838/7.772, allocations: 100.7 kB / 2.414 GB, free: 42.34 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001881/7.772, allocations: 53.19 kB / 2.414 GB, free: 42.34 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/7.772, allocations: 29.03 kB / 2.414 GB, free: 42.33 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002439/7.774, allocations: 1.067 MB / 2.415 GB, free: 41.89 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9.02e-07/7.774, allocations: 0 / 2.415 GB, free: 41.89 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.004894/7.779, allocations: 1.002 MB / 2.416 GB, free: 41.64 MB / 0.5886 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003496/7.783, allocations: 1.326 MB / 2.417 GB, free: 41.22 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.004889/7.788, allocations: 1.54 MB / 2.419 GB, free: 40.61 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.728e-06/7.788, allocations: 4 kB / 2.419 GB, free: 40.61 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001647/7.789, allocations: 0.5032 MB / 2.419 GB, free: 40.37 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006237/7.796, allocations: 0.7414 MB / 2.42 GB, free: 40.19 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008775/7.805, allocations: 3.698 MB / 2.424 GB, free: 38.12 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001172/7.806, allocations: 1.405 MB / 2.425 GB, free: 37.35 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.003204/7.809, allocations: 432.7 kB / 2.426 GB, free: 37.27 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006256/7.81, allocations: 142.6 kB / 2.426 GB, free: 37.26 MB / 0.5886 GB Notification: Performance of SimCode: time 1.122e-06/7.81, allocations: 4 kB / 2.426 GB, free: 37.25 MB / 0.5886 GB Notification: Performance of Templates: time 0.08798/7.898, allocations: 35.43 MB / 2.46 GB, free: 7.801 MB / 0.5886 GB