Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008897/0.0008899, allocations: 90.67 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005652/0.005652, allocations: 174.9 kB / 16.27 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.512/2.512, allocations: 462.7 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002999/0.0002999, allocations: 10.31 kB / 0.9029 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2546, allocations: 159.6 MB / 1.059 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05127/0.3059, allocations: 54.56 MB / 1.112 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02046/0.3264, allocations: 17.72 MB / 1.129 GB, free: 12.35 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002092/0.3285, allocations: 67.56 kB / 1.129 GB, free: 12.28 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002117/0.3306, allocations: 0.7186 MB / 1.13 GB, free: 11.56 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005772/0.3364, allocations: 2.337 MB / 1.132 GB, free: 9.211 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003226/0.3397, allocations: 1.374 MB / 1.134 GB, free: 7.844 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.02309/0.3628, allocations: 27.81 MB / 1.161 GB, free: 11.96 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009217/0.372, allocations: 8.41 MB / 1.169 GB, free: 3.449 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007683/0.3797, allocations: 5.209 MB / 1.174 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00737/0.3871, allocations: 5.787 MB / 1.18 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0007081/0.3878, allocations: 344 kB / 1.18 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002861/0.3907, allocations: 1.03 MB / 1.181 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001351/0.392, allocations: 1.599 MB / 1.183 GB, free: 5.434 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.004066/0.3961, allocations: 3.893 MB / 1.187 GB, free: 1.516 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01004/0.4062, allocations: 12.3 MB / 1.199 GB, free: 5.176 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.4062, allocations: 0 / 1.199 GB, free: 5.176 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.402e-06/0.4062, allocations: 0 / 1.199 GB, free: 5.176 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001868/0.4064, allocations: 0 / 1.199 GB, free: 5.176 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.01157/0.418, allocations: 6.882 MB / 1.205 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.418, allocations: 15.97 kB / 1.205 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001076/0.4191, allocations: 0.8422 MB / 1.206 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001954/0.4211, allocations: 0.8586 MB / 1.207 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009071/0.4301, allocations: 6.613 MB / 1.213 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002859/0.4304, allocations: 464.1 kB / 1.214 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008223/0.4313, allocations: 0.5936 MB / 1.214 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01245/0.4437, allocations: 9.032 MB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001072/0.4438, allocations: 19.78 kB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005606/0.4444, allocations: 264 kB / 1.224 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001415/0.4446, allocations: 179.9 kB / 1.224 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0106/0.4552, allocations: 7.457 MB / 1.231 GB, free: 3.469 MB / 0.9825 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.4501/0.9052, allocations: 35.98 MB / 1.266 GB, free: 157.4 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005438/0.9107, allocations: 4.293 MB / 1.27 GB, free: 157.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004718/0.9154, allocations: 3.33 MB / 1.274 GB, free: 157.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00111/0.9166, allocations: 0.984 MB / 1.275 GB, free: 156.4 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00368/0.9203, allocations: 2.385 MB / 1.277 GB, free: 156.3 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00219/0.9225, allocations: 446.7 kB / 1.277 GB, free: 156.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=317): time 4.599e-06/0.9225, allocations: 3.828 kB / 1.277 GB, free: 156.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=317): time 0.01318/0.9357, allocations: 7.14 MB / 1.284 GB, free: 154.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.207e-05/0.9357, allocations: 85.16 kB / 1.284 GB, free: 154.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007117/0.9429, allocations: 5.466 MB / 1.29 GB, free: 153 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003322/0.9432, allocations: 94.42 kB / 1.29 GB, free: 152.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002072/0.9453, allocations: 3.194 MB / 1.293 GB, free: 150.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008365/0.9461, allocations: 1.114 MB / 1.294 GB, free: 149.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004092/0.9466, allocations: 362 kB / 1.294 GB, free: 149.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.227e-05/0.9466, allocations: 301.1 kB / 1.295 GB, free: 149.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002766/0.9494, allocations: 2.159 MB / 1.297 GB, free: 148.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003011/0.9524, allocations: 3.695 MB / 1.3 GB, free: 145.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005744/0.9581, allocations: 6.314 MB / 1.306 GB, free: 140.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.349e-05/0.9582, allocations: 13.38 kB / 1.306 GB, free: 140.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.007982/0.9662, allocations: 6.764 MB / 1.313 GB, free: 137.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.613e-05/0.9662, allocations: 56.97 kB / 1.313 GB, free: 137.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.072e-05/0.9663, allocations: 49.59 kB / 1.313 GB, free: 137.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007741/0.967, allocations: 439.8 kB / 1.314 GB, free: 137.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002999/0.9701, allocations: 1.017 MB / 1.315 GB, free: 136.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003934/0.974, allocations: 5.262 MB / 1.32 GB, free: 132.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004491/0.9785, allocations: 476.3 kB / 1.32 GB, free: 132.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003124/0.9788, allocations: 219.5 kB / 1.32 GB, free: 132.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (540): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003293/0.9821, allocations: 2.48 MB / 1.323 GB, free: 130.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008902/0.983, allocations: 0.5233 MB / 1.323 GB, free: 130.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006644/0.9897, allocations: 5.264 MB / 1.328 GB, free: 125 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-05/0.9897, allocations: 32 kB / 1.329 GB, free: 125 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.9897, allocations: 4.875 kB / 1.329 GB, free: 125 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005011/0.9947, allocations: 4.535 MB / 1.333 GB, free: 120.4 MB / 0.9981 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 postOpt removeSimpleEquations (simulation): time 0.01879/1.014, allocations: 11.99 MB / 1.345 GB, free: 108.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.899e-06/1.014, allocations: 0 / 1.345 GB, free: 108.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002398/1.016, allocations: 0.6551 MB / 1.345 GB, free: 107.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006941/1.017, allocations: 377.3 kB / 1.346 GB, free: 107.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001789/1.017, allocations: 83.95 kB / 1.346 GB, free: 107.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003822/1.021, allocations: 5.177 MB / 1.351 GB, free: 101.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.021, allocations: 7.844 kB / 1.351 GB, free: 101.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008922/1.03, allocations: 7.637 MB / 1.358 GB, free: 94.01 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00267/1.032, allocations: 1.217 MB / 1.359 GB, free: 92.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008046/1.033, allocations: 64 kB / 1.36 GB, free: 92.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003584/1.037, allocations: 470.8 kB / 1.36 GB, free: 92.25 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003624/1.037, allocations: 210.1 kB / 1.36 GB, free: 92.04 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002424/1.037, allocations: 135.9 kB / 1.36 GB, free: 91.91 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004536/1.042, allocations: 3.807 MB / 1.364 GB, free: 88.12 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.11e-07/1.042, allocations: 0 / 1.364 GB, free: 88.12 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004832/1.047, allocations: 1.99 MB / 1.366 GB, free: 86.15 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,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,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009363/1.056, allocations: 8.571 MB / 1.374 GB, free: 77.52 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00632/1.062, allocations: 5.378 MB / 1.38 GB, free: 72.09 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/1.063, allocations: 4.5 kB / 1.38 GB, free: 72.09 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002815/1.065, allocations: 2.515 MB / 1.382 GB, free: 69.55 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01598/1.081, allocations: 3.228 MB / 1.385 GB, free: 66.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1209/1.202, allocations: 65.72 MB / 1.449 GB, free: 10.92 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005308/1.208, allocations: 4.624 MB / 1.454 GB, free: 6.262 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.006423/1.214, allocations: 1.986 MB / 1.456 GB, free: 4.277 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004069/1.218, allocations: 2.67 MB / 1.458 GB, free: 1.605 MB / 1.014 GB Notification: Performance of SimCode: time 7.61e-07/1.218, allocations: 3.938 kB / 1.458 GB, free: 1.602 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.725/4.943, allocations: 158 MB / 1.613 GB, free: 4.902 MB / 1.17 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002608/4.944, allocations: 289.6 kB / 1.613 GB, free: 4.52 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.318/10.26, allocations: 0 / 1.613 GB, free: 4.52 MB / 1.17 GB (rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)