Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.513/1.513, allocations: 252 MB / 267 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 182.9 kB / 326.6 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.038/2.038, allocations: 205.4 MB / 0.5777 GB, free: 20.29 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008751/0.0008754, allocations: 99.7 kB / 0.6823 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005567/0.000557, allocations: 9 kB / 0.7964 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3324, allocations: 106.3 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.0785/0.411, allocations: 51.53 MB / 0.9506 GB, free: 12.11 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03708/0.4482, allocations: 16.72 MB / 0.967 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005286/0.4535, allocations: 67.56 kB / 0.967 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.004504/0.4581, allocations: 0.6209 MB / 0.9676 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.01284/0.471, allocations: 1.976 MB / 0.9696 GB, free: 8.676 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.007376/0.4784, allocations: 1.054 MB / 0.9706 GB, free: 7.625 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.03592/0.5143, allocations: 23.48 MB / 0.9935 GB, free: 84 kB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01477/0.5291, allocations: 7.13 MB / 1 GB, free: 8.883 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01384/0.5431, allocations: 5.28 MB / 1.006 GB, free: 3.582 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01298/0.5561, allocations: 5.501 MB / 1.011 GB, free: 14.06 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.002804/0.559, allocations: 348 kB / 1.011 GB, free: 13.72 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007336/0.5663, allocations: 0.7762 MB / 1.012 GB, free: 12.94 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.003982/0.5703, allocations: 1.51 MB / 1.014 GB, free: 11.43 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.006263/0.5766, allocations: 1.603 MB / 1.015 GB, free: 9.812 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01843/0.5951, allocations: 10.21 MB / 1.025 GB, free: 15.58 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.879e-06/0.5952, allocations: 0 / 1.025 GB, free: 15.58 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.458e-06/0.5952, allocations: 0 / 1.025 GB, free: 15.58 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0005954/0.5958, allocations: 0 / 1.025 GB, free: 15.58 MB / 0.6823 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.02171/0.6175, allocations: 6.92 MB / 1.032 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.421e-05/0.6176, allocations: 8.031 kB / 1.032 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004113/0.6217, allocations: 0.8381 MB / 1.033 GB, free: 7.715 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005439/0.6272, allocations: 0.8461 MB / 1.034 GB, free: 6.859 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01746/0.6447, allocations: 6.399 MB / 1.04 GB, free: 408 kB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006415/0.6454, allocations: 460.3 kB / 1.04 GB, free: 15.94 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002919/0.6484, allocations: 0.5937 MB / 1.041 GB, free: 15.35 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02887/0.6773, allocations: 8.88 MB / 1.049 GB, free: 6.172 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004234/0.6778, allocations: 23.77 kB / 1.049 GB, free: 6.148 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002628/0.6804, allocations: 256 kB / 1.05 GB, free: 5.898 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000292/0.6807, allocations: 179.9 kB / 1.05 GB, free: 5.723 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.9534/1.634, allocations: 7.444 MB / 1.057 GB, free: 136.3 MB / 0.698 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.06209/1.696, allocations: 35.1 MB / 1.091 GB, free: 116.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007418/1.704, allocations: 4.407 MB / 1.096 GB, free: 113.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005618/1.709, allocations: 3.421 MB / 1.099 GB, free: 112.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001612/1.711, allocations: 0.9891 MB / 1.1 GB, free: 111.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005401/1.717, allocations: 2.382 MB / 1.102 GB, free: 109.8 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004526/1.721, allocations: 446.1 kB / 1.103 GB, free: 109.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=329): time 2.37e-05/1.721, allocations: 0 / 1.103 GB, free: 109.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=329): time 0.01592/1.737, allocations: 7.203 MB / 1.11 GB, free: 105.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/1.737, allocations: 88.12 kB / 1.11 GB, free: 105.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008337/1.745, allocations: 5.31 MB / 1.115 GB, free: 101.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0009099/1.746, allocations: 89.69 kB / 1.115 GB, free: 101.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002673/1.749, allocations: 3.143 MB / 1.118 GB, free: 97.95 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001828/1.751, allocations: 1.162 MB / 1.119 GB, free: 96.79 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002931/1.751, allocations: 88 kB / 1.119 GB, free: 96.71 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002283/1.752, allocations: 0.4915 MB / 1.12 GB, free: 96.21 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003126/1.755, allocations: 2.167 MB / 1.122 GB, free: 94.04 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003802/1.758, allocations: 3.672 MB / 1.126 GB, free: 89.69 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004421/1.763, allocations: 2.933 MB / 1.129 GB, free: 86.74 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.557e-05/1.763, allocations: 12 kB / 1.129 GB, free: 86.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01283/1.776, allocations: 6.767 MB / 1.135 GB, free: 79.91 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.263e-05/1.776, allocations: 61.72 kB / 1.135 GB, free: 79.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.145e-05/1.776, allocations: 48 kB / 1.135 GB, free: 79.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009662/1.777, allocations: 438.9 kB / 1.136 GB, free: 79.36 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004048/1.781, allocations: 1.018 MB / 1.137 GB, free: 78.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004475/1.786, allocations: 5.248 MB / 1.142 GB, free: 72.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006522/1.792, allocations: 474.5 kB / 1.142 GB, free: 72.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008451/1.793, allocations: 216 kB / 1.142 GB, free: 72.16 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 214 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (548): * Single equations (assignments): 545 * Array equations: 0 * Algorithm blocks: 1 * 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: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004799/1.798, allocations: 2.448 MB / 1.145 GB, free: 69.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001891/1.8, allocations: 0.5211 MB / 1.145 GB, free: 69.18 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008785/1.809, allocations: 5.343 MB / 1.151 GB, free: 63.79 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.032e-05/1.809, allocations: 35.98 kB / 1.151 GB, free: 63.75 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/1.809, allocations: 7.938 kB / 1.151 GB, free: 63.75 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005802/1.814, allocations: 4.595 MB / 1.155 GB, free: 59.05 MB / 0.698 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.02495/1.839, allocations: 12.05 MB / 1.167 GB, free: 46.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.365e-05/1.84, allocations: 3.953 kB / 1.167 GB, free: 46.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002846/1.842, allocations: 0.6711 MB / 1.168 GB, free: 46.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00084/1.843, allocations: 381.2 kB / 1.168 GB, free: 45.86 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004148/1.844, allocations: 83.95 kB / 1.168 GB, free: 45.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004273/1.848, allocations: 5.16 MB / 1.173 GB, free: 40.35 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.848, allocations: 8.062 kB / 1.173 GB, free: 40.34 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01133/1.859, allocations: 7.711 MB / 1.181 GB, free: 32.54 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003816/1.863, allocations: 1.197 MB / 1.182 GB, free: 31.32 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001596/1.865, allocations: 71.98 kB / 1.182 GB, free: 31.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005011/1.87, allocations: 473.5 kB / 1.182 GB, free: 30.79 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000666/1.871, allocations: 206.4 kB / 1.182 GB, free: 30.58 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003413/1.871, allocations: 135.9 kB / 1.183 GB, free: 30.45 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.005794/1.877, allocations: 3.69 MB / 1.186 GB, free: 26.78 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.723e-06/1.877, allocations: 0 / 1.186 GB, free: 26.78 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.007513/1.884, allocations: 1.99 MB / 1.188 GB, free: 24.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 20 (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,HIn_flow.h_out,HOut_flow.h_out,HInEnh_flow.h_out,HOutEnh_flow.h_out,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 (308): * Single equations (assignments): 301 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01313/1.897, allocations: 8.643 MB / 1.197 GB, free: 16.11 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00839/1.906, allocations: 5.423 MB / 1.202 GB, free: 10.63 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/1.906, allocations: 4.125 kB / 1.202 GB, free: 10.63 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00371/1.91, allocations: 2.549 MB / 1.204 GB, free: 8.051 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01724/1.927, allocations: 3.233 MB / 1.207 GB, free: 4.883 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1539/2.081, allocations: 50.97 MB / 1.257 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008572/2.089, allocations: 4.599 MB / 1.262 GB, free: 9.977 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.009521/2.099, allocations: 1.992 MB / 1.264 GB, free: 7.988 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007089/2.106, allocations: 2.651 MB / 1.266 GB, free: 5.336 MB / 0.7605 GB Notification: Performance of SimCode: time 2.475e-06/2.106, allocations: 0 / 1.266 GB, free: 5.336 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7361/2.842, allocations: 168.1 MB / 1.43 GB, free: 270.4 MB / 0.8699 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001798/2.843, allocations: 276.9 kB / 1.431 GB, free: 270.1 MB / 0.8699 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.718/9.561, allocations: 6.031 kB / 1.431 GB, free: 270.1 MB / 0.8699 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)