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.606/1.606, allocations: 289.7 MB / 302.2 MB, free: 2.133 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.001338/0.001338, allocations: 182.4 kB / 371.6 MB, free: 3.406 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.552/1.552, allocations: 205.1 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.0009508/0.0009508, allocations: 91.44 kB / 0.745 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.491e-05/4.504e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3281, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.101/2.429, allocations: 428.3 MB / 1.398 GB, free: 255.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004241/2.43, allocations: 93.06 kB / 1.398 GB, free: 255.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.762/6.192, allocations: 0.9704 GB / 2.369 GB, free: 93 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.054e-06/6.192, allocations: 0 / 2.369 GB, free: 93 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000547/6.192, allocations: 78.73 kB / 2.369 GB, free: 92.93 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.009902/6.202, allocations: 2.685 MB / 2.371 GB, free: 90.21 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.026e-05/6.202, allocations: 12.03 kB / 2.371 GB, free: 90.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001549/6.204, allocations: 340.9 kB / 2.372 GB, free: 89.86 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002493/6.206, allocations: 352 kB / 2.372 GB, free: 89.51 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008708/6.215, allocations: 3.019 MB / 2.375 GB, free: 86.48 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002378/6.215, allocations: 188.6 kB / 2.375 GB, free: 86.29 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001005/6.216, allocations: 243.9 kB / 2.375 GB, free: 86.05 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008299/6.225, allocations: 2.983 MB / 2.378 GB, free: 82.93 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001064/6.225, allocations: 4 kB / 2.378 GB, free: 82.93 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006273/6.226, allocations: 96 kB / 2.378 GB, free: 82.84 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.078e-05/6.226, allocations: 67.98 kB / 2.378 GB, free: 82.77 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004935/6.231, allocations: 2.333 MB / 2.381 GB, free: 80.42 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.02097/6.252, allocations: 12.98 MB / 2.393 GB, free: 66.62 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002468/6.254, allocations: 1.626 MB / 2.395 GB, free: 64.97 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001444/6.256, allocations: 1.119 MB / 2.396 GB, free: 63.85 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006915/6.256, allocations: 0.7165 MB / 2.397 GB, free: 62.98 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.544e-05/6.256, allocations: 51.52 kB / 2.397 GB, free: 62.92 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001988/6.258, allocations: 227.1 kB / 2.397 GB, free: 62.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=126): time 7.134e-06/6.258, allocations: 0 / 2.397 GB, free: 62.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=126): time 0.003121/6.262, allocations: 1.703 MB / 2.399 GB, free: 60.98 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.354e-05/6.262, allocations: 141.5 kB / 2.399 GB, free: 60.81 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002788/6.264, allocations: 1.855 MB / 2.401 GB, free: 58.91 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002247/6.265, allocations: 57.64 kB / 2.401 GB, free: 58.85 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001451/6.266, allocations: 1.25 MB / 2.402 GB, free: 57.59 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004566/6.267, allocations: 445.7 kB / 2.402 GB, free: 57.14 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.556e-05/6.267, allocations: 36 kB / 2.402 GB, free: 57.11 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001722/6.267, allocations: 373.9 kB / 2.403 GB, free: 56.74 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/6.268, allocations: 0.6911 MB / 2.403 GB, free: 56.05 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00119/6.269, allocations: 1.218 MB / 2.405 GB, free: 54.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/6.27, allocations: 0.9241 MB / 2.405 GB, free: 53.68 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/6.27, allocations: 4 kB / 2.405 GB, free: 53.68 MB / 0.948 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.003386/6.274, allocations: 2.332 MB / 2.408 GB, free: 51.33 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00197/6.276, allocations: 5.701 MB / 2.413 GB, free: 45.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.551e-05/6.276, allocations: 12 kB / 2.413 GB, free: 45.14 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00183/6.277, allocations: 479.3 kB / 2.414 GB, free: 44.67 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/6.279, allocations: 351.4 kB / 2.414 GB, free: 44.33 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003015/6.282, allocations: 3.1 MB / 2.417 GB, free: 41.06 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00293/6.285, allocations: 227.4 kB / 2.417 GB, free: 40.84 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001717/6.285, allocations: 79.98 kB / 2.417 GB, free: 40.76 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/6.285, allocations: 7.938 kB / 2.417 GB, free: 40.75 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002946/6.288, allocations: 2.102 MB / 2.42 GB, free: 38.64 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/6.288, allocations: 16 kB / 2.42 GB, free: 38.63 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005027/6.288, allocations: 241.7 kB / 2.42 GB, free: 38.39 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/6.29, allocations: 375.4 kB / 2.42 GB, free: 38.02 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003318/6.293, allocations: 4.134 MB / 2.424 GB, free: 33.61 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002532/6.296, allocations: 235.4 kB / 2.424 GB, free: 33.38 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001476/6.296, allocations: 83.97 kB / 2.424 GB, free: 33.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.0004889/6.296, allocations: 212.4 kB / 2.425 GB, free: 33.09 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003797/6.297, allocations: 205.5 kB / 2.425 GB, free: 32.88 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003196/6.3, allocations: 1.972 MB / 2.427 GB, free: 30.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/6.3, allocations: 23.88 kB / 2.427 GB, free: 30.88 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/6.3, allocations: 0 / 2.427 GB, free: 30.88 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001892/6.302, allocations: 1.586 MB / 2.428 GB, free: 29.27 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00755/6.309, allocations: 4.584 MB / 2.433 GB, free: 24.59 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/6.309, allocations: 4 kB / 2.433 GB, free: 24.59 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008525/6.31, allocations: 219.8 kB / 2.433 GB, free: 24.38 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001596/6.312, allocations: 438 kB / 2.433 GB, free: 23.94 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.37e-05/6.312, allocations: 31.98 kB / 2.433 GB, free: 23.91 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002295/6.314, allocations: 2.998 MB / 2.436 GB, free: 20.75 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/6.314, allocations: 112 / 2.436 GB, free: 20.75 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003877/6.318, allocations: 2.945 MB / 2.439 GB, free: 17.75 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001673/6.32, allocations: 0.5179 MB / 2.44 GB, free: 17.21 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002758/6.32, allocations: 32 kB / 2.44 GB, free: 17.18 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001405/6.321, allocations: 191.6 kB / 2.44 GB, free: 16.99 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000237/6.322, allocations: 93.16 kB / 2.44 GB, free: 16.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/6.322, allocations: 63.89 kB / 2.44 GB, free: 16.84 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002128/6.324, allocations: 1.432 MB / 2.442 GB, free: 15.38 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.91e-07/6.324, allocations: 0 / 2.442 GB, free: 15.38 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004432/6.328, allocations: 1.515 MB / 2.443 GB, free: 13.86 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.004797/6.333, allocations: 4.134 MB / 2.447 GB, free: 9.676 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005048/6.338, allocations: 3.321 MB / 2.45 GB, free: 6.316 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.767e-06/6.338, allocations: 3.953 kB / 2.45 GB, free: 6.312 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001262/6.34, allocations: 0.973 MB / 2.451 GB, free: 5.328 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00639/6.346, allocations: 1.134 MB / 2.452 GB, free: 4.199 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01132/6.357, allocations: 5.061 MB / 2.457 GB, free: 15.07 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002168/6.36, allocations: 2.206 MB / 2.459 GB, free: 12.83 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.004728/6.364, allocations: 1.379 MB / 2.461 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001693/6.366, allocations: 0.9835 MB / 2.462 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of SimCode: time 1.553e-06/6.366, allocations: 0 / 2.462 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8812/7.247, allocations: 73.46 MB / 2.534 GB, free: 157.2 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002375/7.248, allocations: 234.7 kB / 2.534 GB, free: 156.9 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.894/12.14, allocations: 0 / 2.534 GB, free: 156.9 MB / 0.9636 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)