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.576/1.576, allocations: 285.6 MB / 293.1 MB, free: 10.18 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.001064/0.001064, allocations: 180.9 kB / 361.4 MB, free: 6.812 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.551/1.551, allocations: 205.2 MB / 0.62 GB, free: 11.62 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.0009337/0.0009338, allocations: 91.28 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.469e-05/1.472e-05, allocations: 4 kB / 0.8517 GB, free: 2.711 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7065/0.7065, allocations: 115.3 MB / 0.9643 GB, free: 79.05 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.046/1.752, allocations: 410.8 MB / 1.366 GB, free: 156.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/1.753, allocations: 89.98 kB / 1.366 GB, free: 156.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 11.12/12.87, allocations: 2.902 GB / 4.268 GB, free: 132.8 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.405e-06/12.87, allocations: 2.094 kB / 4.268 GB, free: 132.8 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.001974/12.87, allocations: 256.2 kB / 4.268 GB, free: 132.7 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.03361/12.91, allocations: 8.285 MB / 4.276 GB, free: 129.8 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.598e-05/12.91, allocations: 10.44 kB / 4.276 GB, free: 129.8 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009527/12.92, allocations: 1.165 MB / 4.277 GB, free: 129.2 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03201/12.95, allocations: 10.75 MB / 4.288 GB, free: 128.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007503/12.95, allocations: 273.1 kB / 4.288 GB, free: 128.2 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004612/12.95, allocations: 492.2 kB / 4.289 GB, free: 128.2 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02766/12.98, allocations: 8.896 MB / 4.297 GB, free: 128.1 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0417/13.02, allocations: 10.34 MB / 4.307 GB, free: 126.9 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008019/13.02, allocations: 27.61 kB / 4.307 GB, free: 126.9 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004733/13.03, allocations: 16 kB / 4.307 GB, free: 126.9 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000393/13.03, allocations: 249 kB / 4.308 GB, free: 126.9 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.09096/13.12, allocations: 44.98 MB / 4.352 GB, free: 105.7 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01108/13.13, allocations: 5.989 MB / 4.357 GB, free: 103.3 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007989/13.14, allocations: 4.654 MB / 4.362 GB, free: 101.8 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001437/13.14, allocations: 0.8163 MB / 4.363 GB, free: 101 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007028/13.15, allocations: 3.177 MB / 4.366 GB, free: 99.84 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006071/13.15, allocations: 397.2 kB / 4.366 GB, free: 99.61 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=449): time 5.769e-05/13.15, allocations: 1.938 kB / 4.366 GB, free: 99.61 MB / 0.9636 GB Notification: Performance of matching and sorting (n=449): time 0.01602/13.17, allocations: 6.115 MB / 4.372 GB, free: 97.48 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.518e-05/13.17, allocations: 152.5 kB / 4.372 GB, free: 97.35 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01568/13.19, allocations: 5.829 MB / 4.378 GB, free: 95.24 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.001715/13.19, allocations: 34.86 kB / 4.378 GB, free: 95.21 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.006387/13.19, allocations: 4.28 MB / 4.382 GB, free: 91.97 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.003318/13.2, allocations: 1.498 MB / 4.384 GB, free: 90.81 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0014/13.2, allocations: 3.609 kB / 4.384 GB, free: 90.81 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0007702/13.2, allocations: 0.5401 MB / 4.384 GB, free: 90.4 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005559/13.21, allocations: 2.787 MB / 4.387 GB, free: 89.39 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008613/13.21, allocations: 4.613 MB / 4.392 GB, free: 86.05 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01083/13.22, allocations: 4.065 MB / 4.395 GB, free: 84.67 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000187/13.22, allocations: 17 kB / 4.395 GB, free: 84.67 MB / 0.9636 GB Notification: Performance of matching and sorting (n=754) (initialization): time 0.02165/13.25, allocations: 8.236 MB / 4.404 GB, free: 81.83 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.007246/13.25, allocations: 27.94 MB / 4.431 GB, free: 51.99 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002078/13.25, allocations: 62.67 kB / 4.431 GB, free: 51.98 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001811/13.25, allocations: 96.56 kB / 4.431 GB, free: 51.98 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007376/13.26, allocations: 1.44 MB / 4.432 GB, free: 51.84 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002348/13.26, allocations: 127.9 kB / 4.433 GB, free: 51.81 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01071/13.27, allocations: 0.511 MB / 4.433 GB, free: 51.72 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002003/13.27, allocations: 281.7 kB / 4.433 GB, free: 51.67 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/13.27, allocations: 5.156 kB / 4.433 GB, free: 51.67 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01811/13.29, allocations: 7.603 MB / 4.441 GB, free: 45.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000214/13.29, allocations: 63.8 kB / 4.441 GB, free: 45.38 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001199/13.29, allocations: 96 kB / 4.441 GB, free: 45.28 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006226/13.3, allocations: 1.44 MB / 4.442 GB, free: 44.05 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002048/13.3, allocations: 129.8 kB / 4.442 GB, free: 43.94 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00942/13.31, allocations: 493.4 kB / 4.443 GB, free: 43.59 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001994/13.31, allocations: 280.3 kB / 4.443 GB, free: 43.32 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.003563/13.31, allocations: 357.2 kB / 4.443 GB, free: 42.96 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004097/13.32, allocations: 0.6368 MB / 4.444 GB, free: 42.32 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01657/13.34, allocations: 6.767 MB / 4.451 GB, free: 36.78 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-05/13.34, allocations: 44 kB / 4.451 GB, free: 36.73 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.985e-05/13.34, allocations: 0 / 4.451 GB, free: 36.73 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01158/13.35, allocations: 5.637 MB / 4.456 GB, free: 32 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.04924/13.4, allocations: 15.38 MB / 4.471 GB, free: 19.91 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.626e-05/13.4, allocations: 7.953 kB / 4.471 GB, free: 19.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004631/13.4, allocations: 0.9051 MB / 4.472 GB, free: 19.15 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.961e-05/13.4, allocations: 16 kB / 4.472 GB, free: 19.14 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001079/13.4, allocations: 62.67 kB / 4.472 GB, free: 19.09 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.968e-05/13.4, allocations: 19.94 kB / 4.472 GB, free: 19.07 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/13.4, allocations: 4 kB / 4.472 GB, free: 19.07 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01915/13.42, allocations: 10.32 MB / 4.482 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007227/13.43, allocations: 1.663 MB / 4.484 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003577/13.43, allocations: 31.08 kB / 4.484 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008862/13.44, allocations: 499.5 kB / 4.484 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001376/13.44, allocations: 253.5 kB / 4.485 GB, free: 8.117 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001387/13.44, allocations: 212.5 kB / 4.485 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.01091/13.46, allocations: 4.437 MB / 4.489 GB, free: 4.141 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.213e-06/13.46, allocations: 0 / 4.489 GB, free: 4.141 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0248/13.48, allocations: 4.761 MB / 4.494 GB, free: 15.38 MB / 0.9792 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.003735/13.48, allocations: 0.8668 MB / 4.495 GB, free: 14.68 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.02316/13.51, allocations: 10.86 MB / 4.505 GB, free: 4.039 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.965e-05/13.51, allocations: 4.562 kB / 4.505 GB, free: 4.035 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.006263/13.51, allocations: 3.028 MB / 4.508 GB, free: 0.9883 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.6994/14.21, allocations: 3.479 MB / 4.512 GB, free: 140.5 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03946/14.25, allocations: 16.13 MB / 4.527 GB, free: 137.8 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007763/14.26, allocations: 6.255 MB / 4.534 GB, free: 136.9 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.02119/14.28, allocations: 5.804 MB / 4.539 GB, free: 136.8 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002926/14.28, allocations: 482.9 kB / 4.54 GB, free: 136.8 MB / 0.9792 GB Notification: Performance of SimCode: time 1.422e-06/14.28, allocations: 2.734 kB / 4.54 GB, free: 136.8 MB / 0.9792 GB Notification: Performance of Templates: time 0.2347/14.52, allocations: 129.8 MB / 4.666 GB, free: 129.3 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)