Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.661/1.661, allocations: 289.7 MB / 302.2 MB, free: 2.191 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.001009/0.001009, allocations: 181.5 kB / 371.6 MB, free: 3.359 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.66/1.66, allocations: 205.2 MB / 0.6309 GB, free: 11.77 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.001117/0.001117, allocations: 93.28 kB / 0.745 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.099e-05/5.112e-05, allocations: 4 kB / 0.8662 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3095, allocations: 116.3 MB / 0.9798 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.974/2.283, allocations: 428.3 MB / 1.398 GB, free: 255.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/2.283, allocations: 88.56 kB / 1.398 GB, free: 255.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.619/5.902, allocations: 0.9704 GB / 2.369 GB, free: 93.12 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.154e-06/5.902, allocations: 0 / 2.369 GB, free: 93.12 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003637/5.903, allocations: 77.02 kB / 2.369 GB, free: 93.05 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.007647/5.91, allocations: 2.693 MB / 2.371 GB, free: 90.32 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/5.91, allocations: 8.031 kB / 2.371 GB, free: 90.31 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001894/5.912, allocations: 352 kB / 2.372 GB, free: 89.96 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006784/5.919, allocations: 3.026 MB / 2.375 GB, free: 86.93 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/5.919, allocations: 177.1 kB / 2.375 GB, free: 86.75 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004772/5.92, allocations: 246.8 kB / 2.375 GB, free: 86.51 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004973/5.925, allocations: 2.985 MB / 2.378 GB, free: 83.39 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.502e-05/5.925, allocations: 4 kB / 2.378 GB, free: 83.38 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002398/5.925, allocations: 106.4 kB / 2.378 GB, free: 83.28 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-05/5.925, allocations: 63.98 kB / 2.378 GB, free: 83.22 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003463/5.929, allocations: 2.336 MB / 2.38 GB, free: 80.87 MB / 0.948 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.01581/5.944, allocations: 12.98 MB / 2.393 GB, free: 67.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002151/5.947, allocations: 1.625 MB / 2.395 GB, free: 65.46 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001246/5.948, allocations: 1.115 MB / 2.396 GB, free: 64.34 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006936/5.949, allocations: 0.7126 MB / 2.396 GB, free: 63.48 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/5.949, allocations: 51.52 kB / 2.396 GB, free: 63.42 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001921/5.951, allocations: 231.4 kB / 2.397 GB, free: 63.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=126): time 5.37e-06/5.951, allocations: 4 kB / 2.397 GB, free: 63.19 MB / 0.948 GB Notification: Performance of matching and sorting (n=126): time 0.002559/5.953, allocations: 1.699 MB / 2.398 GB, free: 61.48 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.194e-05/5.953, allocations: 145.5 kB / 2.398 GB, free: 61.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002555/5.956, allocations: 1.855 MB / 2.4 GB, free: 59.41 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001687/5.956, allocations: 53.7 kB / 2.4 GB, free: 59.35 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00104/5.957, allocations: 1.25 MB / 2.401 GB, free: 58.08 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003661/5.957, allocations: 449.7 kB / 2.402 GB, free: 57.64 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.398e-05/5.957, allocations: 32 kB / 2.402 GB, free: 57.61 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001117/5.958, allocations: 373.9 kB / 2.402 GB, free: 57.23 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008793/5.958, allocations: 0.6872 MB / 2.403 GB, free: 56.55 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/5.959, allocations: 1.214 MB / 2.404 GB, free: 55.11 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/5.961, allocations: 0.9357 MB / 2.405 GB, free: 54.17 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.016e-06/5.961, allocations: 4 kB / 2.405 GB, free: 54.17 MB / 0.948 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.003314/5.964, allocations: 2.319 MB / 2.407 GB, free: 51.83 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001208/5.965, allocations: 5.701 MB / 2.413 GB, free: 45.66 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.092e-05/5.965, allocations: 16 kB / 2.413 GB, free: 45.64 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001752/5.967, allocations: 477.2 kB / 2.413 GB, free: 45.17 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/5.968, allocations: 359.4 kB / 2.414 GB, free: 44.82 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002599/5.971, allocations: 3.088 MB / 2.417 GB, free: 41.57 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002668/5.973, allocations: 231.5 kB / 2.417 GB, free: 41.34 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001573/5.974, allocations: 87.97 kB / 2.417 GB, free: 41.25 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/5.974, allocations: 4 kB / 2.417 GB, free: 41.25 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002823/5.976, allocations: 2.101 MB / 2.419 GB, free: 39.14 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/5.977, allocations: 12 kB / 2.419 GB, free: 39.13 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005194/5.977, allocations: 242.1 kB / 2.419 GB, free: 38.89 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/5.978, allocations: 379.4 kB / 2.42 GB, free: 38.52 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003225/5.981, allocations: 4.137 MB / 2.424 GB, free: 34.11 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002609/5.984, allocations: 231.5 kB / 2.424 GB, free: 33.88 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001629/5.984, allocations: 83.98 kB / 2.424 GB, free: 33.8 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 () * 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.0005237/5.985, allocations: 208.5 kB / 2.424 GB, free: 33.59 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004359/5.985, allocations: 209.4 kB / 2.424 GB, free: 33.38 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003273/5.989, allocations: 1.976 MB / 2.426 GB, free: 31.39 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.992e-05/5.989, allocations: 23.98 kB / 2.426 GB, free: 31.36 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/5.989, allocations: 0 / 2.426 GB, free: 31.36 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001939/5.991, allocations: 1.586 MB / 2.428 GB, free: 29.76 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007688/5.998, allocations: 4.584 MB / 2.432 GB, free: 25.08 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/5.998, allocations: 64 / 2.432 GB, free: 25.08 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008355/5.999, allocations: 215.8 kB / 2.433 GB, free: 24.87 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001533/6.001, allocations: 443.5 kB / 2.433 GB, free: 24.43 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.129e-05/6.001, allocations: 31.98 kB / 2.433 GB, free: 24.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002307/6.003, allocations: 3.004 MB / 2.436 GB, free: 21.24 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/6.003, allocations: 4.031 kB / 2.436 GB, free: 21.24 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003814/6.007, allocations: 2.93 MB / 2.439 GB, free: 18.25 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00166/6.009, allocations: 0.5256 MB / 2.439 GB, free: 17.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000331/6.009, allocations: 31.98 kB / 2.439 GB, free: 17.67 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001402/6.01, allocations: 191.6 kB / 2.44 GB, free: 17.48 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002238/6.011, allocations: 101.1 kB / 2.44 GB, free: 17.38 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/6.011, allocations: 59.95 kB / 2.44 GB, free: 17.32 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002047/6.013, allocations: 1.428 MB / 2.441 GB, free: 15.87 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.8e-07/6.013, allocations: 0 / 2.441 GB, free: 15.87 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004516/6.017, allocations: 1.519 MB / 2.443 GB, free: 14.34 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) * 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.001202/6.019, allocations: 0.5737 MB / 2.443 GB, free: 13.77 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004674/6.023, allocations: 3.309 MB / 2.446 GB, free: 10.42 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/6.023, allocations: 3.953 kB / 2.446 GB, free: 10.42 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001211/6.024, allocations: 0.9623 MB / 2.447 GB, free: 9.445 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006014/6.031, allocations: 1.147 MB / 2.448 GB, free: 8.305 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007419/6.038, allocations: 4.279 MB / 2.453 GB, free: 3.98 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001423/6.039, allocations: 2.202 MB / 2.455 GB, free: 1.742 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00432/6.044, allocations: 1.382 MB / 2.456 GB, free: 364 kB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004198/6.044, allocations: 143.3 kB / 2.456 GB, free: 220 kB / 0.948 GB Notification: Performance of SimCode: time 1.623e-06/6.044, allocations: 0 / 2.456 GB, free: 220 kB / 0.948 GB Notification: Performance of Templates: time 0.8184/6.863, allocations: 51.31 MB / 2.506 GB, free: 159.3 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile (rm -f Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)