Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.717/4.717, allocations: 0.5623 GB / 0.5776 GB, free: 3.375 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002401/0.002401, allocations: 357.9 kB / 0.6447 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.88/3.88, allocations: 410.7 MB / 1.113 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001741/0.001741, allocations: 183.8 kB / 1.226 GB, free: 35.98 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004777/0.0004779, allocations: 12 kB / 1.349 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2218, allocations: 115.3 MB / 1.461 GB, free: 6.617 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.03944/0.2613, allocations: 26.27 MB / 1.487 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01483/0.2762, allocations: 7.239 MB / 1.494 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001325/0.2775, allocations: 31.75 kB / 1.494 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001729/0.2793, allocations: 357.7 kB / 1.494 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004443/0.2838, allocations: 1.06 MB / 1.495 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004922/0.2887, allocations: 1.08 MB / 1.497 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.008226/0.297, allocations: 5.207 MB / 1.502 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003262/0.3003, allocations: 1.609 MB / 1.503 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003297/0.3036, allocations: 1.268 MB / 1.504 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002965/0.3066, allocations: 1.221 MB / 1.506 GB, free: 9.145 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0004404/0.3071, allocations: 80 kB / 1.506 GB, free: 9.066 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0032/0.3103, allocations: 0.8226 MB / 1.506 GB, free: 8.242 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0007715/0.3111, allocations: 354.5 kB / 1.507 GB, free: 7.895 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.000884/0.312, allocations: 416.8 kB / 1.507 GB, free: 7.48 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.004925/0.317, allocations: 2.767 MB / 1.51 GB, free: 4.707 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.317, allocations: 0 / 1.51 GB, free: 4.707 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.524e-06/0.317, allocations: 0 / 1.51 GB, free: 4.707 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.779e-05/0.3171, allocations: 0 / 1.51 GB, free: 4.707 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.007083/0.3242, allocations: 2.14 MB / 1.512 GB, free: 2.512 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.3243, allocations: 8.031 kB / 1.512 GB, free: 2.504 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001385/0.3257, allocations: 233.5 kB / 1.512 GB, free: 2.273 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004839/0.3306, allocations: 1.702 MB / 1.514 GB, free: 0.5156 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001359/0.3307, allocations: 110.7 kB / 1.514 GB, free: 416 kB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000463/0.3312, allocations: 151.9 kB / 1.514 GB, free: 264 kB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005595/0.3368, allocations: 1.986 MB / 1.516 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.008e-05/0.3369, allocations: 0 / 1.516 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000239/0.3372, allocations: 63.94 kB / 1.516 GB, free: 14.14 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-05/0.3373, allocations: 43.98 kB / 1.516 GB, free: 14.1 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005071/0.3424, allocations: 1.786 MB / 1.518 GB, free: 12.31 MB / 0.6667 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.01973/0.3621, allocations: 7.613 MB / 1.525 GB, free: 4.383 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003225/0.3654, allocations: 1.436 MB / 1.527 GB, free: 2.93 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001568/0.367, allocations: 0.6642 MB / 1.527 GB, free: 2.258 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6389/1.006, allocations: 3.836 MB / 1.531 GB, free: 72.48 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.633e-05/1.006, allocations: 46.62 kB / 1.531 GB, free: 72.44 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=88): time 4.218e-06/1.006, allocations: 0 / 1.531 GB, free: 72.44 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88): time 0.004071/1.01, allocations: 1.508 MB / 1.533 GB, free: 72.11 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/1.01, allocations: 63.98 kB / 1.533 GB, free: 72.05 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003286/1.013, allocations: 1.569 MB / 1.534 GB, free: 71.49 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002762/1.014, allocations: 47.83 kB / 1.534 GB, free: 71.44 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008014/1.015, allocations: 0.7536 MB / 1.535 GB, free: 70.96 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004134/1.015, allocations: 312.6 kB / 1.535 GB, free: 70.72 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/1.015, allocations: 29.47 kB / 1.535 GB, free: 70.7 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001519/1.015, allocations: 361.4 kB / 1.536 GB, free: 70.38 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001776/1.017, allocations: 0.6809 MB / 1.536 GB, free: 70.15 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001992/1.019, allocations: 1.013 MB / 1.537 GB, free: 69.56 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002206/1.021, allocations: 0.866 MB / 1.538 GB, free: 69.24 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.526e-05/1.021, allocations: 2.781 kB / 1.538 GB, free: 69.24 MB / 0.6667 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.005134/1.027, allocations: 1.936 MB / 1.54 GB, free: 68.52 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001999/1.027, allocations: 361.4 kB / 1.54 GB, free: 68.09 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/1.027, allocations: 8.156 kB / 1.54 GB, free: 68.09 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.621e-05/1.027, allocations: 17.58 kB / 1.54 GB, free: 68.09 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002555/1.029, allocations: 331 kB / 1.541 GB, free: 68.06 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.404e-05/1.03, allocations: 26.25 kB / 1.541 GB, free: 68.05 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002178/1.032, allocations: 219.3 kB / 1.541 GB, free: 67.94 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001964/1.032, allocations: 64.67 kB / 1.541 GB, free: 67.93 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/1.032, allocations: 2.688 kB / 1.541 GB, free: 67.93 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004542/1.037, allocations: 1.782 MB / 1.543 GB, free: 67.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.406e-05/1.037, allocations: 15.94 kB / 1.543 GB, free: 67.29 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.124e-05/1.037, allocations: 17.3 kB / 1.543 GB, free: 67.29 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002486/1.039, allocations: 334.7 kB / 1.543 GB, free: 67.26 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.361e-05/1.039, allocations: 21.75 kB / 1.543 GB, free: 67.26 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002065/1.041, allocations: 189.5 kB / 1.543 GB, free: 67.17 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001866/1.041, allocations: 58.5 kB / 1.543 GB, free: 67.16 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (175): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001584/1.043, allocations: 0.7489 MB / 1.544 GB, free: 66.74 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005056/1.044, allocations: 155 kB / 1.544 GB, free: 66.66 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003244/1.047, allocations: 1.273 MB / 1.546 GB, free: 66.16 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002483/1.049, allocations: 1.288 MB / 1.547 GB, free: 65.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-05/1.049, allocations: 0 / 1.547 GB, free: 65.4 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001668/1.051, allocations: 409.9 kB / 1.547 GB, free: 65.14 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004147/1.052, allocations: 19.88 kB / 1.547 GB, free: 65.13 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001525/1.053, allocations: 67.73 kB / 1.547 GB, free: 65.11 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/1.053, allocations: 52.33 kB / 1.547 GB, free: 65.1 MB / 0.6667 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00364/1.057, allocations: 1.253 MB / 1.549 GB, free: 64.64 MB / 0.6667 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004482/1.061, allocations: 2.017 MB / 1.551 GB, free: 63.75 MB / 0.6667 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001164/1.063, allocations: 0.521 MB / 1.551 GB, free: 63.57 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002552/1.065, allocations: 1.106 MB / 1.552 GB, free: 63.16 MB / 0.6667 GB Notification: Performance of Backend: time 2.255e-06/1.065, allocations: 0 / 1.552 GB, free: 63.16 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.007204/1.072, allocations: 2.264 MB / 1.554 GB, free: 62.48 MB / 0.6667 GB Notification: Performance of SimCode: time 0.01596/1.088, allocations: 5.023 MB / 1.559 GB, free: 59.8 MB / 0.6667 GB Notification: Performance of Templates: time 0.1054/1.194, allocations: 38.15 MB / 1.597 GB, free: 30.43 MB / 0.6667 GB