Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.637/1.637, allocations: 288.2 MB / 303.2 MB, free: 8.121 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.001118/0.001118, allocations: 183.7 kB / 371.8 MB, free: 10.29 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.516/1.516, allocations: 205.4 MB / 0.6305 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009375/0.0009375, allocations: 107.4 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006622/0.0006623, allocations: 15.34 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.2648, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.957/1.222, allocations: 427.4 MB / 1.397 GB, free: 1.898 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/1.222, allocations: 97.58 kB / 1.397 GB, free: 1.848 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.528/4.75, allocations: 0.9729 GB / 2.37 GB, free: 133.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.096e-06/4.75, allocations: 0 / 2.37 GB, free: 133.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003243/4.751, allocations: 82.12 kB / 2.37 GB, free: 133.6 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.008628/4.759, allocations: 3.155 MB / 2.373 GB, free: 130.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/4.76, allocations: 8.031 kB / 2.373 GB, free: 130.5 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001102/4.761, allocations: 335.6 kB / 2.373 GB, free: 130.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/4.762, allocations: 358.9 kB / 2.374 GB, free: 129.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007085/4.769, allocations: 3.052 MB / 2.377 GB, free: 126.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/4.769, allocations: 183.8 kB / 2.377 GB, free: 126.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003332/4.77, allocations: 236 kB / 2.377 GB, free: 126.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004627/4.774, allocations: 3.03 MB / 2.38 GB, free: 123.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.18e-05/4.774, allocations: 7.938 kB / 2.38 GB, free: 123.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002227/4.775, allocations: 99.25 kB / 2.38 GB, free: 123.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.99e-05/4.775, allocations: 71.64 kB / 2.38 GB, free: 123 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00336/4.778, allocations: 2.383 MB / 2.383 GB, free: 120.6 MB / 0.948 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.01526/4.793, allocations: 12.97 MB / 2.395 GB, free: 106.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002218/4.795, allocations: 1.649 MB / 2.397 GB, free: 105.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006341/4.796, allocations: 0.7116 MB / 2.397 GB, free: 104.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/4.796, allocations: 51.56 kB / 2.398 GB, free: 104.3 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001693/4.798, allocations: 228.3 kB / 2.398 GB, free: 104.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=126): time 7.724e-06/4.798, allocations: 0 / 2.398 GB, free: 104.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=126): time 0.008976/4.807, allocations: 3.447 MB / 2.401 GB, free: 100.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/4.807, allocations: 141.5 kB / 2.401 GB, free: 100.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003472/4.811, allocations: 1.878 MB / 2.403 GB, free: 98.61 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002374/4.811, allocations: 60.39 kB / 2.403 GB, free: 98.55 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001334/4.812, allocations: 1.256 MB / 2.404 GB, free: 97.29 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000435/4.813, allocations: 435 kB / 2.405 GB, free: 96.86 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/4.813, allocations: 36 kB / 2.405 GB, free: 96.83 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001233/4.813, allocations: 373.9 kB / 2.405 GB, free: 96.46 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/4.814, allocations: 0.7134 MB / 2.406 GB, free: 95.75 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/4.815, allocations: 1.232 MB / 2.407 GB, free: 94.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/4.817, allocations: 0.9395 MB / 2.408 GB, free: 93.38 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.329e-05/4.817, allocations: 4 kB / 2.408 GB, free: 93.38 MB / 0.948 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.003685/4.82, allocations: 2.361 MB / 2.41 GB, free: 91.01 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001241/4.822, allocations: 5.704 MB / 2.416 GB, free: 84.87 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.983e-05/4.822, allocations: 16 kB / 2.416 GB, free: 84.86 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001905/4.823, allocations: 471.9 kB / 2.416 GB, free: 84.39 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001267/4.825, allocations: 355.4 kB / 2.417 GB, free: 84.04 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002761/4.828, allocations: 3.136 MB / 2.42 GB, free: 80.75 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002527/4.83, allocations: 235.4 kB / 2.42 GB, free: 80.52 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002408/4.83, allocations: 83.48 kB / 2.42 GB, free: 80.44 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/4.83, allocations: 4.938 kB / 2.42 GB, free: 80.43 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003154/4.834, allocations: 2.14 MB / 2.422 GB, free: 78.29 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-05/4.834, allocations: 12 kB / 2.422 GB, free: 78.27 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005288/4.834, allocations: 246.3 kB / 2.422 GB, free: 78.03 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/4.835, allocations: 367.4 kB / 2.423 GB, free: 77.67 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003407/4.839, allocations: 4.2 MB / 2.427 GB, free: 73.21 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002502/4.841, allocations: 219.6 kB / 2.427 GB, free: 73 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000255/4.842, allocations: 83.97 kB / 2.427 GB, free: 72.91 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 () * 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.002169/4.844, allocations: 1.008 MB / 2.428 GB, free: 71.89 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007865/4.845, allocations: 201.5 kB / 2.428 GB, free: 71.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003525/4.848, allocations: 2.017 MB / 2.43 GB, free: 69.67 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.868e-05/4.848, allocations: 12 kB / 2.43 GB, free: 69.66 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/4.848, allocations: 4 kB / 2.43 GB, free: 69.66 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002077/4.85, allocations: 1.621 MB / 2.432 GB, free: 68.02 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009069/4.859, allocations: 4.571 MB / 2.436 GB, free: 63.37 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/4.859, allocations: 0 / 2.436 GB, free: 63.37 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008979/4.86, allocations: 207.8 kB / 2.437 GB, free: 63.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001659/4.862, allocations: 446.4 kB / 2.437 GB, free: 62.73 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001239/4.862, allocations: 35.98 kB / 2.437 GB, free: 62.69 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002532/4.865, allocations: 3.042 MB / 2.44 GB, free: 59.49 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.155e-06/4.865, allocations: 0 / 2.44 GB, free: 59.49 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00444/4.869, allocations: 2.984 MB / 2.443 GB, free: 56.45 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002242/4.871, allocations: 0.5218 MB / 2.443 GB, free: 55.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009536/4.872, allocations: 31.94 kB / 2.443 GB, free: 55.87 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002456/4.875, allocations: 191.6 kB / 2.444 GB, free: 55.68 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002786/4.875, allocations: 101.1 kB / 2.444 GB, free: 55.59 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001912/4.875, allocations: 55.95 kB / 2.444 GB, free: 55.53 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002865/4.878, allocations: 1.455 MB / 2.445 GB, free: 54.05 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.51e-07/4.878, allocations: 0 / 2.445 GB, free: 54.05 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0063/4.885, allocations: 1.515 MB / 2.447 GB, free: 52.54 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) * 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.005518/4.89, allocations: 4.181 MB / 2.451 GB, free: 48.32 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005202/4.895, allocations: 3.303 MB / 2.454 GB, free: 44.99 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/4.895, allocations: 8 kB / 2.454 GB, free: 44.98 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00154/4.897, allocations: 0.981 MB / 2.455 GB, free: 43.99 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006013/4.903, allocations: 1.14 MB / 2.456 GB, free: 42.89 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01715/4.92, allocations: 17.2 MB / 2.473 GB, free: 25.35 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002792/4.923, allocations: 2.203 MB / 2.475 GB, free: 23.11 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004416/4.927, allocations: 0.9391 MB / 2.476 GB, free: 22.21 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002024/4.929, allocations: 1.026 MB / 2.477 GB, free: 21.18 MB / 0.948 GB Notification: Performance of SimCode: time 1.833e-06/4.93, allocations: 0 / 2.477 GB, free: 21.18 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6741/5.604, allocations: 69.19 MB / 2.544 GB, free: 174.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002306/5.604, allocations: 279.3 kB / 2.545 GB, free: 173.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.177/9.781, allocations: 0 / 2.545 GB, free: 173.9 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature_fmu --startTime=0 --stopTime=21600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)