Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 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.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Storage.Examples.Stratified") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002381/0.002382, allocations: 188.1 kB / 15.77 MB, free: 6 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.7425/0.7425, allocations: 82.92 MB / 99.42 MB, free: 3.23 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.116/2.116, allocations: 205.4 MB / 325.4 MB, free: 3.582 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.00104/0.00104, allocations: 98.45 kB / 393.6 MB, free: 15.34 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004414/0.0004417, allocations: 8 kB / 471.5 MB, free: 66.61 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08757/0.08803, allocations: 67.45 MB / 0.5263 GB, free: 15.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.Stratified): time 0.06814/0.1562, allocations: 46.96 MB / 0.5722 GB, free: 32 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.02752/0.1838, allocations: 15.05 MB / 0.5869 GB, free: 0.9492 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002415/0.1862, allocations: 63.56 kB / 0.587 GB, free: 0.8867 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003037/0.1893, allocations: 0.859 MB / 0.5878 GB, free: 24 kB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.384/0.5734, allocations: 2.252 MB / 0.59 GB, free: 11.05 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00681/0.5802, allocations: 1.725 MB / 0.5917 GB, free: 11.01 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.02354/0.6038, allocations: 15.63 MB / 0.607 GB, free: 10.97 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01886/0.6227, allocations: 10.04 MB / 0.6168 GB, free: 9.387 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01302/0.6357, allocations: 6.064 MB / 0.6227 GB, free: 9.383 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01037/0.6462, allocations: 5.306 MB / 0.6279 GB, free: 8.648 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002635/0.6488, allocations: 471.1 kB / 0.6283 GB, free: 8.648 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008346/0.6572, allocations: 1.238 MB / 0.6295 GB, free: 8.496 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003821/0.6611, allocations: 2.021 MB / 0.6315 GB, free: 7.73 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005202/0.6663, allocations: 2.203 MB / 0.6337 GB, free: 7.375 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01825/0.6846, allocations: 14.29 MB / 0.6476 GB, free: 12.47 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.383e-06/0.6847, allocations: 2.516 kB / 0.6476 GB, free: 12.47 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.386e-06/0.6847, allocations: 8 kB / 0.6476 GB, free: 12.46 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004553/0.6852, allocations: 0 / 0.6476 GB, free: 12.46 MB / 442.7 MB 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.02513/0.7103, allocations: 9.474 MB / 0.6569 GB, free: 3.699 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.7104, allocations: 12.03 kB / 0.6569 GB, free: 3.688 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005796/0.7162, allocations: 1.169 MB / 0.658 GB, free: 2.508 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0222/0.7384, allocations: 8.202 MB / 0.666 GB, free: 12.82 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007895/0.7392, allocations: 0.6205 MB / 0.6666 GB, free: 12.36 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002702/0.742, allocations: 0.8162 MB / 0.6674 GB, free: 11.54 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03691/0.7789, allocations: 12.39 MB / 0.6795 GB, free: 14.77 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003763/0.7793, allocations: 27.72 kB / 0.6796 GB, free: 14.75 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002163/0.7815, allocations: 362.9 kB / 0.6799 GB, free: 14.39 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003296/0.7819, allocations: 243.9 kB / 0.6801 GB, free: 14.16 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03103/0.8129, allocations: 10.36 MB / 0.6903 GB, free: 3.793 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.102/0.9149, allocations: 49.21 MB / 0.7383 GB, free: 292 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01558/0.9306, allocations: 6.364 MB / 0.7445 GB, free: 9.957 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001809/0.9324, allocations: 0.8529 MB / 0.7454 GB, free: 8.973 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009402/0.9418, allocations: 3.408 MB / 0.7487 GB, free: 5.527 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004538/0.9464, allocations: 0.5405 MB / 0.7492 GB, free: 4.984 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=449): time 1.783e-05/0.9465, allocations: 0 / 0.7492 GB, free: 4.984 MB / 0.5261 GB Notification: Performance of matching and sorting (n=449): time 0.02549/0.972, allocations: 9.058 MB / 0.7581 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001436/0.9722, allocations: 158.3 kB / 0.7582 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01831/0.9905, allocations: 7.843 MB / 0.7659 GB, free: 3.852 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0009333/0.9915, allocations: 109.7 kB / 0.766 GB, free: 3.738 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.006552/0.998, allocations: 4.283 MB / 0.7702 GB, free: 15.44 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002766/1.001, allocations: 1.562 MB / 0.7717 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005857/1.001, allocations: 116 kB / 0.7718 GB, free: 13.78 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0005741/1.002, allocations: 0.5483 MB / 0.7723 GB, free: 13.22 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007799/1.01, allocations: 3.002 MB / 0.7753 GB, free: 10.21 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01025/1.02, allocations: 4.876 MB / 0.78 GB, free: 4.504 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0155/1.036, allocations: 4.042 MB / 0.784 GB, free: 460 kB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.136e-05/1.036, allocations: 16 kB / 0.784 GB, free: 444 kB / 0.5573 GB Notification: Performance of matching and sorting (n=754) (initialization): time 0.04253/1.078, allocations: 8.867 MB / 0.7926 GB, free: 7.539 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.6601/1.739, allocations: 29.07 MB / 0.821 GB, free: 195.2 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001684/1.739, allocations: 58.41 kB / 0.8211 GB, free: 195.2 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001834/1.739, allocations: 97.97 kB / 0.8212 GB, free: 195.2 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008181/1.747, allocations: 1.428 MB / 0.8226 GB, free: 195.2 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002259/1.747, allocations: 125.4 kB / 0.8227 GB, free: 195.2 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009657/1.757, allocations: 0.6378 MB / 0.8233 GB, free: 195.2 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00155/1.759, allocations: 275.8 kB / 0.8236 GB, free: 195.2 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/1.759, allocations: 8.781 kB / 0.8236 GB, free: 195.2 MB / 0.5887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02062/1.779, allocations: 8.284 MB / 0.8317 GB, free: 193.7 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001815/1.78, allocations: 60.92 kB / 0.8317 GB, free: 193.7 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001523/1.78, allocations: 98.34 kB / 0.8318 GB, free: 193.7 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007777/1.788, allocations: 1.423 MB / 0.8332 GB, free: 193.5 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002235/1.788, allocations: 130.2 kB / 0.8333 GB, free: 193.5 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008646/1.797, allocations: 0.621 MB / 0.834 GB, free: 193.4 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001478/1.798, allocations: 277.8 kB / 0.8342 GB, free: 193.4 MB / 0.5887 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.008618/1.807, allocations: 3.554 MB / 0.8377 GB, free: 191.8 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002262/1.809, allocations: 0.7103 MB / 0.8384 GB, free: 191.8 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01812/1.827, allocations: 7.137 MB / 0.8454 GB, free: 189.1 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.644e-05/1.827, allocations: 43.81 kB / 0.8454 GB, free: 189.1 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.675e-05/1.827, allocations: 3.906 kB / 0.8454 GB, free: 189.1 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0133/1.841, allocations: 5.847 MB / 0.8511 GB, free: 187 MB / 0.5887 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.03881/1.879, allocations: 16.62 MB / 0.8673 GB, free: 178.9 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-05/1.879, allocations: 3.984 kB / 0.8673 GB, free: 178.9 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005403/1.885, allocations: 0.8894 MB / 0.8682 GB, free: 178.2 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.304e-05/1.885, allocations: 22.83 kB / 0.8682 GB, free: 178.1 MB / 0.5887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007541/1.886, allocations: 119.9 kB / 0.8683 GB, free: 178 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.718e-05/1.886, allocations: 15.94 kB / 0.8684 GB, free: 178 MB / 0.5887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.746e-06/1.886, allocations: 5.422 kB / 0.8684 GB, free: 178 MB / 0.5887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.021/1.907, allocations: 10.78 MB / 0.8789 GB, free: 167.4 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005516/1.912, allocations: 1.788 MB / 0.8806 GB, free: 165.6 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002289/1.915, allocations: 102.9 kB / 0.8807 GB, free: 165.5 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007687/1.922, allocations: 0.6035 MB / 0.8813 GB, free: 165 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001025/1.923, allocations: 255 kB / 0.8816 GB, free: 164.7 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000841/1.924, allocations: 199.8 kB / 0.8818 GB, free: 164.5 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 0.01487/1.939, allocations: 5.528 MB / 0.8872 GB, free: 159 MB / 0.5887 GB Notification: Performance of sort global known variables: time 1.603e-06/1.939, allocations: 0 / 0.8872 GB, free: 159 MB / 0.5887 GB Notification: Performance of remove unused functions: time 0.01908/1.958, allocations: 4.857 MB / 0.8919 GB, free: 154.4 MB / 0.5887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 21 (tanSim.vol[1].dynBal.U,tanSim.vol[2].dynBal.U,tanSim.vol[3].dynBal.U,tanSim.vol[4].dynBal.U,tanSim.vol[5].dynBal.U,tanSim.vol[6].dynBal.U,tanSim.vol[7].dynBal.U,tanSim.vol[8].dynBal.U,tanSim.vol[9].dynBal.U,tanSim.vol[10].dynBal.U,tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tanEnh.vol[8].dynBal.U,tanEnh.vol[9].dynBal.U,tanEnh.vol[10].dynBal.U,dH.y) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,TWat.nextEvent,TWat.nextEventScaled,P.a,P.b,P.last,P.nextEvent,P.nextEventScaled) * Number of discrete states: 12 (P.nextEvent,P.last,P.nextEventScaled,P.b,P.a,$whenCondition2,TWat.nextEvent,TWat.last,TWat.nextEventScaled,TWat.b,TWat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (445): * Single equations (assignments): 441 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * 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 Backend phase and start with SimCode phase: time 0.002001/1.96, allocations: 0.5788 MB / 0.8925 GB, free: 153.9 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 0.02321/1.984, allocations: 11.5 MB / 0.9037 GB, free: 142.4 MB / 0.5887 GB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/1.984, allocations: 4.562 kB / 0.9037 GB, free: 142.4 MB / 0.5887 GB Notification: Performance of simCode: created simulation system equations: time 0.006474/1.99, allocations: 3.223 MB / 0.9069 GB, free: 139.2 MB / 0.5887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02174/2.012, allocations: 4.381 MB / 0.9111 GB, free: 134.9 MB / 0.5887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04242/2.054, allocations: 22.51 MB / 0.9331 GB, free: 112.4 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01049/2.065, allocations: 6.26 MB / 0.9392 GB, free: 106.1 MB / 0.5887 GB Notification: Performance of simCode: alias equations: time 0.01841/2.083, allocations: 4.39 MB / 0.9435 GB, free: 101.7 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003165/2.087, allocations: 0.6086 MB / 0.9441 GB, free: 101.1 MB / 0.5887 GB Notification: Performance of SimCode: time 1.838e-06/2.087, allocations: 0 / 0.9441 GB, free: 101.1 MB / 0.5887 GB Notification: Performance of Templates: time 0.7177/2.804, allocations: 154.8 MB / 1.095 GB, free: 152.3 MB / 0.5887 GB