Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.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.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.726/1.726, allocations: 285.4 MB / 298 MB, free: 5.977 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.001029/0.001029, allocations: 180.9 kB / 366.4 MB, free: 2.105 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.562/1.562, allocations: 205.1 MB / 0.6248 GB, free: 7.738 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.001051/0.001052, allocations: 89 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.739e-05/3.742e-05, allocations: 4 kB / 0.8583 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8158/0.8159, allocations: 115.3 MB / 0.9709 GB, free: 77.96 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.2/2.016, allocations: 427.3 MB / 1.388 GB, free: 132.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/2.016, allocations: 90.95 kB / 1.388 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.048/6.065, allocations: 0.9704 GB / 2.359 GB, free: 212.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.923e-06/6.065, allocations: 3.688 kB / 2.359 GB, free: 212.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004927/6.065, allocations: 82.19 kB / 2.359 GB, free: 212.5 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.01119/6.076, allocations: 2.678 MB / 2.361 GB, free: 211.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.758e-05/6.076, allocations: 10.67 kB / 2.361 GB, free: 211.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00271/6.079, allocations: 351.5 kB / 2.362 GB, free: 211.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009274/6.088, allocations: 3.023 MB / 2.365 GB, free: 211.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002171/6.089, allocations: 181 kB / 2.365 GB, free: 211 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008275/6.089, allocations: 238.8 kB / 2.365 GB, free: 211 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006908/6.096, allocations: 2.984 MB / 2.368 GB, free: 210.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.176e-05/6.097, allocations: 9.734 kB / 2.368 GB, free: 210.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002893/6.097, allocations: 105.4 kB / 2.368 GB, free: 210.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001049/6.097, allocations: 61.52 kB / 2.368 GB, free: 210.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004978/6.102, allocations: 2.334 MB / 2.37 GB, free: 210.6 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.02021/6.122, allocations: 12.98 MB / 2.383 GB, free: 204.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002369/6.125, allocations: 1.628 MB / 2.385 GB, free: 204.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001379/6.126, allocations: 1.124 MB / 2.386 GB, free: 204.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006971/6.127, allocations: 0.7061 MB / 2.386 GB, free: 203.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.938e-05/6.127, allocations: 49.97 kB / 2.387 GB, free: 203.5 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00212/6.129, allocations: 232 kB / 2.387 GB, free: 203.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=126): time 6.583e-06/6.129, allocations: 0 / 2.387 GB, free: 203.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=126): time 0.003222/6.132, allocations: 1.685 MB / 2.388 GB, free: 203.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.35e-05/6.132, allocations: 150.7 kB / 2.389 GB, free: 203.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003811/6.136, allocations: 1.857 MB / 2.39 GB, free: 202.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002698/6.136, allocations: 60.12 kB / 2.39 GB, free: 202.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001542/6.138, allocations: 1.251 MB / 2.392 GB, free: 202.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005598/6.138, allocations: 450.1 kB / 2.392 GB, free: 202 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.978e-05/6.139, allocations: 34.72 kB / 2.392 GB, free: 202 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001538/6.139, allocations: 372.4 kB / 2.392 GB, free: 201.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00142/6.14, allocations: 0.6889 MB / 2.393 GB, free: 201.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001866/6.142, allocations: 1.215 MB / 2.394 GB, free: 201.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001706/6.144, allocations: 0.9272 MB / 2.395 GB, free: 201.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.537e-05/6.144, allocations: 4.906 kB / 2.395 GB, free: 201.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.005504/6.149, allocations: 2.323 MB / 2.397 GB, free: 200.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002191/6.151, allocations: 5.701 MB / 2.403 GB, free: 195 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-05/6.152, allocations: 13.62 kB / 2.403 GB, free: 195 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002206/6.154, allocations: 485.4 kB / 2.404 GB, free: 194.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/6.155, allocations: 352 kB / 2.404 GB, free: 194.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003267/6.159, allocations: 3.09 MB / 2.407 GB, free: 193.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003141/6.162, allocations: 226.2 kB / 2.407 GB, free: 193.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002466/6.162, allocations: 82.22 kB / 2.407 GB, free: 193.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/6.162, allocations: 7.297 kB / 2.407 GB, free: 193.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003869/6.166, allocations: 2.104 MB / 2.409 GB, free: 193 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.812e-05/6.166, allocations: 14.56 kB / 2.409 GB, free: 193 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006416/6.167, allocations: 242 kB / 2.409 GB, free: 193 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/6.168, allocations: 375.4 kB / 2.41 GB, free: 193 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004024/6.172, allocations: 4.137 MB / 2.414 GB, free: 190.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002999/6.175, allocations: 225.3 kB / 2.414 GB, free: 190.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002036/6.175, allocations: 82.28 kB / 2.414 GB, free: 190.3 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.0006288/6.176, allocations: 208.1 kB / 2.414 GB, free: 190.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006196/6.177, allocations: 209.9 kB / 2.415 GB, free: 190.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004162/6.181, allocations: 1.984 MB / 2.416 GB, free: 189.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.608e-05/6.181, allocations: 14.31 kB / 2.417 GB, free: 189.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/6.181, allocations: 3.75 kB / 2.417 GB, free: 189.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002705/6.184, allocations: 1.578 MB / 2.418 GB, free: 189.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0115/6.195, allocations: 4.597 MB / 2.423 GB, free: 189.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.909e-06/6.195, allocations: 1.375 kB / 2.423 GB, free: 189.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/6.196, allocations: 213.6 kB / 2.423 GB, free: 189.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001906/6.198, allocations: 432.9 kB / 2.423 GB, free: 189.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001316/6.198, allocations: 33.77 kB / 2.423 GB, free: 189.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003125/6.201, allocations: 3.014 MB / 2.426 GB, free: 187.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/6.201, allocations: 4.656 kB / 2.426 GB, free: 187.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005499/6.207, allocations: 2.928 MB / 2.429 GB, free: 187.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002229/6.209, allocations: 0.5275 MB / 2.43 GB, free: 186.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004397/6.21, allocations: 30.52 kB / 2.43 GB, free: 186.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001609/6.211, allocations: 188 kB / 2.43 GB, free: 186.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003193/6.212, allocations: 103 kB / 2.43 GB, free: 186.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000145/6.212, allocations: 61.91 kB / 2.43 GB, free: 186.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002827/6.215, allocations: 1.433 MB / 2.431 GB, free: 186.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.41e-07/6.215, allocations: 0 / 2.431 GB, free: 186.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006495/6.221, allocations: 1.514 MB / 2.433 GB, free: 186.4 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.001564/6.223, allocations: 0.5676 MB / 2.433 GB, free: 186.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006124/6.229, allocations: 3.308 MB / 2.437 GB, free: 185.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.234e-05/6.229, allocations: 2.875 kB / 2.437 GB, free: 185.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001548/6.23, allocations: 0.9694 MB / 2.437 GB, free: 185.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007242/6.238, allocations: 1.123 MB / 2.439 GB, free: 185.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009515/6.247, allocations: 4.285 MB / 2.443 GB, free: 184.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002176/6.249, allocations: 2.207 MB / 2.445 GB, free: 184.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.005087/6.255, allocations: 1.384 MB / 2.446 GB, free: 184.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004693/6.255, allocations: 140.1 kB / 2.446 GB, free: 184.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.523e-06/6.255, allocations: 0 / 2.446 GB, free: 184.1 MB / 0.948 GB Notification: Performance of Templates: time 0.09402/6.349, allocations: 51.32 MB / 2.497 GB, free: 181.6 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)