Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.449/1.449, allocations: 251.9 MB / 266.9 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001095/0.001095, allocations: 180.4 kB / 326.5 MB, free: 2.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.677/1.677, allocations: 205.4 MB / 0.5775 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007953/0.0007953, allocations: 102.7 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003785/0.0003788, allocations: 9.469 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2165, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8575/1.074, allocations: 419.8 MB / 1.31 GB, free: 12.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/1.074, allocations: 94.88 kB / 1.31 GB, free: 12.25 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.329/4.403, allocations: 0.9482 GB / 2.258 GB, free: 162.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.386e-06/4.403, allocations: 0 / 2.258 GB, free: 162.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003013/4.404, allocations: 78.16 kB / 2.258 GB, free: 162.2 MB / 0.8855 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.007378/4.411, allocations: 3.152 MB / 2.261 GB, free: 160.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/4.411, allocations: 11.75 kB / 2.262 GB, free: 160.2 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008521/4.412, allocations: 340.2 kB / 2.262 GB, free: 159.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/4.413, allocations: 354 kB / 2.262 GB, free: 159.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006394/4.42, allocations: 3.038 MB / 2.265 GB, free: 157.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001389/4.42, allocations: 183.1 kB / 2.265 GB, free: 157.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005004/4.42, allocations: 239.9 kB / 2.266 GB, free: 157.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004853/4.425, allocations: 2.999 MB / 2.268 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.374e-05/4.425, allocations: 9.312 kB / 2.268 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002263/4.425, allocations: 91.53 kB / 2.269 GB, free: 155.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.936e-05/4.426, allocations: 70.98 kB / 2.269 GB, free: 155.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003479/4.429, allocations: 2.381 MB / 2.271 GB, free: 154.3 MB / 0.8855 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.0152/4.444, allocations: 12.95 MB / 2.284 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002069/4.446, allocations: 1.642 MB / 2.285 GB, free: 139 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005933/4.447, allocations: 0.7108 MB / 2.286 GB, free: 138.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/4.447, allocations: 49.48 kB / 2.286 GB, free: 138.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001586/4.449, allocations: 228.9 kB / 2.286 GB, free: 137.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=126): time 3.878e-06/4.449, allocations: 0 / 2.286 GB, free: 137.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=126): time 0.007581/4.456, allocations: 3.344 MB / 2.289 GB, free: 134.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.543e-05/4.456, allocations: 141.5 kB / 2.29 GB, free: 134.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003113/4.459, allocations: 1.872 MB / 2.291 GB, free: 132.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002968/4.46, allocations: 57.64 kB / 2.291 GB, free: 132.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001397/4.461, allocations: 1.257 MB / 2.293 GB, free: 131.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004822/4.462, allocations: 437.5 kB / 2.293 GB, free: 130.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.939e-05/4.462, allocations: 36 kB / 2.293 GB, free: 130.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001339/4.462, allocations: 375.4 kB / 2.293 GB, free: 130.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/4.463, allocations: 0.7065 MB / 2.294 GB, free: 129.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001282/4.464, allocations: 1.232 MB / 2.295 GB, free: 128.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/4.465, allocations: 0.9408 MB / 2.296 GB, free: 127.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/4.465, allocations: 4 kB / 2.296 GB, free: 127.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.003527/4.469, allocations: 2.36 MB / 2.299 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001163/4.47, allocations: 5.702 MB / 2.304 GB, free: 118.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.915e-05/4.47, allocations: 16 kB / 2.304 GB, free: 118.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001489/4.472, allocations: 450.8 kB / 2.305 GB, free: 118.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/4.473, allocations: 354 kB / 2.305 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002941/4.476, allocations: 3.141 MB / 2.308 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003031/4.479, allocations: 231.2 kB / 2.308 GB, free: 114.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002741/4.479, allocations: 79.98 kB / 2.308 GB, free: 114.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/4.479, allocations: 4 kB / 2.308 GB, free: 114.3 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003198/4.483, allocations: 2.143 MB / 2.31 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/4.483, allocations: 16 kB / 2.31 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005981/4.483, allocations: 237.9 kB / 2.311 GB, free: 111.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/4.485, allocations: 375.4 kB / 2.311 GB, free: 111.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004095/4.489, allocations: 4.204 MB / 2.315 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003194/4.492, allocations: 215.6 kB / 2.315 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000193/4.492, allocations: 87.97 kB / 2.315 GB, free: 106.8 MB / 0.8855 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 () * Number of clocked 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.001903/4.494, allocations: 1 MB / 2.316 GB, free: 105.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005156/4.495, allocations: 205.5 kB / 2.317 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002943/4.498, allocations: 2.001 MB / 2.319 GB, free: 103.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/4.498, allocations: 23.94 kB / 2.319 GB, free: 103.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/4.498, allocations: 0 / 2.319 GB, free: 103.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00184/4.499, allocations: 1.621 MB / 2.32 GB, free: 101.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008342/4.508, allocations: 4.543 MB / 2.325 GB, free: 97.33 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.383e-06/4.508, allocations: 7.984 kB / 2.325 GB, free: 97.32 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008814/4.509, allocations: 207.7 kB / 2.325 GB, free: 97.12 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001316/4.51, allocations: 401.8 kB / 2.325 GB, free: 96.72 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001161/4.51, allocations: 35.98 kB / 2.325 GB, free: 96.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002343/4.513, allocations: 3.047 MB / 2.328 GB, free: 93.48 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/4.513, allocations: 64 / 2.328 GB, free: 93.48 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004301/4.517, allocations: 2.965 MB / 2.331 GB, free: 90.45 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002083/4.519, allocations: 0.514 MB / 2.332 GB, free: 89.92 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007803/4.52, allocations: 31.94 kB / 2.332 GB, free: 89.89 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002683/4.523, allocations: 199.4 kB / 2.332 GB, free: 89.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002405/4.523, allocations: 97.16 kB / 2.332 GB, free: 89.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001717/4.523, allocations: 51.91 kB / 2.332 GB, free: 89.55 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003433/4.526, allocations: 1.458 MB / 2.333 GB, free: 88.07 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.7e-07/4.526, allocations: 0 / 2.333 GB, free: 88.07 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.006572/4.533, allocations: 1.514 MB / 2.335 GB, free: 86.55 MB / 0.8855 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) * Number of clocked states: 0 () * 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.005251/4.538, allocations: 4.174 MB / 2.339 GB, free: 82.39 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00485/4.543, allocations: 3.299 MB / 2.342 GB, free: 79.05 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/4.543, allocations: 4 kB / 2.342 GB, free: 79.05 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001186/4.544, allocations: 0.9849 MB / 2.343 GB, free: 78.05 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005209/4.55, allocations: 1.133 MB / 2.344 GB, free: 76.95 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01424/4.564, allocations: 17.2 MB / 2.361 GB, free: 59.41 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002034/4.566, allocations: 2.199 MB / 2.363 GB, free: 57.18 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003445/4.569, allocations: 0.9374 MB / 2.364 GB, free: 56.27 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001622/4.571, allocations: 1.026 MB / 2.365 GB, free: 55.24 MB / 0.8855 GB Notification: Performance of SimCode: time 7.81e-07/4.571, allocations: 0 / 2.365 GB, free: 55.24 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5651/5.136, allocations: 68.74 MB / 2.432 GB, free: 166.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001796/5.136, allocations: 283.8 kB / 2.432 GB, free: 165.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.287/9.423, allocations: 0 / 2.432 GB, free: 165.9 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature_fmu --startTime=0 --stopTime=21600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)