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.646/1.646, allocations: 249.3 MB / 261.8 MB, free: 5.855 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001027/0.001027, allocations: 170.7 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.75/1.75, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.00114/0.001139, allocations: 84.55 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.478e-05/4.497e-05, allocations: 8 kB / 0.788 GB, free: 97.03 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2736, allocations: 106.3 MB / 0.8919 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.828/2.102, allocations: 419.7 MB / 1.302 GB, free: 317 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/2.103, allocations: 87.86 kB / 1.302 GB, free: 317 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.332/5.435, allocations: 0.9456 GB / 2.247 GB, free: 18.24 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.613e-06/5.435, allocations: 0 / 2.247 GB, free: 18.24 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003584/5.435, allocations: 79.92 kB / 2.248 GB, free: 18.16 MB / 0.8698 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.007661/5.443, allocations: 2.683 MB / 2.25 GB, free: 15.42 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/5.443, allocations: 12.03 kB / 2.25 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008351/5.444, allocations: 340.8 kB / 2.25 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001459/5.445, allocations: 357.2 kB / 2.251 GB, free: 14.71 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006606/5.452, allocations: 3.012 MB / 2.254 GB, free: 11.65 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001404/5.452, allocations: 176.6 kB / 2.254 GB, free: 11.47 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005122/5.453, allocations: 239.9 kB / 2.254 GB, free: 11.24 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004927/5.458, allocations: 2.961 MB / 2.257 GB, free: 8.137 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.012e-05/5.458, allocations: 0 / 2.257 GB, free: 8.137 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000227/5.458, allocations: 96 kB / 2.257 GB, free: 8.043 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.978e-05/5.458, allocations: 71.98 kB / 2.257 GB, free: 7.973 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003568/5.462, allocations: 2.333 MB / 2.259 GB, free: 5.625 MB / 0.8698 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.01824/5.48, allocations: 12.94 MB / 2.272 GB, free: 7.801 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002674/5.482, allocations: 1.639 MB / 2.274 GB, free: 6.137 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001552/5.484, allocations: 1.126 MB / 2.275 GB, free: 5.004 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008503/5.485, allocations: 0.7048 MB / 2.276 GB, free: 4.152 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.189e-05/5.485, allocations: 55.55 kB / 2.276 GB, free: 4.09 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002062/5.487, allocations: 231 kB / 2.276 GB, free: 3.863 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=126): time 5.079e-06/5.487, allocations: 0 / 2.276 GB, free: 3.863 MB / 0.8855 GB Notification: Performance of matching and sorting (n=126): time 0.003362/5.49, allocations: 1.687 MB / 2.277 GB, free: 2.16 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.317e-05/5.491, allocations: 141.5 kB / 2.278 GB, free: 1.992 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003239/5.494, allocations: 1.855 MB / 2.279 GB, free: 96 kB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002665/5.494, allocations: 53.7 kB / 2.279 GB, free: 36 kB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.7413/6.235, allocations: 1.255 MB / 2.281 GB, free: 183.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008232/6.236, allocations: 442.4 kB / 2.281 GB, free: 183.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/6.236, allocations: 32.28 kB / 2.281 GB, free: 183.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001712/6.237, allocations: 373.5 kB / 2.281 GB, free: 182.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001417/6.238, allocations: 0.6906 MB / 2.282 GB, free: 182.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001584/6.24, allocations: 1.212 MB / 2.283 GB, free: 182.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001652/6.241, allocations: 0.9223 MB / 2.284 GB, free: 182.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.296e-05/6.241, allocations: 6.031 kB / 2.284 GB, free: 182.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.004997/6.246, allocations: 2.322 MB / 2.286 GB, free: 182 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001539/6.248, allocations: 5.711 MB / 2.292 GB, free: 176.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.142e-05/6.248, allocations: 14.19 kB / 2.292 GB, free: 176.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001792/6.25, allocations: 457.5 kB / 2.293 GB, free: 176.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001426/6.251, allocations: 355.9 kB / 2.293 GB, free: 176.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003783/6.255, allocations: 3.076 MB / 2.296 GB, free: 174.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00305/6.258, allocations: 231.7 kB / 2.296 GB, free: 174.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000278/6.258, allocations: 84.67 kB / 2.296 GB, free: 174.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/6.258, allocations: 3.344 kB / 2.296 GB, free: 174.2 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004473/6.263, allocations: 2.105 MB / 2.298 GB, free: 174.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.638e-05/6.263, allocations: 16.91 kB / 2.298 GB, free: 174.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006941/6.264, allocations: 234.2 kB / 2.298 GB, free: 174.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001528/6.265, allocations: 377.4 kB / 2.299 GB, free: 174.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004177/6.269, allocations: 4.146 MB / 2.303 GB, free: 171.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002788/6.272, allocations: 218.7 kB / 2.303 GB, free: 171.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001999/6.272, allocations: 84.64 kB / 2.303 GB, free: 171.4 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 () * 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.0006645/6.273, allocations: 207 kB / 2.303 GB, free: 171.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004873/6.274, allocations: 203.8 kB / 2.304 GB, free: 171.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004066/6.278, allocations: 1.993 MB / 2.306 GB, free: 171.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.67e-05/6.278, allocations: 14.72 kB / 2.306 GB, free: 171.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/6.278, allocations: 1.156 kB / 2.306 GB, free: 171.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002478/6.28, allocations: 1.586 MB / 2.307 GB, free: 171 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01019/6.29, allocations: 4.56 MB / 2.312 GB, free: 170.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/6.29, allocations: 5.641 kB / 2.312 GB, free: 170.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009917/6.291, allocations: 213 kB / 2.312 GB, free: 170.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001559/6.293, allocations: 414.3 kB / 2.312 GB, free: 170.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001118/6.293, allocations: 35.38 kB / 2.312 GB, free: 170.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003/6.296, allocations: 3.001 MB / 2.315 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/6.296, allocations: 2.219 kB / 2.315 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005398/6.302, allocations: 2.924 MB / 2.318 GB, free: 168.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001934/6.303, allocations: 0.517 MB / 2.318 GB, free: 168 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003365/6.304, allocations: 31.56 kB / 2.318 GB, free: 168 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00152/6.305, allocations: 189 kB / 2.319 GB, free: 168 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003162/6.306, allocations: 103.1 kB / 2.319 GB, free: 168 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001399/6.306, allocations: 56.52 kB / 2.319 GB, free: 168 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00271/6.309, allocations: 1.426 MB / 2.32 GB, free: 167.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.11e-07/6.309, allocations: 0 / 2.32 GB, free: 167.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005972/6.315, allocations: 1.514 MB / 2.322 GB, free: 167.8 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) * 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.006475/6.321, allocations: 4.126 MB / 2.326 GB, free: 166.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.007646/6.329, allocations: 3.315 MB / 2.329 GB, free: 166.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.41e-05/6.329, allocations: 1.219 kB / 2.329 GB, free: 166.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00207/6.331, allocations: 0.9708 MB / 2.33 GB, free: 166.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00684/6.338, allocations: 1.127 MB / 2.331 GB, free: 166.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/6.348, allocations: 5.057 MB / 2.336 GB, free: 165.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001604/6.35, allocations: 2.202 MB / 2.338 GB, free: 164.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004084/6.354, allocations: 1.371 MB / 2.339 GB, free: 164.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001242/6.355, allocations: 0.984 MB / 2.34 GB, free: 164.4 MB / 0.8855 GB Notification: Performance of SimCode: time 9.32e-07/6.355, allocations: 3.312 kB / 2.34 GB, free: 164.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1289/6.484, allocations: 73.03 MB / 2.412 GB, free: 161.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002675/6.484, allocations: 246 kB / 2.412 GB, free: 161.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.744/11.23, allocations: 3.438 kB / 2.412 GB, free: 161.2 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)