Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Storage.Examples.Stratified.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.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Storage.Examples.Stratified") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.786/4.786, allocations: 0.5623 GB / 0.5776 GB, free: 3.383 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.002479/0.002479, allocations: 357 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 4.176/4.176, allocations: 410.7 MB / 1.113 GB, free: 6.031 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001859/0.001859, allocations: 176 kB / 1.226 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006594/0.0006597, allocations: 8 kB / 1.349 GB, free: 8.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7008/0.7015, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.Stratified): time 0.05831/0.7599, allocations: 51.74 MB / 1.512 GB, free: 232.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.02531/0.7852, allocations: 16.12 MB / 1.528 GB, free: 216.6 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002668/0.7879, allocations: 60.12 kB / 1.528 GB, free: 216.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.003327/0.7913, allocations: 0.79 MB / 1.528 GB, free: 215.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.008627/0.8, allocations: 2.376 MB / 1.531 GB, free: 213.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.006931/0.8069, allocations: 1.717 MB / 1.532 GB, free: 211.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.03305/0.84, allocations: 32.23 MB / 1.564 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01652/0.8566, allocations: 10.03 MB / 1.574 GB, free: 169.5 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01422/0.8708, allocations: 6.996 MB / 1.581 GB, free: 162.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01488/0.8857, allocations: 7.551 MB / 1.588 GB, free: 154.9 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.002909/0.8887, allocations: 476 kB / 1.588 GB, free: 154.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007998/0.8967, allocations: 1.178 MB / 1.589 GB, free: 153.2 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.004519/0.9013, allocations: 2.098 MB / 1.592 GB, free: 151.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.004947/0.9063, allocations: 2.207 MB / 1.594 GB, free: 148.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.01881/0.9251, allocations: 14.34 MB / 1.608 GB, free: 134.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.9252, allocations: 3.984 kB / 1.608 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.885e-06/0.9252, allocations: 0 / 1.608 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0005617/0.9258, allocations: 0 / 1.608 GB, free: 134.5 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2145 * Number of variables: 2145 Notification: Performance of Generate backend data structure: time 0.02868/0.9544, allocations: 9.475 MB / 1.617 GB, free: 125 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.9545, allocations: 19.56 kB / 1.617 GB, free: 124.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006351/0.9609, allocations: 1.175 MB / 1.618 GB, free: 123.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02299/0.9839, allocations: 8.82 MB / 1.627 GB, free: 114.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006262/0.9846, allocations: 0.614 MB / 1.627 GB, free: 114.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002936/0.9875, allocations: 0.8241 MB / 1.628 GB, free: 113.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03481/1.022, allocations: 12.44 MB / 1.64 GB, free: 100.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003323/1.023, allocations: 35.72 kB / 1.64 GB, free: 100.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00203/1.025, allocations: 363.9 kB / 1.641 GB, free: 100.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002849/1.025, allocations: 247.9 kB / 1.641 GB, free: 99.96 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02954/1.055, allocations: 10.35 MB / 1.651 GB, free: 89.6 MB / 0.8542 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.08338/1.138, allocations: 48.84 MB / 1.699 GB, free: 38.02 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01284/1.151, allocations: 6.238 MB / 1.705 GB, free: 31.77 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01021/1.161, allocations: 5.063 MB / 1.71 GB, free: 26.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001905/1.163, allocations: 0.8555 MB / 1.711 GB, free: 25.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008907/1.172, allocations: 3.408 MB / 1.714 GB, free: 22.25 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004947/1.177, allocations: 0.4985 MB / 1.714 GB, free: 21.75 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=449): time 1.381e-05/1.177, allocations: 4 kB / 1.714 GB, free: 21.75 MB / 0.8542 GB Notification: Performance of matching and sorting (n=449): time 0.0235/1.201, allocations: 8.838 MB / 1.723 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.968e-05/1.201, allocations: 158.3 kB / 1.723 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01476/1.216, allocations: 7.242 MB / 1.73 GB, free: 5.477 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.001156/1.217, allocations: 113.7 kB / 1.73 GB, free: 5.359 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.004922/1.222, allocations: 4.294 MB / 1.735 GB, free: 1.027 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.204/2.426, allocations: 1.555 MB / 1.736 GB, free: 248.4 MB / 0.8543 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006716/2.426, allocations: 117.5 kB / 1.736 GB, free: 248.4 MB / 0.8543 GB Notification: Performance of setup shared object (initialization): time 0.0005257/2.427, allocations: 0.5432 MB / 1.737 GB, free: 248.1 MB / 0.8543 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007966/2.435, allocations: 2.99 MB / 1.74 GB, free: 248.1 MB / 0.8543 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009784/2.445, allocations: 4.88 MB / 1.744 GB, free: 244.9 MB / 0.8543 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01049/2.455, allocations: 4.022 MB / 1.748 GB, free: 243.3 MB / 0.8543 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001097/2.455, allocations: 17.72 kB / 1.748 GB, free: 243.3 MB / 0.8543 GB Notification: Performance of matching and sorting (n=754) (initialization): time 0.02706/2.482, allocations: 8.831 MB / 1.757 GB, free: 240.3 MB / 0.8543 GB Notification: Performance of prepare postOptimizeDAE: time 0.001292/2.484, allocations: 1.903 MB / 1.759 GB, free: 237.8 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000158/2.484, allocations: 61.14 kB / 1.759 GB, free: 237.8 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001628/2.484, allocations: 97.78 kB / 1.759 GB, free: 237.8 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01027/2.494, allocations: 1.359 MB / 1.76 GB, free: 237.7 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001561/2.495, allocations: 127 kB / 1.76 GB, free: 237.7 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01088/2.506, allocations: 0.6196 MB / 1.761 GB, free: 237.6 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001335/2.507, allocations: 277.6 kB / 1.761 GB, free: 237.5 MB / 0.8543 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/2.507, allocations: 3.719 kB / 1.761 GB, free: 237.5 MB / 0.8543 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02221/2.529, allocations: 8.249 MB / 1.769 GB, free: 234.4 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000149/2.529, allocations: 59.19 kB / 1.769 GB, free: 234.4 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001047/2.529, allocations: 99.41 kB / 1.77 GB, free: 234.4 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01018/2.54, allocations: 1.361 MB / 1.771 GB, free: 233.3 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001506/2.54, allocations: 129.5 kB / 1.771 GB, free: 233.2 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0103/2.55, allocations: 0.5968 MB / 1.772 GB, free: 232.8 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001434/2.552, allocations: 280 kB / 1.772 GB, free: 232.5 MB / 0.8543 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 264 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,$PRE.TWat.nextEvent,TWat.nextEvent,TWat.nextEventScaled,P.a,P.b,P.last,$PRE.P.nextEvent,P.nextEvent,P.nextEventScaled,dH.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (744): * Single equations (assignments): 742 * Array equations: 0 * Algorithm blocks: 2 * 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.008247/2.56, allocations: 3.558 MB / 1.775 GB, free: 229.1 MB / 0.8543 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002235/2.562, allocations: 0.7102 MB / 1.776 GB, free: 228.4 MB / 0.8543 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01832/2.58, allocations: 7.094 MB / 1.783 GB, free: 221.3 MB / 0.8543 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01379/2.594, allocations: 5.807 MB / 1.789 GB, free: 215.4 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.895e-05/2.594, allocations: 0 / 1.789 GB, free: 215.4 MB / 0.8543 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006004/2.6, allocations: 1.71 MB / 1.79 GB, free: 213.7 MB / 0.8543 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002402/2.603, allocations: 91.98 kB / 1.79 GB, free: 213.6 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01007/2.613, allocations: 0.5185 MB / 1.791 GB, free: 213.1 MB / 0.8543 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001239/2.614, allocations: 251.1 kB / 1.791 GB, free: 212.9 MB / 0.8543 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02041/2.635, allocations: 7.086 MB / 1.798 GB, free: 205.8 MB / 0.8543 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02447/2.659, allocations: 11.31 MB / 1.809 GB, free: 194.4 MB / 0.8543 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006326/2.666, allocations: 3.182 MB / 1.812 GB, free: 191.2 MB / 0.8543 GB Notification: Performance of sorting global known variables: time 0.0109/2.676, allocations: 5.054 MB / 1.817 GB, free: 186.2 MB / 0.8543 GB Notification: Performance of Backend: time 9.62e-07/2.677, allocations: 3.938 kB / 1.817 GB, free: 186.2 MB / 0.8543 GB Notification: Performance of simCode: created initialization part: time 0.02642/2.703, allocations: 9.467 MB / 1.826 GB, free: 176.8 MB / 0.8543 GB Notification: Performance of SimCode: time 0.06363/2.767, allocations: 24.06 MB / 1.85 GB, free: 152.9 MB / 0.8543 GB Notification: Performance of Templates: time 0.3781/3.145, allocations: 174.7 MB / 2.02 GB, free: 11.86 MB / 0.8855 GB