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.629/2.629, allocations: 287.3 MB / 302.3 MB, free: 8.359 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.001583/0.001583, allocations: 185 kB / 370.8 MB, free: 10.88 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.169/2.169, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001532/0.001532, allocations: 96.41 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005035/0.0005037, allocations: 19.75 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2208, allocations: 115.3 MB / 0.9783 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.0461/0.267, allocations: 31.85 MB / 1.009 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02578/0.2928, allocations: 11.08 MB / 1.02 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002137/0.295, allocations: 43.69 kB / 1.02 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.00332/0.2984, allocations: 0.6531 MB / 1.021 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.007267/0.3057, allocations: 1.552 MB / 1.022 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.01199/0.3177, allocations: 2.569 MB / 1.025 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01093/0.3287, allocations: 4.439 MB / 1.029 GB, free: 8.055 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00609/0.3348, allocations: 2.751 MB / 1.032 GB, free: 5.254 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005496/0.3404, allocations: 1.837 MB / 1.034 GB, free: 3.41 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004203/0.3446, allocations: 1.548 MB / 1.035 GB, free: 1.855 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0009906/0.3457, allocations: 132 kB / 1.035 GB, free: 1.727 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00398/0.3497, allocations: 0.6789 MB / 1.036 GB, free: 1.047 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001588/0.3513, allocations: 0.5643 MB / 1.037 GB, free: 492 kB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001621/0.353, allocations: 0.6408 MB / 1.037 GB, free: 15.83 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.007328/0.3603, allocations: 3.928 MB / 1.041 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3604, allocations: 0 / 1.041 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.447e-06/0.3604, allocations: 0 / 1.041 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001622/0.3606, allocations: 0 / 1.041 GB, free: 11.89 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.009937/0.3705, allocations: 2.973 MB / 1.044 GB, free: 8.855 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/0.3706, allocations: 12.03 kB / 1.044 GB, free: 8.844 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00132/0.3719, allocations: 340.9 kB / 1.044 GB, free: 8.5 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001833/0.3738, allocations: 356 kB / 1.045 GB, free: 8.148 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007518/0.3814, allocations: 2.361 MB / 1.047 GB, free: 5.738 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002504/0.3817, allocations: 176.6 kB / 1.047 GB, free: 5.562 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008462/0.3825, allocations: 232 kB / 1.047 GB, free: 5.336 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009942/0.3925, allocations: 3.203 MB / 1.05 GB, free: 1.992 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001076/0.3927, allocations: 11.84 kB / 1.05 GB, free: 1.98 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005064/0.3932, allocations: 92 kB / 1.051 GB, free: 1.891 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001233/0.3933, allocations: 64 kB / 1.051 GB, free: 1.828 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00892/0.4022, allocations: 2.57 MB / 1.053 GB, free: 15.24 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.03107/0.4334, allocations: 13.85 MB / 1.067 GB, free: 332 kB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6287/1.062, allocations: 1.612 MB / 1.068 GB, free: 86.42 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001221/1.063, allocations: 0.7202 MB / 1.069 GB, free: 85.67 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.767e-05/1.063, allocations: 52.41 kB / 1.069 GB, free: 85.63 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002349/1.066, allocations: 192.6 kB / 1.069 GB, free: 85.63 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=126): time 8.807e-06/1.066, allocations: 0 / 1.069 GB, free: 85.63 MB / 0.6823 GB Notification: Performance of matching and sorting (n=126): time 0.01974/1.086, allocations: 3.48 MB / 1.073 GB, free: 84.79 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.664e-05/1.086, allocations: 142.8 kB / 1.073 GB, free: 84.63 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005522/1.091, allocations: 2.095 MB / 1.075 GB, free: 83.86 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004287/1.092, allocations: 54.64 kB / 1.075 GB, free: 83.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001635/1.093, allocations: 1.258 MB / 1.076 GB, free: 82.97 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008293/1.094, allocations: 439.4 kB / 1.076 GB, free: 82.64 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/1.094, allocations: 35.03 kB / 1.076 GB, free: 82.62 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001805/1.095, allocations: 378.2 kB / 1.077 GB, free: 82.29 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002254/1.097, allocations: 0.7352 MB / 1.078 GB, free: 82.03 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002845/1.1, allocations: 1.234 MB / 1.079 GB, free: 81.18 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002886/1.103, allocations: 0.952 MB / 1.08 GB, free: 80.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.12e-05/1.103, allocations: 3.828 kB / 1.08 GB, free: 80.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.008192/1.111, allocations: 2.431 MB / 1.082 GB, free: 79.86 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001248/1.112, allocations: 5.7 MB / 1.088 GB, free: 73.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.648e-05/1.112, allocations: 13.91 kB / 1.088 GB, free: 73.79 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004115/1.117, allocations: 0.5168 MB / 1.088 GB, free: 73.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002856/1.12, allocations: 346.3 kB / 1.088 GB, free: 73.65 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005108/1.125, allocations: 3.169 MB / 1.092 GB, free: 71.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00381/1.129, allocations: 234.6 kB / 1.092 GB, free: 71.15 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004445/1.129, allocations: 83.36 kB / 1.092 GB, free: 71.14 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/1.129, allocations: 3.594 kB / 1.092 GB, free: 71.14 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006688/1.136, allocations: 2.189 MB / 1.094 GB, free: 70.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.687e-05/1.136, allocations: 21.78 kB / 1.094 GB, free: 70.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/1.137, allocations: 246 kB / 1.094 GB, free: 70.24 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002957/1.14, allocations: 362.4 kB / 1.095 GB, free: 70.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006208/1.146, allocations: 4.227 MB / 1.099 GB, free: 66.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003608/1.15, allocations: 222.8 kB / 1.099 GB, free: 66.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004254/1.15, allocations: 82.11 kB / 1.099 GB, free: 66.75 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.002753/1.153, allocations: 1.002 MB / 1.1 GB, free: 66.23 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008069/1.154, allocations: 204.4 kB / 1.1 GB, free: 66.12 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006049/1.16, allocations: 2.078 MB / 1.102 GB, free: 65.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-05/1.16, allocations: 17.06 kB / 1.102 GB, free: 65.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/1.16, allocations: 0 / 1.102 GB, free: 65.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004697/1.165, allocations: 1.679 MB / 1.104 GB, free: 64.64 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01431/1.179, allocations: 4.696 MB / 1.108 GB, free: 62.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.469e-05/1.179, allocations: 1.031 kB / 1.108 GB, free: 62.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001925/1.181, allocations: 200.1 kB / 1.109 GB, free: 62.69 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003057/1.184, allocations: 454.7 kB / 1.109 GB, free: 62.58 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003044/1.185, allocations: 31.11 kB / 1.109 GB, free: 62.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004354/1.189, allocations: 3.08 MB / 1.112 GB, free: 60.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/1.189, allocations: 1.25 kB / 1.112 GB, free: 60.16 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008202/1.197, allocations: 3.068 MB / 1.115 GB, free: 58.78 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002041/1.199, allocations: 0.532 MB / 1.116 GB, free: 58.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007619/1.2, allocations: 36.83 kB / 1.116 GB, free: 58.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003513/1.204, allocations: 202.5 kB / 1.116 GB, free: 58.34 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005301/1.204, allocations: 103.8 kB / 1.116 GB, free: 58.29 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000244/1.205, allocations: 56.42 kB / 1.116 GB, free: 58.27 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003786/1.208, allocations: 1.451 MB / 1.117 GB, free: 57.45 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.81e-07/1.208, allocations: 0 / 1.117 GB, free: 57.45 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.007998/1.216, allocations: 1.483 MB / 1.119 GB, free: 57.13 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.01005/1.226, allocations: 4.092 MB / 1.123 GB, free: 54.57 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.009533/1.236, allocations: 3.384 MB / 1.126 GB, free: 52.74 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/1.236, allocations: 0 / 1.126 GB, free: 52.74 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002733/1.239, allocations: 1.024 MB / 1.127 GB, free: 52.18 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009636/1.249, allocations: 1.14 MB / 1.128 GB, free: 51.63 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01984/1.268, allocations: 17.22 MB / 1.145 GB, free: 34.91 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002788/1.271, allocations: 2.209 MB / 1.147 GB, free: 32.66 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.005218/1.277, allocations: 0.9617 MB / 1.148 GB, free: 31.71 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00253/1.279, allocations: 1.023 MB / 1.149 GB, free: 30.7 MB / 0.6823 GB Notification: Performance of SimCode: time 1.623e-06/1.279, allocations: 0 / 1.149 GB, free: 30.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2163/1.496, allocations: 66.57 MB / 1.214 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003983/1.496, allocations: 267.6 kB / 1.214 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.166/6.662, allocations: 0 / 1.214 GB, free: 12.34 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)