Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="Buildings_8_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.73/1.73, allocations: 292.6 MB / 307.5 MB, free: 5.188 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.00105/0.00105, allocations: 177 kB / 377.1 MB, free: 1.508 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.981/1.981, allocations: 205.4 MB / 0.6366 GB, free: 8.543 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001201/0.0012, allocations: 87.64 kB / 0.7509 GB, free: 63.22 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003939/0.0003939, allocations: 15.98 kB / 0.8749 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2868, allocations: 116.3 MB / 0.9884 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.902/2.188, allocations: 428.4 MB / 1.407 GB, free: 246.8 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/2.189, allocations: 103 kB / 1.407 GB, free: 246.8 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.446/5.635, allocations: 0.9729 GB / 2.38 GB, free: 69.93 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.426e-06/5.635, allocations: 0 / 2.38 GB, free: 69.93 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005726/5.635, allocations: 81.48 kB / 2.38 GB, free: 69.86 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.01143/5.647, allocations: 3.157 MB / 2.383 GB, free: 66.66 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/5.647, allocations: 11.97 kB / 2.383 GB, free: 66.65 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001648/5.649, allocations: 343.9 kB / 2.383 GB, free: 66.31 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002273/5.651, allocations: 360 kB / 2.384 GB, free: 65.95 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008231/5.659, allocations: 3.039 MB / 2.387 GB, free: 62.89 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002424/5.659, allocations: 180.6 kB / 2.387 GB, free: 62.71 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001054/5.661, allocations: 241 kB / 2.387 GB, free: 62.48 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005669/5.666, allocations: 3.033 MB / 2.39 GB, free: 59.31 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.231e-05/5.666, allocations: 4 kB / 2.39 GB, free: 59.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002331/5.667, allocations: 102.4 kB / 2.39 GB, free: 59.21 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.193e-05/5.667, allocations: 71.92 kB / 2.39 GB, free: 59.14 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00345/5.67, allocations: 2.379 MB / 2.392 GB, free: 56.74 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.01553/5.686, allocations: 12.97 MB / 2.405 GB, free: 42.88 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002141/5.688, allocations: 1.648 MB / 2.407 GB, free: 41.21 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006224/5.688, allocations: 0.7088 MB / 2.407 GB, free: 40.35 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/5.688, allocations: 51.56 kB / 2.407 GB, free: 40.29 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001849/5.69, allocations: 234.5 kB / 2.408 GB, free: 40.06 MB / 0.948 GB Notification: Performance of pre-optimization done (n=126): time 6.863e-06/5.69, allocations: 0 / 2.408 GB, free: 40.06 MB / 0.948 GB Notification: Performance of matching and sorting (n=126): time 0.008908/5.699, allocations: 3.45 MB / 2.411 GB, free: 36.56 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.196e-05/5.699, allocations: 141.5 kB / 2.411 GB, free: 36.39 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0027/5.702, allocations: 1.878 MB / 2.413 GB, free: 34.48 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002412/5.702, allocations: 57.7 kB / 2.413 GB, free: 34.41 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001047/5.703, allocations: 1.258 MB / 2.414 GB, free: 33.14 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003674/5.704, allocations: 437.8 kB / 2.415 GB, free: 32.71 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.008e-05/5.704, allocations: 36 kB / 2.415 GB, free: 32.67 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001048/5.704, allocations: 369.9 kB / 2.415 GB, free: 32.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009185/5.705, allocations: 0.7105 MB / 2.416 GB, free: 31.59 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/5.706, allocations: 1.233 MB / 2.417 GB, free: 30.13 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/5.707, allocations: 0.9315 MB / 2.418 GB, free: 29.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/5.707, allocations: 4 kB / 2.418 GB, free: 29.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.003397/5.711, allocations: 2.362 MB / 2.42 GB, free: 26.82 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001138/5.712, allocations: 5.703 MB / 2.426 GB, free: 20.65 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.149e-05/5.712, allocations: 20 kB / 2.426 GB, free: 20.63 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001811/5.714, allocations: 485.1 kB / 2.426 GB, free: 20.15 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/5.715, allocations: 351.5 kB / 2.427 GB, free: 19.81 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002666/5.718, allocations: 3.141 MB / 2.43 GB, free: 16.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002669/5.72, allocations: 231.5 kB / 2.43 GB, free: 16.27 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001668/5.72, allocations: 79.98 kB / 2.43 GB, free: 16.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/5.72, allocations: 0 / 2.43 GB, free: 16.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002952/5.723, allocations: 2.144 MB / 2.432 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/5.723, allocations: 16 kB / 2.432 GB, free: 14.03 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005252/5.724, allocations: 234.2 kB / 2.432 GB, free: 13.79 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/5.725, allocations: 371.5 kB / 2.433 GB, free: 13.43 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003338/5.729, allocations: 4.208 MB / 2.437 GB, free: 8.949 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002645/5.731, allocations: 223.6 kB / 2.437 GB, free: 8.73 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001712/5.731, allocations: 79.97 kB / 2.437 GB, free: 8.652 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.002205/5.734, allocations: 1.005 MB / 2.438 GB, free: 7.637 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000643/5.734, allocations: 205.5 kB / 2.438 GB, free: 7.434 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003177/5.737, allocations: 2.011 MB / 2.44 GB, free: 5.406 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/5.738, allocations: 12 kB / 2.44 GB, free: 5.395 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/5.738, allocations: 0 / 2.44 GB, free: 5.395 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001911/5.739, allocations: 1.621 MB / 2.442 GB, free: 3.758 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6746/6.414, allocations: 4.566 MB / 2.446 GB, free: 147 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/6.414, allocations: 0 / 2.446 GB, free: 147 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/6.415, allocations: 210 kB / 2.446 GB, free: 147 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001762/6.417, allocations: 441.9 kB / 2.447 GB, free: 147 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001468/6.417, allocations: 35 kB / 2.447 GB, free: 147 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002877/6.42, allocations: 3.052 MB / 2.45 GB, free: 145.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/6.42, allocations: 1.375 kB / 2.45 GB, free: 145.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004861/6.425, allocations: 2.969 MB / 2.453 GB, free: 144.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001769/6.427, allocations: 0.5268 MB / 2.453 GB, free: 144.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002901/6.427, allocations: 28.66 kB / 2.453 GB, free: 144.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00145/6.428, allocations: 188.5 kB / 2.453 GB, free: 144.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002379/6.429, allocations: 107.2 kB / 2.454 GB, free: 144.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001194/6.429, allocations: 53.55 kB / 2.454 GB, free: 144.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002366/6.431, allocations: 1.453 MB / 2.455 GB, free: 144.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/6.431, allocations: 3.734 kB / 2.455 GB, free: 144.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005058/6.436, allocations: 1.517 MB / 2.457 GB, free: 144.6 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.006656/6.443, allocations: 4.178 MB / 2.461 GB, free: 143.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006216/6.449, allocations: 3.305 MB / 2.464 GB, free: 143.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/6.449, allocations: 0.6562 kB / 2.464 GB, free: 143.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001615/6.451, allocations: 0.9896 MB / 2.465 GB, free: 143 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006162/6.457, allocations: 1.142 MB / 2.466 GB, free: 143 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01584/6.473, allocations: 17.19 MB / 2.483 GB, free: 130.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002293/6.475, allocations: 2.204 MB / 2.485 GB, free: 129.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003892/6.479, allocations: 0.9424 MB / 2.486 GB, free: 129.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001568/6.481, allocations: 1.017 MB / 2.487 GB, free: 129.6 MB / 0.948 GB Notification: Performance of SimCode: time 8.72e-07/6.481, allocations: 0 / 2.487 GB, free: 129.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1265/6.607, allocations: 69.2 MB / 2.554 GB, free: 127.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002083/6.608, allocations: 277.2 kB / 2.555 GB, free: 126.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.033/10.64, allocations: 3 kB / 2.555 GB, free: 126.9 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature_fmu --startTime=0 --stopTime=21600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature.fmu > Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)