Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.Stratified.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.Stratified") translateModel(Buildings.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.Stratified") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.775/1.775, allocations: 285.4 MB / 298 MB, free: 5.914 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.001044/0.001044, allocations: 180.8 kB / 366.4 MB, free: 2.066 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.655/1.655, allocations: 205.1 MB / 0.6248 GB, free: 7.719 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008726/0.0008728, allocations: 95.17 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.349e-05/3.353e-05, allocations: 4 kB / 0.8583 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8139/0.8139, allocations: 115.3 MB / 0.9709 GB, free: 77.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.108/1.922, allocations: 411.4 MB / 1.373 GB, free: 148.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/1.922, allocations: 86.64 kB / 1.373 GB, free: 148.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 11.86/13.78, allocations: 2.917 GB / 4.29 GB, free: 125.9 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.974e-06/13.78, allocations: 1.594 kB / 4.29 GB, free: 125.9 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.001628/13.78, allocations: 253.9 kB / 4.29 GB, free: 125.8 MB / 0.9636 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.03098/13.81, allocations: 8.291 MB / 4.298 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/13.82, allocations: 7.812 kB / 4.298 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008665/13.82, allocations: 1.165 MB / 4.299 GB, free: 122.4 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03419/13.86, allocations: 10.75 MB / 4.31 GB, free: 121.3 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009436/13.86, allocations: 0.6165 MB / 4.31 GB, free: 121.3 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004801/13.86, allocations: 0.8177 MB / 4.311 GB, free: 121.3 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03683/13.9, allocations: 11.55 MB / 4.322 GB, free: 120 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003828/13.9, allocations: 27.25 kB / 4.322 GB, free: 120 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002703/13.9, allocations: 358.4 kB / 4.323 GB, free: 120 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002317/13.9, allocations: 257.1 kB / 4.323 GB, free: 120 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02315/13.93, allocations: 9.431 MB / 4.332 GB, free: 120 MB / 0.9636 GB Warning: The model contains alias variables with conflicting start and/or 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.07934/14.01, allocations: 46.59 MB / 4.378 GB, free: 100.5 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009478/14.02, allocations: 6.245 MB / 4.384 GB, free: 100.2 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007435/14.02, allocations: 5.408 MB / 4.389 GB, free: 99.62 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001193/14.02, allocations: 0.8197 MB / 4.39 GB, free: 98.86 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006109/14.03, allocations: 3.331 MB / 4.393 GB, free: 97.66 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005815/14.04, allocations: 0.5585 MB / 4.394 GB, free: 97.3 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=449): time 2.537e-05/14.04, allocations: 2.969 kB / 4.394 GB, free: 97.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=449): time 0.01228/14.05, allocations: 6.19 MB / 4.4 GB, free: 95.04 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/14.05, allocations: 150.1 kB / 4.4 GB, free: 94.91 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01712/14.07, allocations: 7.029 MB / 4.407 GB, free: 92.5 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.001602/14.07, allocations: 112.2 kB / 4.407 GB, free: 92.4 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.005478/14.07, allocations: 4.281 MB / 4.411 GB, free: 89.16 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.002781/14.08, allocations: 1.564 MB / 4.413 GB, free: 87.97 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005055/14.08, allocations: 117.9 kB / 4.413 GB, free: 87.88 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003916/14.08, allocations: 0.539 MB / 4.413 GB, free: 87.47 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004123/14.08, allocations: 2.899 MB / 4.416 GB, free: 86.46 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00514/14.09, allocations: 4.77 MB / 4.421 GB, free: 83.13 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005773/14.09, allocations: 3.954 MB / 4.425 GB, free: 81.8 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-05/14.09, allocations: 15.62 kB / 4.425 GB, free: 81.8 MB / 0.9636 GB Notification: Performance of matching and sorting (n=754) (initialization): time 0.01738/14.11, allocations: 8.671 MB / 4.433 GB, free: 78.75 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.009633/14.12, allocations: 29.08 MB / 4.461 GB, free: 48 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003381/14.12, allocations: 65.77 kB / 4.462 GB, free: 48 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002962/14.12, allocations: 98.62 kB / 4.462 GB, free: 48 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007586/14.13, allocations: 1.443 MB / 4.463 GB, free: 47.85 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002279/14.13, allocations: 123.3 kB / 4.463 GB, free: 47.82 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01051/14.14, allocations: 0.6264 MB / 4.464 GB, free: 47.64 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001949/14.14, allocations: 281 kB / 4.464 GB, free: 47.59 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/14.14, allocations: 3.656 kB / 4.464 GB, free: 47.59 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01869/14.16, allocations: 8.086 MB / 4.472 GB, free: 44.69 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002536/14.16, allocations: 57.66 kB / 4.472 GB, free: 44.69 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001572/14.16, allocations: 100.3 kB / 4.472 GB, free: 44.69 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007837/14.17, allocations: 1.447 MB / 4.474 GB, free: 44.54 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002409/14.17, allocations: 130.8 kB / 4.474 GB, free: 44.51 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01061/14.18, allocations: 0.5894 MB / 4.474 GB, free: 44.34 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002157/14.18, allocations: 287.7 kB / 4.474 GB, free: 44.29 MB / 0.9636 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 () * 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.003542/14.18, allocations: 0.5382 MB / 4.475 GB, free: 43.82 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003715/14.19, allocations: 0.7108 MB / 4.476 GB, free: 43.46 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01783/14.21, allocations: 6.951 MB / 4.482 GB, free: 40.91 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.855e-05/14.21, allocations: 46 kB / 4.483 GB, free: 40.91 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-05/14.21, allocations: 0 / 4.483 GB, free: 40.91 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01042/14.22, allocations: 5.671 MB / 4.488 GB, free: 36.27 MB / 0.9636 GB Warning: The model contains alias variables with conflicting start and/or 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.04461/14.26, allocations: 16.45 MB / 4.504 GB, free: 23.19 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.294e-05/14.26, allocations: 4 kB / 4.504 GB, free: 23.19 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004208/14.27, allocations: 0.9103 MB / 4.505 GB, free: 22.43 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.696e-05/14.27, allocations: 16 kB / 4.505 GB, free: 22.42 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005753/14.27, allocations: 123.1 kB / 4.505 GB, free: 22.32 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-05/14.27, allocations: 19.17 kB / 4.505 GB, free: 22.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/14.27, allocations: 3.938 kB / 4.505 GB, free: 22.3 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01457/14.28, allocations: 10.53 MB / 4.515 GB, free: 13 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007126/14.29, allocations: 1.746 MB / 4.517 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003199/14.29, allocations: 95.28 kB / 4.517 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008472/14.3, allocations: 0.5695 MB / 4.518 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009503/14.3, allocations: 254.2 kB / 4.518 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007191/14.3, allocations: 209 kB / 4.518 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.01138/14.31, allocations: 5.469 MB / 4.524 GB, free: 5.934 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7.71e-07/14.31, allocations: 0 / 4.524 GB, free: 5.934 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0229/14.34, allocations: 4.918 MB / 4.528 GB, free: 1.02 MB / 0.9636 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) * 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.003134/14.34, allocations: 0.9284 MB / 4.529 GB, free: 268 kB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.02993/14.37, allocations: 12.08 MB / 4.541 GB, free: 7.66 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.45e-05/14.37, allocations: 4.562 kB / 4.541 GB, free: 7.656 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.006054/14.38, allocations: 3.125 MB / 4.544 GB, free: 4.82 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02677/14.4, allocations: 4.386 MB / 4.548 GB, free: 1.691 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7426/15.14, allocations: 17.09 MB / 4.565 GB, free: 129.5 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01044/15.16, allocations: 6.265 MB / 4.571 GB, free: 128.6 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.02303/15.18, allocations: 6.603 MB / 4.578 GB, free: 128.6 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002686/15.18, allocations: 498.4 kB / 4.578 GB, free: 128.6 MB / 0.9792 GB Notification: Performance of SimCode: time 9.62e-07/15.18, allocations: 1.906 kB / 4.578 GB, free: 128.6 MB / 0.9792 GB Notification: Performance of Templates: time 0.2745/15.46, allocations: 164.2 MB / 4.739 GB, free: 110.2 MB / 0.9792 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.Stratified.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.Stratified.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.Stratified.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.Stratified.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.Stratified.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.Stratified -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.Stratified.pipe 2>&1)