Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_10_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.001471/0.001471, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001662/0.001662, allocations: 196.3 kB / 16.14 MB, free: 6.691 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.31/1.31, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.363/2.363, allocations: 437 MB / 0.71 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 63.91 kB / 0.8687 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5089/0.5102, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04813/0.5584, allocations: 55.66 MB / 1.071 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01927/0.5777, allocations: 17.93 MB / 1.089 GB, free: 8.969 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002115/0.5798, allocations: 71.56 kB / 1.089 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002169/0.582, allocations: 0.7186 MB / 1.089 GB, free: 8.176 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.005286/0.5873, allocations: 2.329 MB / 1.092 GB, free: 5.836 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002979/0.5903, allocations: 1.381 MB / 1.093 GB, free: 4.465 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.02087/0.6112, allocations: 27.81 MB / 1.12 GB, free: 8.582 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009376/0.6206, allocations: 8.701 MB / 1.129 GB, free: 15.76 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007654/0.6283, allocations: 5.521 MB / 1.134 GB, free: 10.22 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007366/0.6356, allocations: 6.177 MB / 1.14 GB, free: 4.016 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0008892/0.6365, allocations: 472 kB / 1.141 GB, free: 3.555 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003031/0.6396, allocations: 1.151 MB / 1.142 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001417/0.641, allocations: 1.798 MB / 1.143 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.004709/0.6457, allocations: 4.125 MB / 1.147 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01094/0.6567, allocations: 12.64 MB / 1.16 GB, free: 15.78 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.6567, allocations: 3.984 kB / 1.16 GB, free: 15.78 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6567, allocations: 0 / 1.16 GB, free: 15.78 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0002522/0.657, allocations: 0 / 1.16 GB, free: 15.78 MB / 0.92 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.01493/0.6719, allocations: 8.499 MB / 1.168 GB, free: 7.184 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.672, allocations: 12.03 kB / 1.168 GB, free: 7.172 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001174/0.6732, allocations: 0.846 MB / 1.169 GB, free: 6.316 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002315/0.6755, allocations: 0.8547 MB / 1.17 GB, free: 5.453 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01022/0.6857, allocations: 6.616 MB / 1.176 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002921/0.686, allocations: 464.1 kB / 1.177 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000887/0.6869, allocations: 0.5936 MB / 1.177 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01508/0.702, allocations: 9.028 MB / 1.186 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001076/0.7021, allocations: 23.78 kB / 1.186 GB, free: 4.352 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006115/0.7028, allocations: 264 kB / 1.186 GB, free: 4.094 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001565/0.7029, allocations: 180 kB / 1.186 GB, free: 3.918 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01224/0.7152, allocations: 7.449 MB / 1.194 GB, free: 12.46 MB / 0.9512 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.04306/0.7583, allocations: 35.9 MB / 1.229 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005908/0.7642, allocations: 4.267 MB / 1.233 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004296/0.7685, allocations: 3.32 MB / 1.236 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001211/0.7697, allocations: 0.9544 MB / 1.237 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003472/0.7732, allocations: 2.386 MB / 1.239 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002383/0.7756, allocations: 443.8 kB / 1.24 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=317): time 6.422e-06/0.7756, allocations: 4 kB / 1.24 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of matching and sorting (n=317): time 0.01179/0.7874, allocations: 7.105 MB / 1.247 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.745e-05/0.7875, allocations: 85.91 kB / 1.247 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4512/1.239, allocations: 5.461 MB / 1.252 GB, free: 213.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006089/1.239, allocations: 87.05 kB / 1.252 GB, free: 213.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00344/1.243, allocations: 3.192 MB / 1.255 GB, free: 212 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001588/1.244, allocations: 1.117 MB / 1.257 GB, free: 211.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001362/1.246, allocations: 0.8544 MB / 1.257 GB, free: 210.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.183e-05/1.246, allocations: 306.2 kB / 1.258 GB, free: 210.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00359/1.249, allocations: 2.152 MB / 1.26 GB, free: 209.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004279/1.254, allocations: 3.68 MB / 1.263 GB, free: 207.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007173/1.261, allocations: 6.306 MB / 1.27 GB, free: 203.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.991e-05/1.261, allocations: 15.45 kB / 1.27 GB, free: 203.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01009/1.271, allocations: 6.756 MB / 1.276 GB, free: 200.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.158e-05/1.271, allocations: 57 kB / 1.276 GB, free: 200.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.319e-05/1.271, allocations: 49.5 kB / 1.276 GB, free: 200.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009302/1.272, allocations: 433.4 kB / 1.277 GB, free: 200.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003069/1.275, allocations: 1.001 MB / 1.278 GB, free: 200.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003744/1.279, allocations: 5.274 MB / 1.283 GB, free: 196.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003895/1.283, allocations: 463.2 kB / 1.283 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002599/1.283, allocations: 219.9 kB / 1.283 GB, free: 196.5 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.003089/1.286, allocations: 2.478 MB / 1.286 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009977/1.287, allocations: 0.5282 MB / 1.286 GB, free: 195.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006521/1.294, allocations: 5.251 MB / 1.292 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.28e-05/1.294, allocations: 33.69 kB / 1.292 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.978e-06/1.294, allocations: 7.438 kB / 1.292 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004858/1.299, allocations: 4.52 MB / 1.296 GB, free: 191.2 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.01419/1.313, allocations: 11.95 MB / 1.308 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/1.313, allocations: 4 kB / 1.308 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002266/1.315, allocations: 0.6399 MB / 1.308 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006164/1.316, allocations: 379.7 kB / 1.309 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001668/1.316, allocations: 87.34 kB / 1.309 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003488/1.319, allocations: 5.169 MB / 1.314 GB, free: 174 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.319, allocations: 7.922 kB / 1.314 GB, free: 174 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008322/1.328, allocations: 7.619 MB / 1.321 GB, free: 166.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002468/1.33, allocations: 1.131 MB / 1.322 GB, free: 165.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006618/1.331, allocations: 67.98 kB / 1.322 GB, free: 165.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002868/1.334, allocations: 466.1 kB / 1.323 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003363/1.334, allocations: 202.2 kB / 1.323 GB, free: 164.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002204/1.334, allocations: 143.9 kB / 1.323 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003685/1.338, allocations: 3.807 MB / 1.327 GB, free: 160.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.338, allocations: 0 / 1.327 GB, free: 160.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003976/1.342, allocations: 1.981 MB / 1.329 GB, free: 158.5 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.009159/1.351, allocations: 8.561 MB / 1.337 GB, free: 149.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006079/1.357, allocations: 5.373 MB / 1.342 GB, free: 144.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/1.357, allocations: 448 / 1.342 GB, free: 144.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00249/1.36, allocations: 2.512 MB / 1.345 GB, free: 142 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01089/1.371, allocations: 3.218 MB / 1.348 GB, free: 138.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1081/1.479, allocations: 65.46 MB / 1.412 GB, free: 67.64 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003105/1.482, allocations: 4.624 MB / 1.416 GB, free: 62.99 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.005492/1.488, allocations: 1.997 MB / 1.418 GB, free: 61 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002985/1.491, allocations: 2.667 MB / 1.421 GB, free: 58.33 MB / 0.9981 GB Notification: Performance of SimCode: time 8.51e-07/1.491, allocations: 3.938 kB / 1.421 GB, free: 58.32 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.022/2.513, allocations: 159.2 MB / 1.577 GB, free: 12.26 MB / 1.107 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002552/2.513, allocations: 284.3 kB / 1.577 GB, free: 11.88 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.471/7.984, allocations: 0 / 1.577 GB, free: 11.88 MB / 1.107 GB (rm -f Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)