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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001816/0.001816, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001757/0.001757, allocations: 190.5 kB / 16.25 MB, free: 6.645 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.215/1.215, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.246/2.246, allocations: 437.1 MB / 0.7101 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 71.83 kB / 0.8689 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4465/0.4482, allocations: 151.6 MB / 1.017 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05088/0.4991, allocations: 55.54 MB / 1.071 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02028/0.5194, allocations: 17.79 MB / 1.089 GB, free: 9.145 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001374/0.5208, allocations: 75.5 kB / 1.089 GB, free: 9.07 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001637/0.5225, allocations: 0.7576 MB / 1.089 GB, free: 8.309 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004283/0.5268, allocations: 2.329 MB / 1.092 GB, free: 5.969 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002577/0.5294, allocations: 1.399 MB / 1.093 GB, free: 4.578 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01867/0.5481, allocations: 21.35 MB / 1.114 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01102/0.5591, allocations: 10.57 MB / 1.124 GB, free: 4.477 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01198/0.5711, allocations: 7.212 MB / 1.131 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007567/0.5787, allocations: 6.557 MB / 1.138 GB, free: 6.703 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.00116/0.5798, allocations: 0.9297 MB / 1.139 GB, free: 5.773 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003099/0.5829, allocations: 1.69 MB / 1.14 GB, free: 4.082 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001986/0.5849, allocations: 2.326 MB / 1.142 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.00476/0.5897, allocations: 4.699 MB / 1.147 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01111/0.6008, allocations: 13 MB / 1.16 GB, free: 15.99 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.6008, allocations: 0 / 1.16 GB, free: 15.99 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6008, allocations: 3.938 kB / 1.16 GB, free: 15.98 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001164/0.601, allocations: 4 kB / 1.16 GB, free: 15.98 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.01254/0.6135, allocations: 8.491 MB / 1.168 GB, free: 7.398 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.6135, allocations: 12.02 kB / 1.168 GB, free: 7.387 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001031/0.6146, allocations: 0.8422 MB / 1.169 GB, free: 6.535 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002017/0.6166, allocations: 0.8586 MB / 1.17 GB, free: 5.668 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00902/0.6256, allocations: 6.61 MB / 1.176 GB, free: 15 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003234/0.626, allocations: 460.2 kB / 1.177 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007945/0.6268, allocations: 0.6014 MB / 1.177 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01268/0.6395, allocations: 9.032 MB / 1.186 GB, free: 4.574 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001052/0.6396, allocations: 19.78 kB / 1.186 GB, free: 4.555 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005346/0.6401, allocations: 256 kB / 1.186 GB, free: 4.305 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001568/0.6403, allocations: 188 kB / 1.186 GB, free: 4.121 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01057/0.6508, allocations: 7.449 MB / 1.194 GB, free: 12.66 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.03757/0.6884, allocations: 35.91 MB / 1.229 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00559/0.694, allocations: 4.275 MB / 1.233 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004234/0.6983, allocations: 3.308 MB / 1.236 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001198/0.6995, allocations: 0.9583 MB / 1.237 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003437/0.7029, allocations: 2.39 MB / 1.239 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001748/0.7047, allocations: 407.8 kB / 1.24 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=317): time 4.779e-06/0.7047, allocations: 0 / 1.24 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of matching and sorting (n=317): time 0.01104/0.7158, allocations: 7.136 MB / 1.247 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.99e-05/0.7158, allocations: 89.84 kB / 1.247 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.367/1.083, allocations: 5.458 MB / 1.252 GB, free: 214.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006423/1.083, allocations: 85.92 kB / 1.252 GB, free: 214.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002642/1.086, allocations: 3.2 MB / 1.255 GB, free: 213.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001218/1.087, allocations: 1.115 MB / 1.257 GB, free: 212.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001121/1.088, allocations: 0.8574 MB / 1.257 GB, free: 211.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.326e-05/1.089, allocations: 305.9 kB / 1.258 GB, free: 211.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002989/1.092, allocations: 2.162 MB / 1.26 GB, free: 210.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003456/1.095, allocations: 3.696 MB / 1.263 GB, free: 208.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006661/1.102, allocations: 6.323 MB / 1.27 GB, free: 204.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-05/1.102, allocations: 14.72 kB / 1.27 GB, free: 204.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.008738/1.11, allocations: 6.78 MB / 1.276 GB, free: 201.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.096e-05/1.11, allocations: 57.28 kB / 1.276 GB, free: 201.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.603e-05/1.111, allocations: 49.28 kB / 1.276 GB, free: 201.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008175/1.111, allocations: 435.8 kB / 1.277 GB, free: 201.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002956/1.114, allocations: 1.005 MB / 1.278 GB, free: 201.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003699/1.118, allocations: 5.701 MB / 1.283 GB, free: 197.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003593/1.122, allocations: 473 kB / 1.284 GB, free: 197.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002454/1.122, allocations: 213.6 kB / 1.284 GB, free: 197.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.002581/1.124, allocations: 2.48 MB / 1.286 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006164/1.125, allocations: 0.5323 MB / 1.287 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005858/1.131, allocations: 5.27 MB / 1.292 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/1.131, allocations: 31.53 kB / 1.292 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/1.131, allocations: 7.438 kB / 1.292 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004439/1.135, allocations: 4.533 MB / 1.296 GB, free: 192 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01203/1.147, allocations: 11.95 MB / 1.308 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/1.148, allocations: 0 / 1.308 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002206/1.15, allocations: 0.6438 MB / 1.309 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005761/1.15, allocations: 385.8 kB / 1.309 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000168/1.15, allocations: 87.95 kB / 1.309 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003415/1.154, allocations: 5.615 MB / 1.315 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.154, allocations: 4 kB / 1.315 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00719/1.161, allocations: 7.759 MB / 1.322 GB, free: 167 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001494/1.163, allocations: 1.135 MB / 1.323 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005461/1.163, allocations: 63.98 kB / 1.323 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00277/1.166, allocations: 459 kB / 1.324 GB, free: 165.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003042/1.166, allocations: 202.1 kB / 1.324 GB, free: 165.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002085/1.166, allocations: 147.9 kB / 1.324 GB, free: 165 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003284/1.17, allocations: 3.803 MB / 1.328 GB, free: 161.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.21e-07/1.17, allocations: 0 / 1.328 GB, free: 161.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003517/1.173, allocations: 1.996 MB / 1.33 GB, free: 159.2 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.008124/1.181, allocations: 8.703 MB / 1.338 GB, free: 150.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01572/1.197, allocations: 11.62 MB / 1.35 GB, free: 138.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/1.197, allocations: 4 kB / 1.35 GB, free: 138.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002331/1.199, allocations: 2.551 MB / 1.352 GB, free: 136.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00967/1.209, allocations: 3.393 MB / 1.356 GB, free: 133 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09927/1.308, allocations: 65.65 MB / 1.42 GB, free: 61.55 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003001/1.311, allocations: 4.632 MB / 1.424 GB, free: 56.89 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004693/1.316, allocations: 2.041 MB / 1.426 GB, free: 54.85 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002576/1.319, allocations: 2.67 MB / 1.429 GB, free: 52.18 MB / 0.9981 GB Notification: Performance of SimCode: time 4.41e-07/1.319, allocations: 0 / 1.429 GB, free: 52.18 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.592/4.911, allocations: 163.1 MB / 1.588 GB, free: 2.285 MB / 1.107 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004976/4.912, allocations: 272.6 kB / 1.588 GB, free: 1.91 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.825/11.74, allocations: 0 / 1.588 GB, free: 1.91 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=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)