Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified") translateModel(Buildings.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.611/2.611, allocations: 287.3 MB / 302.3 MB, free: 8.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002178/0.002178, allocations: 177 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.269/2.269, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001165/0.001165, allocations: 89.36 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004812/0.0004813, allocations: 11.53 kB / 0.8656 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.2151, allocations: 115.3 MB / 0.9782 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.Stratified): time 0.07856/0.2937, allocations: 46.99 MB / 1.024 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.04724/0.341, allocations: 15.06 MB / 1.039 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002751/0.3438, allocations: 63.56 kB / 1.039 GB, free: 14.14 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004186/0.3481, allocations: 0.8551 MB / 1.04 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.01078/0.3589, allocations: 2.261 MB / 1.042 GB, free: 11.02 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.008119/0.367, allocations: 1.709 MB / 1.044 GB, free: 9.336 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.02846/0.3955, allocations: 15.61 MB / 1.059 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 1.264/1.66, allocations: 10.03 MB / 1.069 GB, free: 12.29 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01664/1.677, allocations: 6.068 MB / 1.075 GB, free: 12.29 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01684/1.694, allocations: 5.3 MB / 1.08 GB, free: 12.29 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 0.004908/1.699, allocations: 474.2 kB / 1.08 GB, free: 12.29 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01299/1.712, allocations: 1.241 MB / 1.081 GB, free: 12.29 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 0.007139/1.719, allocations: 2.011 MB / 1.083 GB, free: 12.22 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 0.008342/1.727, allocations: 2.204 MB / 1.085 GB, free: 11.87 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 0.0262/1.754, allocations: 14.28 MB / 1.099 GB, free: 11.03 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/1.754, allocations: 0 / 1.099 GB, free: 11.03 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.525e-06/1.754, allocations: 3.031 kB / 1.099 GB, free: 11.03 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 0.0007136/1.754, allocations: 0 / 1.099 GB, free: 11.03 MB / 0.6824 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.03733/1.792, allocations: 9.473 MB / 1.109 GB, free: 23.23 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/1.792, allocations: 9.188 kB / 1.109 GB, free: 23.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008516/1.8, allocations: 1.171 MB / 1.11 GB, free: 22.67 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03047/1.831, allocations: 8.2 MB / 1.118 GB, free: 19.91 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001113/1.832, allocations: 0.6143 MB / 1.118 GB, free: 19.89 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004488/1.836, allocations: 0.8211 MB / 1.119 GB, free: 19.88 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04686/1.883, allocations: 12.39 MB / 1.131 GB, free: 16.09 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006054/1.884, allocations: 32.89 kB / 1.131 GB, free: 16.07 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003759/1.888, allocations: 359 kB / 1.132 GB, free: 16.07 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003576/1.888, allocations: 249.1 kB / 1.132 GB, free: 16.05 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0349/1.923, allocations: 10.36 MB / 1.142 GB, free: 14.06 MB / 0.698 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.12/2.043, allocations: 49.21 MB / 1.19 GB, free: 2.715 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01943/2.063, allocations: 6.362 MB / 1.196 GB, free: 12.38 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002454/2.065, allocations: 0.8509 MB / 1.197 GB, free: 11.4 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01205/2.077, allocations: 3.412 MB / 1.2 GB, free: 7.957 MB / 0.7449 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006947/2.084, allocations: 0.533 MB / 1.201 GB, free: 7.418 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=449): time 1.517e-05/2.084, allocations: 0 / 1.201 GB, free: 7.418 MB / 0.7449 GB Notification: Performance of matching and sorting (n=449): time 0.03145/2.116, allocations: 9.062 MB / 1.21 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001741/2.116, allocations: 158.3 kB / 1.21 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02314/2.139, allocations: 7.84 MB / 1.218 GB, free: 6.285 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.001532/2.141, allocations: 113.7 kB / 1.218 GB, free: 6.168 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.007977/2.149, allocations: 4.29 MB / 1.222 GB, free: 1.863 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.003763/2.153, allocations: 1.555 MB / 1.223 GB, free: 332 kB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007792/2.153, allocations: 120 kB / 1.224 GB, free: 212 kB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0006492/2.154, allocations: 0.5498 MB / 1.224 GB, free: 15.65 MB / 0.7762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009536/2.164, allocations: 3.002 MB / 1.227 GB, free: 12.64 MB / 0.7762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01197/2.176, allocations: 4.873 MB / 1.232 GB, free: 6.934 MB / 0.7762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01199/2.188, allocations: 4.047 MB / 1.236 GB, free: 2.875 MB / 0.7762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-05/2.188, allocations: 20 kB / 1.236 GB, free: 2.855 MB / 0.7762 GB Notification: Performance of matching and sorting (n=754) (initialization): time 0.02935/2.217, allocations: 8.865 MB / 1.244 GB, free: 9.961 MB / 0.7918 GB Notification: Performance of prepare postOptimizeDAE: time 0.01355/2.231, allocations: 29.07 MB / 1.273 GB, free: 10.93 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001771/2.231, allocations: 60 kB / 1.273 GB, free: 10.87 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001745/2.231, allocations: 96 kB / 1.273 GB, free: 10.78 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01199/2.243, allocations: 1.427 MB / 1.274 GB, free: 9.348 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002201/2.243, allocations: 127.6 kB / 1.275 GB, free: 9.223 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01276/2.256, allocations: 0.6311 MB / 1.275 GB, free: 8.59 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001749/2.258, allocations: 276 kB / 1.275 GB, free: 8.32 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/2.258, allocations: 4 kB / 1.275 GB, free: 8.316 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.026/2.284, allocations: 8.29 MB / 1.283 GB, free: 12 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001933/2.284, allocations: 60.05 kB / 1.284 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001449/2.284, allocations: 96 kB / 1.284 GB, free: 15.86 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01187/2.296, allocations: 1.428 MB / 1.285 GB, free: 14.43 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002078/2.297, allocations: 127.6 kB / 1.285 GB, free: 14.3 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01229/2.309, allocations: 0.6216 MB / 1.286 GB, free: 13.68 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002032/2.311, allocations: 273 kB / 1.286 GB, free: 13.42 MB / 0.8387 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.01198/2.323, allocations: 3.557 MB / 1.29 GB, free: 9.836 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003378/2.326, allocations: 0.7141 MB / 1.29 GB, free: 9.113 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02579/2.352, allocations: 7.133 MB / 1.297 GB, free: 1.957 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.196e-05/2.352, allocations: 44 kB / 1.297 GB, free: 1.914 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.718e-05/2.352, allocations: 0 / 1.297 GB, free: 1.914 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01968/2.372, allocations: 5.846 MB / 1.303 GB, free: 12.04 MB / 0.8543 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.05907/2.431, allocations: 16.64 MB / 1.319 GB, free: 11.32 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.102e-05/2.431, allocations: 0 / 1.319 GB, free: 11.32 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009483/2.441, allocations: 0.8895 MB / 1.32 GB, free: 10.43 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.066e-05/2.441, allocations: 19.89 kB / 1.32 GB, free: 10.41 MB / 0.8699 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001184/2.442, allocations: 119.9 kB / 1.32 GB, free: 10.29 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-05/2.442, allocations: 16 kB / 1.32 GB, free: 10.27 MB / 0.8699 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/2.442, allocations: 4 kB / 1.32 GB, free: 10.27 MB / 0.8699 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03239/2.475, allocations: 10.78 MB / 1.331 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009061/2.484, allocations: 1.788 MB / 1.332 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003749/2.487, allocations: 95.98 kB / 1.333 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01236/2.5, allocations: 0.616 MB / 1.333 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001579/2.502, allocations: 253.2 kB / 1.333 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000922/2.502, allocations: 199.8 kB / 1.334 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.01759/2.52, allocations: 5.53 MB / 1.339 GB, free: 6.938 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.21e-07/2.52, allocations: 4 kB / 1.339 GB, free: 6.934 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.03359/2.554, allocations: 4.845 MB / 1.344 GB, free: 2.074 MB / 0.8855 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.003062/2.557, allocations: 0.5739 MB / 1.344 GB, free: 1.535 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0325/2.589, allocations: 11.5 MB / 1.356 GB, free: 6.008 MB / 0.9012 GB Notification: Performance of simCode: created event and clocks part: time 1.407e-05/2.589, allocations: 4.562 kB / 1.356 GB, free: 6.004 MB / 0.9012 GB Notification: Performance of simCode: created simulation system equations: time 0.008816/2.598, allocations: 3.225 MB / 1.359 GB, free: 2.758 MB / 0.9012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03675/2.635, allocations: 4.382 MB / 1.363 GB, free: 14.43 MB / 0.9168 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06233/2.697, allocations: 22.51 MB / 1.385 GB, free: 7.898 MB / 0.9324 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01493/2.712, allocations: 6.256 MB / 1.391 GB, free: 1.605 MB / 0.9324 GB Notification: Performance of simCode: alias equations: time 0.02707/2.74, allocations: 4.375 MB / 1.395 GB, free: 13.21 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004938/2.745, allocations: 0.6085 MB / 1.396 GB, free: 12.61 MB / 0.948 GB Notification: Performance of SimCode: time 1.092e-06/2.745, allocations: 0 / 1.396 GB, free: 12.61 MB / 0.948 GB Notification: Performance of Templates: time 1.042/3.787, allocations: 154.8 MB / 1.547 GB, free: 279.6 MB / 0.9793 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified.sim & ./Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified.pipe 2>&1)