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: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="Buildings_8_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.956/1.956, allocations: 289.9 MB / 297.4 MB, free: 6.395 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.001103/0.001103, allocations: 184.8 kB / 366.7 MB, free: 1.676 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.967/1.967, allocations: 205.2 MB / 0.626 GB, free: 7.145 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.0008261/0.0008261, allocations: 99.88 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.03e-05/3.033e-05, allocations: 7.984 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7617/0.7618, allocations: 116.3 MB / 0.9733 GB, free: 76.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.226/1.988, allocations: 427.6 MB / 1.391 GB, free: 129.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/1.988, allocations: 87.23 kB / 1.391 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.06/6.049, allocations: 0.9656 GB / 2.357 GB, free: 212.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.864e-06/6.049, allocations: 0 / 2.357 GB, free: 212.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005443/6.049, allocations: 85.67 kB / 2.357 GB, free: 212.3 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.01036/6.06, allocations: 2.676 MB / 2.359 GB, free: 211.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.087e-05/6.06, allocations: 9.25 kB / 2.359 GB, free: 211.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00233/6.062, allocations: 363.3 kB / 2.36 GB, free: 211.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008623/6.071, allocations: 3.022 MB / 2.363 GB, free: 210.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000214/6.071, allocations: 74.31 kB / 2.363 GB, free: 210.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009457/6.072, allocations: 150.3 kB / 2.363 GB, free: 210.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00593/6.078, allocations: 2.201 MB / 2.365 GB, free: 210.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005731/6.084, allocations: 2.653 MB / 2.368 GB, free: 210.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-05/6.084, allocations: 5.891 kB / 2.368 GB, free: 210.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002206/6.084, allocations: 8.734 kB / 2.368 GB, free: 210.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.946e-05/6.084, allocations: 67.38 kB / 2.368 GB, free: 210.5 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.01856/6.103, allocations: 12.57 MB / 2.38 GB, free: 204.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002261/6.105, allocations: 1.569 MB / 2.381 GB, free: 204.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001485/6.107, allocations: 1.092 MB / 2.383 GB, free: 204.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007933/6.107, allocations: 0.7114 MB / 2.383 GB, free: 203.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.602e-05/6.108, allocations: 52.94 kB / 2.383 GB, free: 203.4 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002345/6.11, allocations: 207.3 kB / 2.383 GB, free: 203.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=126): time 4.629e-06/6.11, allocations: 0 / 2.383 GB, free: 203.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=126): time 0.003364/6.113, allocations: 1.632 MB / 2.385 GB, free: 203.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.003e-05/6.113, allocations: 142.9 kB / 2.385 GB, free: 203 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003271/6.117, allocations: 1.725 MB / 2.387 GB, free: 202.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003777/6.117, allocations: 30.77 kB / 2.387 GB, free: 202.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001266/6.118, allocations: 1.252 MB / 2.388 GB, free: 202.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005752/6.119, allocations: 427.7 kB / 2.389 GB, free: 202 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.069e-05/6.119, allocations: 2.562 kB / 2.389 GB, free: 202 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001124/6.119, allocations: 375 kB / 2.389 GB, free: 201.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/6.12, allocations: 0.6587 MB / 2.39 GB, free: 201.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001285/6.121, allocations: 1.17 MB / 2.391 GB, free: 201.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001647/6.123, allocations: 0.9126 MB / 2.392 GB, free: 201 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-05/6.123, allocations: 4.594 kB / 2.392 GB, free: 201 MB / 0.948 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.004266/6.127, allocations: 2.167 MB / 2.394 GB, free: 200.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00125/6.129, allocations: 5.695 MB / 2.399 GB, free: 194.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.344e-05/6.129, allocations: 15.91 kB / 2.399 GB, free: 194.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001731/6.13, allocations: 426 kB / 2.4 GB, free: 194.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001607/6.132, allocations: 361.3 kB / 2.4 GB, free: 194.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003281/6.135, allocations: 2.98 MB / 2.403 GB, free: 193.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003209/6.139, allocations: 198.4 kB / 2.403 GB, free: 193.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004193/6.139, allocations: 82.91 kB / 2.403 GB, free: 193.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/6.139, allocations: 4.031 kB / 2.403 GB, free: 193.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004231/6.143, allocations: 1.911 MB / 2.405 GB, free: 193 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.658e-05/6.143, allocations: 14.59 kB / 2.405 GB, free: 193 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000607/6.144, allocations: 208.6 kB / 2.405 GB, free: 193 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001451/6.145, allocations: 378 kB / 2.406 GB, free: 193 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003501/6.149, allocations: 3.764 MB / 2.409 GB, free: 190.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002778/6.152, allocations: 179.3 kB / 2.41 GB, free: 190.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002467/6.152, allocations: 83 kB / 2.41 GB, free: 190.4 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.0006055/6.153, allocations: 163.9 kB / 2.41 GB, free: 190.3 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003731/6.156, allocations: 1.626 MB / 2.411 GB, free: 190.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007989/6.157, allocations: 199.7 kB / 2.412 GB, free: 190 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004043/6.161, allocations: 1.863 MB / 2.413 GB, free: 189.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-05/6.161, allocations: 16.95 kB / 2.413 GB, free: 189.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/6.161, allocations: 4.312 kB / 2.413 GB, free: 189.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002654/6.164, allocations: 1.496 MB / 2.415 GB, free: 189.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01187/6.176, allocations: 4.139 MB / 2.419 GB, free: 189.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/6.176, allocations: 1.031 kB / 2.419 GB, free: 189.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/6.177, allocations: 220 kB / 2.419 GB, free: 189.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001784/6.179, allocations: 399.9 kB / 2.419 GB, free: 189.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001483/6.179, allocations: 19.02 kB / 2.419 GB, free: 189.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003765/6.183, allocations: 2.92 MB / 2.422 GB, free: 187.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.498e-06/6.183, allocations: 3.344 kB / 2.422 GB, free: 187.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005817/6.189, allocations: 2.858 MB / 2.425 GB, free: 187 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002028/6.191, allocations: 0.5178 MB / 2.426 GB, free: 186.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000482/6.191, allocations: 10.12 kB / 2.426 GB, free: 186.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00165/6.193, allocations: 165 kB / 2.426 GB, free: 186.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003052/6.193, allocations: 103.8 kB / 2.426 GB, free: 186.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001477/6.193, allocations: 55.48 kB / 2.426 GB, free: 186.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002506/6.196, allocations: 1.31 MB / 2.427 GB, free: 186.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.51e-07/6.196, allocations: 2.156 kB / 2.427 GB, free: 186.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.007494/6.203, allocations: 1.457 MB / 2.429 GB, free: 186.4 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.006061/6.21, allocations: 4.187 MB / 2.433 GB, free: 185.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005193/6.215, allocations: 3.105 MB / 2.436 GB, free: 184.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.788e-06/6.215, allocations: 0 / 2.436 GB, free: 184.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001356/6.216, allocations: 0.9228 MB / 2.437 GB, free: 184.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00692/6.223, allocations: 1.083 MB / 2.438 GB, free: 184.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01229/6.235, allocations: 4.919 MB / 2.443 GB, free: 183.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00193/6.237, allocations: 2.207 MB / 2.445 GB, free: 182.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004413/6.242, allocations: 1.372 MB / 2.446 GB, free: 182.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001476/6.243, allocations: 0.9781 MB / 2.447 GB, free: 182.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.122e-06/6.243, allocations: 2.094 kB / 2.447 GB, free: 182.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1184/6.362, allocations: 66.39 MB / 2.512 GB, free: 179.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/6.362, allocations: 189.9 kB / 2.512 GB, free: 179.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.959/11.32, allocations: 0 / 2.512 GB, free: 179.4 MB / 0.948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature_fmu --startTime=0 --stopTime=21600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature.fmu > Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)