Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.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: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.556/2.556, allocations: 287.3 MB / 302.3 MB, free: 8.277 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.00158/0.00158, allocations: 181.4 kB / 370.8 MB, free: 10.86 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.146/2.146, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001163/0.001163, allocations: 97.59 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004934/0.0004934, allocations: 17.2 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2251, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.343/1.568, allocations: 427.2 MB / 1.396 GB, free: 3.332 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000322/1.569, allocations: 101 kB / 1.396 GB, free: 3.277 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.349/6.918, allocations: 0.9729 GB / 2.368 GB, free: 139.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.974e-06/6.918, allocations: 3.938 kB / 2.369 GB, free: 139.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005083/6.918, allocations: 86.59 kB / 2.369 GB, free: 139.6 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 586 * Number of variables: 586 Notification: Performance of Generate backend data structure: time 0.01284/6.931, allocations: 3.153 MB / 2.372 GB, free: 136.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/6.931, allocations: 11.16 kB / 2.372 GB, free: 136.4 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001651/6.933, allocations: 336.9 kB / 2.372 GB, free: 136 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002255/6.935, allocations: 356 kB / 2.372 GB, free: 135.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01044/6.946, allocations: 3.047 MB / 2.375 GB, free: 132.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000253/6.946, allocations: 183.4 kB / 2.375 GB, free: 132.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00104/6.947, allocations: 236 kB / 2.376 GB, free: 132.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009405/6.957, allocations: 3.024 MB / 2.379 GB, free: 129.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001107/6.957, allocations: 3.938 kB / 2.379 GB, free: 129.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004897/6.957, allocations: 103 kB / 2.379 GB, free: 129 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.273e-05/6.957, allocations: 63.98 kB / 2.379 GB, free: 128.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007684/6.965, allocations: 2.387 MB / 2.381 GB, free: 126.5 MB / 0.948 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.02745/6.993, allocations: 12.99 MB / 2.394 GB, free: 112.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004227/6.997, allocations: 1.65 MB / 2.395 GB, free: 111.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009957/6.998, allocations: 0.7127 MB / 2.396 GB, free: 110.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.11e-05/6.998, allocations: 54.11 kB / 2.396 GB, free: 110.2 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002755/7.001, allocations: 227.4 kB / 2.396 GB, free: 110 MB / 0.948 GB Notification: Performance of pre-optimization done (n=126): time 7.424e-06/7.001, allocations: 4 kB / 2.396 GB, free: 110 MB / 0.948 GB Notification: Performance of matching and sorting (n=126): time 0.01708/7.018, allocations: 3.443 MB / 2.4 GB, free: 106.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.67e-05/7.018, allocations: 141.5 kB / 2.4 GB, free: 106.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004506/7.023, allocations: 1.878 MB / 2.402 GB, free: 104.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004967/7.023, allocations: 59.61 kB / 2.402 GB, free: 104.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001508/7.025, allocations: 1.25 MB / 2.403 GB, free: 103.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008166/7.025, allocations: 445.7 kB / 2.403 GB, free: 102.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001929/7.026, allocations: 28 kB / 2.403 GB, free: 102.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001512/7.026, allocations: 376 kB / 2.404 GB, free: 102.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001847/7.028, allocations: 0.7066 MB / 2.405 GB, free: 101.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002286/7.03, allocations: 1.241 MB / 2.406 GB, free: 100.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002377/7.032, allocations: 0.9312 MB / 2.407 GB, free: 99.25 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.805e-05/7.032, allocations: 4 kB / 2.407 GB, free: 99.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.006684/7.039, allocations: 2.363 MB / 2.409 GB, free: 96.88 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001283/7.04, allocations: 5.704 MB / 2.415 GB, free: 90.76 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.215e-05/7.041, allocations: 16 kB / 2.415 GB, free: 90.75 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003293/7.044, allocations: 490.4 kB / 2.415 GB, free: 90.26 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002815/7.047, allocations: 355.4 kB / 2.415 GB, free: 89.91 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004588/7.051, allocations: 3.127 MB / 2.418 GB, free: 86.61 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003954/7.055, allocations: 231.4 kB / 2.419 GB, free: 86.39 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004888/7.056, allocations: 79.97 kB / 2.419 GB, free: 86.31 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/7.056, allocations: 4 kB / 2.419 GB, free: 86.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0057/7.062, allocations: 2.14 MB / 2.421 GB, free: 84.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-05/7.062, allocations: 16 kB / 2.421 GB, free: 84.14 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009198/7.063, allocations: 234.2 kB / 2.421 GB, free: 83.91 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002848/7.066, allocations: 371.4 kB / 2.421 GB, free: 83.54 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005677/7.071, allocations: 4.207 MB / 2.426 GB, free: 79.07 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003778/7.075, allocations: 223.6 kB / 2.426 GB, free: 78.86 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004666/7.076, allocations: 83.97 kB / 2.426 GB, free: 78.77 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.onOffBot.y,onOffBot.y,$PRE.onOffMid.y,onOffMid.y,and2.y,nor.y,$PRE.onOffHea.y,onOffHea.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 177 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 22} Notification: Performance of prepare postOptimizeDAE: time 0.002767/7.078, allocations: 1.004 MB / 2.427 GB, free: 77.76 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008009/7.079, allocations: 209.5 kB / 2.427 GB, free: 77.55 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005668/7.085, allocations: 2.003 MB / 2.429 GB, free: 75.53 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.491e-05/7.085, allocations: 19.94 kB / 2.429 GB, free: 75.51 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/7.085, allocations: 0 / 2.429 GB, free: 75.51 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004031/7.089, allocations: 1.621 MB / 2.431 GB, free: 73.87 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01294/7.102, allocations: 4.571 MB / 2.435 GB, free: 69.21 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/7.102, allocations: 0 / 2.435 GB, free: 69.21 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001925/7.104, allocations: 211.7 kB / 2.435 GB, free: 69 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002914/7.107, allocations: 449.9 kB / 2.436 GB, free: 68.55 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003136/7.107, allocations: 35.98 kB / 2.436 GB, free: 68.52 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003966/7.111, allocations: 3.038 MB / 2.439 GB, free: 65.32 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/7.111, allocations: 0 / 2.439 GB, free: 65.32 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006994/7.118, allocations: 2.973 MB / 2.442 GB, free: 62.29 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002187/7.121, allocations: 0.5218 MB / 2.442 GB, free: 61.74 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008792/7.121, allocations: 31.95 kB / 2.442 GB, free: 61.71 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003349/7.125, allocations: 195.4 kB / 2.442 GB, free: 61.52 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004561/7.125, allocations: 93.16 kB / 2.442 GB, free: 61.43 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002266/7.126, allocations: 56.08 kB / 2.442 GB, free: 61.38 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003497/7.129, allocations: 1.458 MB / 2.444 GB, free: 59.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.884e-06/7.129, allocations: 4 kB / 2.444 GB, free: 59.89 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.007262/7.136, allocations: 1.523 MB / 2.445 GB, free: 58.37 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U) * Number of discrete variables: 5 (onOffBot.y,onOffMid.y,and2.y,nor.y,onOffHea.y) * Number of discrete states: 3 (onOffBot.y,onOffMid.y,onOffHea.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.008854/7.145, allocations: 4.175 MB / 2.449 GB, free: 54.17 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008401/7.154, allocations: 3.292 MB / 2.453 GB, free: 50.84 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.101e-05/7.154, allocations: 8.062 kB / 2.453 GB, free: 50.84 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002383/7.156, allocations: 0.9926 MB / 2.454 GB, free: 49.83 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009735/7.166, allocations: 1.144 MB / 2.455 GB, free: 48.73 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02121/7.187, allocations: 17.18 MB / 2.471 GB, free: 31.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002328/7.19, allocations: 2.206 MB / 2.474 GB, free: 28.96 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004923/7.195, allocations: 0.9441 MB / 2.475 GB, free: 28.04 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002558/7.197, allocations: 1.019 MB / 2.476 GB, free: 27.02 MB / 0.948 GB Notification: Performance of SimCode: time 8.21e-07/7.197, allocations: 0 / 2.476 GB, free: 27.02 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8782/8.075, allocations: 69.17 MB / 2.543 GB, free: 168.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002986/8.076, allocations: 273 kB / 2.543 GB, free: 168.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.102/13.18, allocations: 2.953 kB / 2.543 GB, free: 168.4 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature_fmu --startTime=0 --stopTime=21600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature.fmu > Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)