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.003803/0.003803, allocations: 357.6 kB / 16.59 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.52/1.52, allocations: 165.8 MB / 183.1 MB, free: 5.488 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 4.042/4.042, allocations: 410.8 MB / 0.6001 GB, free: 15.15 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.002578/0.002578, allocations: 188.7 kB / 0.6668 GB, free: 6.922 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000482/0.0004822, allocations: 15.98 kB / 0.7429 GB, free: 8.941 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4523/0.4528, allocations: 67.44 MB / 0.8087 GB, free: 28.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.1133/0.5662, allocations: 61.76 MB / 0.869 GB, free: 14.84 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.04527/0.6115, allocations: 17.92 MB / 0.8866 GB, free: 12.89 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003483/0.6151, allocations: 75.5 kB / 0.8866 GB, free: 12.82 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004767/0.6199, allocations: 0.92 MB / 0.8875 GB, free: 11.89 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01227/0.6322, allocations: 2.789 MB / 0.8902 GB, free: 9.09 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01352/0.6457, allocations: 3.204 MB / 0.8934 GB, free: 5.918 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.01117/0.6569, allocations: 6.02 MB / 0.8993 GB, free: 15.88 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00337/0.6603, allocations: 1.352 MB / 0.9006 GB, free: 14.5 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005055/0.6654, allocations: 1.621 MB / 0.9022 GB, free: 12.87 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003608/0.6691, allocations: 1.365 MB / 0.9035 GB, free: 11.5 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005647/0.6697, allocations: 76 kB / 0.9036 GB, free: 11.43 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005336/0.6751, allocations: 1.403 MB / 0.9049 GB, free: 10.02 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001199/0.6763, allocations: 430.2 kB / 0.9053 GB, free: 9.598 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001046/0.6774, allocations: 448.5 kB / 0.9058 GB, free: 9.152 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006203/0.6836, allocations: 2.697 MB / 0.9084 GB, free: 6.449 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/0.6837, allocations: 0 / 0.9084 GB, free: 6.449 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.6837, allocations: 4 kB / 0.9084 GB, free: 6.445 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001124/0.6838, allocations: 0 / 0.9084 GB, free: 6.445 MB / 458.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.007331/0.6912, allocations: 2.341 MB / 0.9107 GB, free: 4.031 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.6912, allocations: 15.97 kB / 0.9107 GB, free: 4.016 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002685/0.6939, allocations: 396.9 kB / 0.9111 GB, free: 3.625 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005562/0.6995, allocations: 1.716 MB / 0.9128 GB, free: 1.859 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007408/0.7003, allocations: 170.4 kB / 0.9129 GB, free: 1.691 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003792/0.7007, allocations: 132 kB / 0.9131 GB, free: 1.562 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004841/0.7056, allocations: 1.477 MB / 0.9145 GB, free: 15.99 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.074e-05/0.7057, allocations: 7.875 kB / 0.9145 GB, free: 15.98 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002291/0.7059, allocations: 56 kB / 0.9146 GB, free: 15.93 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.157e-05/0.706, allocations: 35.94 kB / 0.9146 GB, free: 15.89 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004804/0.7108, allocations: 1.133 MB / 0.9157 GB, free: 14.75 MB / 474.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.01604/0.7269, allocations: 7.386 MB / 0.9229 GB, free: 6.785 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003997/0.731, allocations: 1.368 MB / 0.9242 GB, free: 5.305 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001807/0.7328, allocations: 462.6 kB / 0.9247 GB, free: 4.848 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006651/0.7395, allocations: 2.612 MB / 0.9272 GB, free: 2.004 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001816/0.7414, allocations: 0.4947 MB / 0.9277 GB, free: 1.488 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007846/0.7422, allocations: 95.23 kB / 0.9278 GB, free: 1.395 MB / 474.7 MB Notification: Performance of pre-optimization done (n=63): time 3.576e-06/0.7422, allocations: 0 / 0.9278 GB, free: 1.395 MB / 474.7 MB Notification: Performance of matching and sorting (n=63): time 0.005395/0.7476, allocations: 1.284 MB / 0.9291 GB, free: 88 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3989/1.147, allocations: 189.9 kB / 0.9292 GB, free: 114.5 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003888/1.15, allocations: 1.5 MB / 0.9307 GB, free: 114.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002286/1.151, allocations: 44.64 kB / 0.9308 GB, free: 114.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001118/1.152, allocations: 0.8975 MB / 0.9316 GB, free: 113.7 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004623/1.152, allocations: 222.9 kB / 0.9318 GB, free: 113.6 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.088e-05/1.152, allocations: 20.89 kB / 0.9319 GB, free: 113.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/1.153, allocations: 348.1 kB / 0.9322 GB, free: 113.2 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001727/1.154, allocations: 392.9 kB / 0.9326 GB, free: 113.1 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002047/1.156, allocations: 0.769 MB / 0.9333 GB, free: 112.5 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002079/1.159, allocations: 0.502 MB / 0.9338 GB, free: 112.3 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.65e-05/1.159, allocations: 2.562 kB / 0.9338 GB, free: 112.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.005193/1.164, allocations: 1.323 MB / 0.9351 GB, free: 111.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003051/1.164, allocations: 408.8 kB / 0.9355 GB, free: 111.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.725e-05/1.164, allocations: 11.25 kB / 0.9355 GB, free: 111.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.7e-05/1.164, allocations: 17.61 kB / 0.9355 GB, free: 111.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001976/1.166, allocations: 258.3 kB / 0.9358 GB, free: 111.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.693e-05/1.166, allocations: 21.2 kB / 0.9358 GB, free: 111.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002502/1.169, allocations: 144.7 kB / 0.9359 GB, free: 111.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001973/1.169, allocations: 56.03 kB / 0.936 GB, free: 111.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/1.169, allocations: 3.969 kB / 0.936 GB, free: 111.3 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003926/1.173, allocations: 1.149 MB / 0.9371 GB, free: 110.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-05/1.173, allocations: 11.12 kB / 0.9371 GB, free: 110.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.92e-05/1.173, allocations: 16.34 kB / 0.9371 GB, free: 110.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001903/1.175, allocations: 256.7 kB / 0.9374 GB, free: 110.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.478e-05/1.175, allocations: 21.45 kB / 0.9374 GB, free: 110.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002373/1.178, allocations: 132.3 kB / 0.9375 GB, free: 110.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001773/1.178, allocations: 51.42 kB / 0.9376 GB, free: 110.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (123): * Single equations (assignments): 119 * 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.001218/1.179, allocations: 0.4917 MB / 0.9381 GB, free: 110.4 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005066/1.179, allocations: 171.3 kB / 0.9382 GB, free: 110.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004483/1.184, allocations: 1.107 MB / 0.9393 GB, free: 109.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003128/1.187, allocations: 0.8242 MB / 0.9401 GB, free: 109.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/1.187, allocations: 0.5 kB / 0.9401 GB, free: 109.6 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00105/1.188, allocations: 358.1 kB / 0.9404 GB, free: 109.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003337/1.189, allocations: 20.2 kB / 0.9405 GB, free: 109.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001814/1.19, allocations: 99.44 kB / 0.9406 GB, free: 109.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/1.191, allocations: 53.97 kB / 0.9406 GB, free: 109.4 MB / 474.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004451/1.195, allocations: 1.244 MB / 0.9418 GB, free: 108.8 MB / 474.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005021/1.2, allocations: 1.778 MB / 0.9436 GB, free: 107.9 MB / 474.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001408/1.202, allocations: 429.6 kB / 0.944 GB, free: 107.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001949/1.204, allocations: 1.004 MB / 0.945 GB, free: 107.4 MB / 474.7 MB Notification: Performance of Backend: time 6.91e-07/1.204, allocations: 0 / 0.945 GB, free: 107.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007059/1.211, allocations: 1.969 MB / 0.9469 GB, free: 106.6 MB / 474.7 MB Notification: Performance of SimCode: time 0.01137/1.222, allocations: 4.727 MB / 0.9515 GB, free: 102.5 MB / 474.7 MB Notification: Performance of Templates: time 0.1261/1.348, allocations: 36.36 MB / 0.987 GB, free: 66.58 MB / 474.7 MB