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.406/2.406, allocations: 284.9 MB / 292.4 MB, free: 10.56 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.001438/0.001438, allocations: 196.7 kB / 360.6 MB, free: 7.281 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.076/2.076, allocations: 205.2 MB / 0.6191 GB, free: 12.21 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.001092/0.001092, allocations: 91.72 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.501e-05/2.512e-05, allocations: 4 kB / 0.8508 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8351/0.8352, allocations: 115.3 MB / 0.9634 GB, free: 78.42 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.455/2.29, allocations: 426.5 MB / 1.38 GB, free: 142 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003404/2.29, allocations: 90.7 kB / 1.38 GB, free: 142 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.301/7.591, allocations: 0.9656 GB / 2.346 GB, free: 214.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.886e-06/7.591, allocations: 0 / 2.346 GB, free: 214.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005786/7.592, allocations: 79.61 kB / 2.346 GB, free: 214.1 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.01204/7.604, allocations: 2.686 MB / 2.348 GB, free: 213.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/7.604, allocations: 8.781 kB / 2.348 GB, free: 213.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002876/7.607, allocations: 352.5 kB / 2.349 GB, free: 213 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01202/7.619, allocations: 3.031 MB / 2.352 GB, free: 212.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001813/7.619, allocations: 74.16 kB / 2.352 GB, free: 212.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009895/7.62, allocations: 146.3 kB / 2.352 GB, free: 212.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007392/7.627, allocations: 2.204 MB / 2.354 GB, free: 212.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008911/7.636, allocations: 2.66 MB / 2.357 GB, free: 212.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.593e-05/7.636, allocations: 7.375 kB / 2.357 GB, free: 212.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004122/7.637, allocations: 7.594 kB / 2.357 GB, free: 212.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001062/7.637, allocations: 70.41 kB / 2.357 GB, free: 212.2 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.0284/7.665, allocations: 12.56 MB / 2.369 GB, free: 206.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004253/7.67, allocations: 1.563 MB / 2.37 GB, free: 206 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002931/7.673, allocations: 1.103 MB / 2.371 GB, free: 205.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001089/7.674, allocations: 0.7123 MB / 2.372 GB, free: 205.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.657e-05/7.674, allocations: 48.91 kB / 2.372 GB, free: 205.1 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002789/7.677, allocations: 199.4 kB / 2.372 GB, free: 205.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=126): time 9.328e-06/7.677, allocations: 6.891 kB / 2.372 GB, free: 205.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=126): time 0.005635/7.682, allocations: 1.632 MB / 2.374 GB, free: 204.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.691e-05/7.682, allocations: 141.9 kB / 2.374 GB, free: 204.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004158/7.687, allocations: 1.731 MB / 2.376 GB, free: 204.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004938/7.687, allocations: 28.86 kB / 2.376 GB, free: 204.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001643/7.689, allocations: 1.246 MB / 2.377 GB, free: 203.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008695/7.69, allocations: 429 kB / 2.377 GB, free: 203.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/7.69, allocations: 0 / 2.377 GB, free: 203.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001522/7.69, allocations: 373.4 kB / 2.378 GB, free: 203.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001699/7.692, allocations: 0.6626 MB / 2.378 GB, free: 203.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00229/7.694, allocations: 1.173 MB / 2.38 GB, free: 202.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002816/7.697, allocations: 0.9118 MB / 2.381 GB, free: 202.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-05/7.697, allocations: 8.5 kB / 2.381 GB, free: 202.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.006978/7.704, allocations: 2.168 MB / 2.383 GB, free: 202.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001506/7.706, allocations: 5.695 MB / 2.388 GB, free: 196.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.878e-05/7.706, allocations: 16.31 kB / 2.388 GB, free: 196.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002891/7.709, allocations: 428.2 kB / 2.389 GB, free: 196.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002927/7.712, allocations: 357.5 kB / 2.389 GB, free: 196.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004625/7.716, allocations: 2.989 MB / 2.392 GB, free: 194.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004251/7.721, allocations: 187.9 kB / 2.392 GB, free: 194.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006714/7.721, allocations: 85.88 kB / 2.392 GB, free: 194.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/7.721, allocations: 3.969 kB / 2.392 GB, free: 194.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006188/7.728, allocations: 1.907 MB / 2.394 GB, free: 194.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.586e-05/7.728, allocations: 18.28 kB / 2.394 GB, free: 194.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009306/7.729, allocations: 209.8 kB / 2.394 GB, free: 194.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003123/7.732, allocations: 376.8 kB / 2.395 GB, free: 194.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005613/7.737, allocations: 3.757 MB / 2.398 GB, free: 192.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004091/7.742, allocations: 188.3 kB / 2.398 GB, free: 192.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006144/7.742, allocations: 82.12 kB / 2.399 GB, free: 192.1 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 (182): * Single equations (assignments): 180 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0007054/7.743, allocations: 156.5 kB / 2.399 GB, free: 192 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005403/7.748, allocations: 1.626 MB / 2.4 GB, free: 191.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001001/7.749, allocations: 200.2 kB / 2.4 GB, free: 191.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006233/7.756, allocations: 1.871 MB / 2.402 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-05/7.756, allocations: 17.55 kB / 2.402 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.086e-06/7.756, allocations: 1.219 kB / 2.402 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004526/7.76, allocations: 1.494 MB / 2.404 GB, free: 191.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01492/7.775, allocations: 4.138 MB / 2.408 GB, free: 191 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.418e-05/7.775, allocations: 4.719 kB / 2.408 GB, free: 191 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002031/7.777, allocations: 214.3 kB / 2.408 GB, free: 191 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002687/7.78, allocations: 398 kB / 2.408 GB, free: 191 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003527/7.78, allocations: 18.88 kB / 2.408 GB, free: 191 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004377/7.785, allocations: 2.928 MB / 2.411 GB, free: 189.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.077e-06/7.785, allocations: 4.609 kB / 2.411 GB, free: 189.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00746/7.792, allocations: 2.859 MB / 2.414 GB, free: 188.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00254/7.795, allocations: 0.5172 MB / 2.415 GB, free: 188.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009346/7.796, allocations: 13.94 kB / 2.415 GB, free: 188.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003582/7.8, allocations: 167.3 kB / 2.415 GB, free: 188.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004901/7.8, allocations: 103.6 kB / 2.415 GB, free: 188.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002425/7.8, allocations: 64.59 kB / 2.415 GB, free: 188.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003236/7.804, allocations: 1.305 MB / 2.416 GB, free: 188.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.643e-06/7.804, allocations: 0 / 2.416 GB, free: 188.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.008311/7.812, allocations: 1.46 MB / 2.418 GB, free: 188.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (onOffMid.y,onOffBot.y,onOffHea.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 97 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.009072/7.821, allocations: 4.169 MB / 2.422 GB, free: 186.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008008/7.829, allocations: 3.108 MB / 2.425 GB, free: 186.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.264e-05/7.829, allocations: 4.625 kB / 2.425 GB, free: 186.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00224/7.832, allocations: 0.921 MB / 2.426 GB, free: 186.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009809/7.841, allocations: 1.078 MB / 2.427 GB, free: 186.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01593/7.857, allocations: 4.926 MB / 2.431 GB, free: 185.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002568/7.86, allocations: 2.205 MB / 2.434 GB, free: 184.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.007621/7.868, allocations: 1.372 MB / 2.435 GB, free: 184.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002406/7.87, allocations: 0.981 MB / 2.436 GB, free: 184.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.383e-06/7.87, allocations: 3.125 kB / 2.436 GB, free: 184.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2326/8.103, allocations: 66.38 MB / 2.501 GB, free: 181.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002703/8.103, allocations: 198.1 kB / 2.501 GB, free: 181 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.327/13.43, allocations: 0 / 2.501 GB, free: 181 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)