Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 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_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001416/0.00142, allocations: 185.4 kB / 15.77 MB, free: 5.996 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.6825/0.6825, allocations: 82.93 MB / 99.42 MB, free: 3.312 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.057/2.057, allocations: 205.4 MB / 325.4 MB, free: 3.324 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001053/0.001053, allocations: 94.61 kB / 393.6 MB, free: 15.1 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004507/0.000451, allocations: 16 kB / 471.5 MB, free: 66.56 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09023/0.09071, allocations: 67.45 MB / 0.5263 GB, free: 15.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.08008/0.1708, allocations: 56.2 MB / 0.5812 GB, free: 6.711 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.4243/0.5951, allocations: 16.98 MB / 0.5978 GB, free: 17.26 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003168/0.5984, allocations: 70.94 kB / 0.5979 GB, free: 17.26 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003923/0.6023, allocations: 1.01 MB / 0.5989 GB, free: 17.26 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009723/0.6121, allocations: 2.648 MB / 0.6014 GB, free: 17.23 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01228/0.6244, allocations: 3.143 MB / 0.6045 GB, free: 17.14 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.007019/0.6314, allocations: 3.151 MB / 0.6076 GB, free: 17.14 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00281/0.6343, allocations: 1.364 MB / 0.6089 GB, free: 16.98 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003758/0.638, allocations: 1.465 MB / 0.6104 GB, free: 16.98 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002246/0.6403, allocations: 0.9785 MB / 0.6113 GB, free: 16.97 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004617/0.6408, allocations: 73.78 kB / 0.6114 GB, free: 16.97 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004902/0.6457, allocations: 1.447 MB / 0.6128 GB, free: 16.97 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009267/0.6467, allocations: 414.2 kB / 0.6132 GB, free: 16.97 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009415/0.6477, allocations: 445.3 kB / 0.6136 GB, free: 16.93 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005015/0.6527, allocations: 2.686 MB / 0.6162 GB, free: 16.73 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.671e-06/0.6527, allocations: 0 / 0.6162 GB, free: 16.73 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.6528, allocations: 0 / 0.6162 GB, free: 16.73 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.281e-05/0.6528, allocations: 0.6875 kB / 0.6162 GB, free: 16.73 MB / 426.7 MB 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.005128/0.658, allocations: 2.35 MB / 0.6185 GB, free: 15.43 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.658, allocations: 10.19 kB / 0.6185 GB, free: 15.43 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001931/0.66, allocations: 393.6 kB / 0.6189 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003976/0.664, allocations: 1.649 MB / 0.6205 GB, free: 14.72 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004505/0.6645, allocations: 165 kB / 0.6207 GB, free: 14.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000263/0.6647, allocations: 132.9 kB / 0.6208 GB, free: 14.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00339/0.6681, allocations: 1.449 MB / 0.6222 GB, free: 14.18 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.579e-05/0.6682, allocations: 7.312 kB / 0.6222 GB, free: 14.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001645/0.6684, allocations: 57.89 kB / 0.6223 GB, free: 14.17 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-05/0.6685, allocations: 34.09 kB / 0.6223 GB, free: 14.17 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003337/0.6718, allocations: 1.124 MB / 0.6234 GB, free: 13.97 MB / 426.7 MB 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.01087/0.6827, allocations: 7.438 MB / 0.6307 GB, free: 8.641 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002726/0.6855, allocations: 1.351 MB / 0.632 GB, free: 7.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005035/0.6905, allocations: 2.629 MB / 0.6346 GB, free: 6.121 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001263/0.6918, allocations: 467 kB / 0.635 GB, free: 5.961 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008394/0.6927, allocations: 98.59 kB / 0.6351 GB, free: 5.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=65): time 4.221e-06/0.6927, allocations: 0 / 0.6351 GB, free: 5.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=65): time 0.003746/0.6965, allocations: 1.288 MB / 0.6364 GB, free: 5.496 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.6966, allocations: 139 kB / 0.6365 GB, free: 5.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002496/0.6991, allocations: 1.553 MB / 0.638 GB, free: 4.922 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001606/0.6992, allocations: 43.86 kB / 0.6381 GB, free: 4.891 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007521/0.7, allocations: 0.9 MB / 0.6389 GB, free: 4.484 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002356/0.7003, allocations: 234.5 kB / 0.6392 GB, free: 4.301 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.957e-05/0.7003, allocations: 21.59 kB / 0.6392 GB, free: 4.285 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.764e-05/0.7004, allocations: 344.2 kB / 0.6395 GB, free: 3.953 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00113/0.7016, allocations: 389 kB / 0.6399 GB, free: 3.777 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001335/0.7029, allocations: 0.7631 MB / 0.6406 GB, free: 3.098 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001243/0.7042, allocations: 0.4987 MB / 0.6411 GB, free: 2.84 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.228e-06/0.7042, allocations: 3.188 kB / 0.6411 GB, free: 2.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003512/0.7078, allocations: 1.312 MB / 0.6424 GB, free: 2.191 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001426/0.7092, allocations: 3.834 MB / 0.6461 GB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.699e-05/0.7093, allocations: 9.219 kB / 0.6462 GB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.352e-05/0.7093, allocations: 15.98 kB / 0.6462 GB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/0.7107, allocations: 268.8 kB / 0.6464 GB, free: 14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.491e-05/0.7108, allocations: 26.22 kB / 0.6464 GB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002003/0.7128, allocations: 154 kB / 0.6466 GB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000148/0.713, allocations: 51.42 kB / 0.6466 GB, free: 13.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.713, allocations: 4.688 kB / 0.6467 GB, free: 13.9 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003184/0.7162, allocations: 1.148 MB / 0.6478 GB, free: 13.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.568e-05/0.7162, allocations: 11.17 kB / 0.6478 GB, free: 13.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.7163, allocations: 15.12 kB / 0.6478 GB, free: 13.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/0.7175, allocations: 267 kB / 0.6481 GB, free: 13.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.667e-05/0.7176, allocations: 21.8 kB / 0.6481 GB, free: 13.28 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/0.7194, allocations: 147.3 kB / 0.6482 GB, free: 13.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001449/0.7196, allocations: 55.78 kB / 0.6483 GB, free: 13.2 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (124): * Single equations (assignments): 120 * 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.00117/0.7208, allocations: 0.4884 MB / 0.6487 GB, free: 12.82 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000376/0.7212, allocations: 165.5 kB / 0.6489 GB, free: 12.73 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003342/0.7245, allocations: 1.121 MB / 0.65 GB, free: 12.13 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.045e-05/0.7246, allocations: 11.83 kB / 0.65 GB, free: 12.13 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.783e-06/0.7246, allocations: 0 / 0.65 GB, free: 12.13 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002492/0.7271, allocations: 0.8308 MB / 0.6508 GB, free: 11.71 MB / 442.7 MB 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.007027/0.7342, allocations: 2.633 MB / 0.6534 GB, free: 9.207 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.727e-06/0.7342, allocations: 4 kB / 0.6534 GB, free: 9.203 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.7352, allocations: 164 kB / 0.6535 GB, free: 9.043 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002662/0.7355, allocations: 32.84 kB / 0.6536 GB, free: 9.008 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.48e-05/0.7356, allocations: 31.94 kB / 0.6536 GB, free: 8.977 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001672/0.7373, allocations: 1.394 MB / 0.655 GB, free: 7.449 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.234e-06/0.7374, allocations: 4 kB / 0.655 GB, free: 7.445 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00492/0.7423, allocations: 1.781 MB / 0.6567 GB, free: 5.555 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001287/0.7436, allocations: 386.5 kB / 0.6571 GB, free: 5.156 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003737/0.744, allocations: 16 kB / 0.6571 GB, free: 5.141 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001763/0.7458, allocations: 119.9 kB / 0.6572 GB, free: 5.023 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002194/0.746, allocations: 68.38 kB / 0.6573 GB, free: 4.957 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001403/0.7462, allocations: 39.97 kB / 0.6573 GB, free: 4.918 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002631/0.7488, allocations: 1.122 MB / 0.6584 GB, free: 3.773 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.169e-06/0.7489, allocations: 0 / 0.6584 GB, free: 3.773 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004522/0.7534, allocations: 1.01 MB / 0.6594 GB, free: 2.762 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (75): * Single equations (assignments): 67 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001685/0.7551, allocations: 0.5654 MB / 0.66 GB, free: 2.238 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004901/0.7601, allocations: 1.708 MB / 0.6616 GB, free: 0.5039 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.203e-06/0.7601, allocations: 0 / 0.6616 GB, free: 0.5039 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001709/0.7618, allocations: 0.5738 MB / 0.6622 GB, free: 15.91 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004933/0.7668, allocations: 0.8649 MB / 0.663 GB, free: 15.04 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008307/0.7751, allocations: 3.897 MB / 0.6668 GB, free: 11.09 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001565/0.7767, allocations: 1.452 MB / 0.6682 GB, free: 9.602 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002708/0.7795, allocations: 426.7 kB / 0.6687 GB, free: 9.18 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005939/0.7801, allocations: 147.4 kB / 0.6688 GB, free: 9.035 MB / 458.7 MB Notification: Performance of SimCode: time 4.198e-06/0.7801, allocations: 0 / 0.6688 GB, free: 9.035 MB / 458.7 MB Notification: Performance of Templates: time 0.08519/0.8653, allocations: 34.89 MB / 0.7029 GB, free: 6.531 MB / 490.7 MB