Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.571/2.571, allocations: 287.5 MB / 302.4 MB, free: 8.348 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.001375/0.001375, allocations: 182 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.015/2.015, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.0008691/0.0008688, allocations: 80.12 kB / 0.743 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006445/0.0006447, allocations: 12.34 kB / 0.8659 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2105, allocations: 115.3 MB / 0.9785 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.04834/0.2589, allocations: 34.91 MB / 1.013 GB, free: 9.277 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02631/0.2853, allocations: 11.77 MB / 1.024 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002166/0.2875, allocations: 47.62 kB / 1.024 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002239/0.2898, allocations: 413.2 kB / 1.024 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.005639/0.2955, allocations: 1.272 MB / 1.026 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.004519/0.3, allocations: 0.9463 MB / 1.027 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01505/0.3151, allocations: 8.873 MB / 1.035 GB, free: 1.93 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006171/0.3213, allocations: 2.751 MB / 1.038 GB, free: 15.13 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00607/0.3274, allocations: 2.128 MB / 1.04 GB, free: 12.99 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005482/0.3329, allocations: 2.139 MB / 1.042 GB, free: 10.84 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0009913/0.334, allocations: 135.9 kB / 1.042 GB, free: 10.71 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004399/0.3384, allocations: 0.7916 MB / 1.043 GB, free: 9.918 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.00157/0.34, allocations: 0.5952 MB / 1.044 GB, free: 9.32 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.001746/0.3418, allocations: 0.6369 MB / 1.044 GB, free: 8.676 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.007514/0.3493, allocations: 3.986 MB / 1.048 GB, free: 4.68 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.3494, allocations: 0 / 1.048 GB, free: 4.68 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.896e-06/0.3494, allocations: 0 / 1.048 GB, free: 4.68 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001842/0.3496, allocations: 0 / 1.048 GB, free: 4.68 MB / 0.6667 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.01001/0.3596, allocations: 3.008 MB / 1.051 GB, free: 1.605 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.3597, allocations: 8.031 kB / 1.051 GB, free: 1.598 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001374/0.3611, allocations: 340.9 kB / 1.051 GB, free: 1.254 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002007/0.3631, allocations: 352 kB / 1.052 GB, free: 0.9062 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008178/0.3713, allocations: 2.517 MB / 1.054 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002757/0.3717, allocations: 176.6 kB / 1.054 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009256/0.3726, allocations: 239.8 kB / 1.055 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01054/0.3832, allocations: 3.222 MB / 1.058 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-05/0.3833, allocations: 4 kB / 1.058 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005036/0.3838, allocations: 100 kB / 1.058 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001321/0.384, allocations: 63.94 kB / 1.058 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008768/0.3928, allocations: 2.574 MB / 1.06 GB, free: 7.812 MB / 0.6823 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.6539/1.047, allocations: 13.73 MB / 1.074 GB, free: 81.75 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00517/1.052, allocations: 1.624 MB / 1.075 GB, free: 81.18 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003403/1.055, allocations: 1.173 MB / 1.077 GB, free: 80.79 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001207/1.057, allocations: 0.7247 MB / 1.077 GB, free: 80.03 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.231e-05/1.057, allocations: 50.17 kB / 1.077 GB, free: 79.98 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002369/1.059, allocations: 187.5 kB / 1.078 GB, free: 79.95 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=126): time 7.865e-06/1.059, allocations: 0 / 1.078 GB, free: 79.95 MB / 0.6823 GB Notification: Performance of matching and sorting (n=126): time 0.01796/1.077, allocations: 3.449 MB / 1.081 GB, free: 78.91 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.275e-05/1.077, allocations: 143.6 kB / 1.081 GB, free: 78.75 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005065/1.082, allocations: 1.938 MB / 1.083 GB, free: 78.03 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004025/1.083, allocations: 55.36 kB / 1.083 GB, free: 77.98 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00156/1.084, allocations: 1.258 MB / 1.084 GB, free: 77.07 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007865/1.085, allocations: 443.9 kB / 1.085 GB, free: 76.74 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001523/1.085, allocations: 35.44 kB / 1.085 GB, free: 76.71 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001801/1.086, allocations: 373.7 kB / 1.085 GB, free: 76.38 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00213/1.088, allocations: 0.7277 MB / 1.086 GB, free: 76.13 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002614/1.09, allocations: 1.241 MB / 1.087 GB, free: 75.28 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002646/1.093, allocations: 0.9502 MB / 1.088 GB, free: 74.91 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.416e-05/1.093, allocations: 3.938 kB / 1.088 GB, free: 74.91 MB / 0.6823 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.007384/1.1, allocations: 2.407 MB / 1.09 GB, free: 73.97 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003156/1.101, allocations: 0.5026 MB / 1.091 GB, free: 73.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.342e-05/1.101, allocations: 13.91 kB / 1.091 GB, free: 73.31 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00381/1.105, allocations: 0.5195 MB / 1.091 GB, free: 73.21 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002814/1.108, allocations: 343.1 kB / 1.092 GB, free: 73.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004963/1.113, allocations: 3.149 MB / 1.095 GB, free: 70.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003738/1.116, allocations: 220.3 kB / 1.095 GB, free: 70.69 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000491/1.117, allocations: 82.3 kB / 1.095 GB, free: 70.67 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/1.117, allocations: 3.562 kB / 1.095 GB, free: 70.67 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006859/1.124, allocations: 2.181 MB / 1.097 GB, free: 69.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.612e-05/1.124, allocations: 12.78 kB / 1.097 GB, free: 69.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/1.125, allocations: 256.1 kB / 1.097 GB, free: 69.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002857/1.128, allocations: 366.1 kB / 1.098 GB, free: 69.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006155/1.134, allocations: 4.172 MB / 1.102 GB, free: 66.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003564/1.138, allocations: 219 kB / 1.102 GB, free: 66.31 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004725/1.138, allocations: 77.88 kB / 1.102 GB, free: 66.3 MB / 0.6823 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,yTop.u,$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.002878/1.141, allocations: 0.9964 MB / 1.103 GB, free: 65.79 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000833/1.142, allocations: 205.2 kB / 1.103 GB, free: 65.68 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006515/1.148, allocations: 2.078 MB / 1.105 GB, free: 64.85 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.424e-05/1.148, allocations: 14.44 kB / 1.105 GB, free: 64.85 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/1.149, allocations: 1.438 kB / 1.105 GB, free: 64.85 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004688/1.153, allocations: 1.666 MB / 1.107 GB, free: 64.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01463/1.168, allocations: 4.685 MB / 1.111 GB, free: 61.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.629e-05/1.168, allocations: 1.219 kB / 1.111 GB, free: 61.89 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001922/1.17, allocations: 201.9 kB / 1.112 GB, free: 61.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002965/1.173, allocations: 448.4 kB / 1.112 GB, free: 61.64 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003122/1.173, allocations: 34.39 kB / 1.112 GB, free: 61.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004314/1.178, allocations: 3.056 MB / 1.115 GB, free: 58.98 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/1.178, allocations: 1.031 kB / 1.115 GB, free: 58.98 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00804/1.186, allocations: 2.985 MB / 1.118 GB, free: 57.31 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00194/1.188, allocations: 0.5158 MB / 1.118 GB, free: 56.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007134/1.188, allocations: 31.89 kB / 1.119 GB, free: 56.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003312/1.192, allocations: 200.4 kB / 1.119 GB, free: 56.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004833/1.192, allocations: 103.4 kB / 1.119 GB, free: 56.75 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002365/1.193, allocations: 59.77 kB / 1.119 GB, free: 56.72 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003352/1.196, allocations: 1.328 MB / 1.12 GB, free: 55.98 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.42e-07/1.196, allocations: 0 / 1.12 GB, free: 55.98 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00716/1.203, allocations: 1.479 MB / 1.122 GB, free: 55.66 MB / 0.6823 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,yTop.u,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.008549/1.212, allocations: 3.801 MB / 1.125 GB, free: 53.37 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.008367/1.22, allocations: 3.353 MB / 1.129 GB, free: 51.55 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/1.22, allocations: 2 kB / 1.129 GB, free: 51.55 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002424/1.223, allocations: 1.025 MB / 1.13 GB, free: 50.98 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00972/1.232, allocations: 1.162 MB / 1.131 GB, free: 49.84 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04843/1.281, allocations: 16.5 MB / 1.147 GB, free: 32.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002298/1.283, allocations: 2.159 MB / 1.149 GB, free: 30.11 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.004844/1.288, allocations: 0.9397 MB / 1.15 GB, free: 29.18 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002342/1.29, allocations: 1.015 MB / 1.151 GB, free: 28.16 MB / 0.6823 GB Notification: Performance of SimCode: time 1.343e-06/1.291, allocations: 0 / 1.151 GB, free: 28.16 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1635/1.454, allocations: 67 MB / 1.216 GB, free: 9.719 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004211/1.455, allocations: 273.3 kB / 1.217 GB, free: 9.367 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.033/6.488, allocations: 0 / 1.217 GB, free: 9.367 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature_fmu --startTime=0 --stopTime=21600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature.fmu > Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)