Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.841/2.841, allocations: 287.3 MB / 302.3 MB, free: 8.238 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.001514/0.001514, allocations: 182.9 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.05/2.05, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001141/0.001141, allocations: 94.25 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004831/0.0004834, allocations: 12.31 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.2151, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06997/0.2851, allocations: 46.83 MB / 1.024 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.03383/0.319, allocations: 15.47 MB / 1.039 GB, free: 13.94 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002881/0.322, allocations: 63.62 kB / 1.039 GB, free: 13.88 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004251/0.3263, allocations: 0.8161 MB / 1.04 GB, free: 13.05 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.009886/0.3362, allocations: 2.124 MB / 1.042 GB, free: 10.93 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.007528/0.3438, allocations: 1.577 MB / 1.044 GB, free: 9.371 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.024/0.3678, allocations: 11.34 MB / 1.055 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01638/0.3842, allocations: 7.158 MB / 1.062 GB, free: 6.785 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01236/0.3967, allocations: 4.473 MB / 1.066 GB, free: 2.297 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6792/1.076, allocations: 3.848 MB / 1.07 GB, free: 16.86 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.003423/1.079, allocations: 347.1 kB / 1.07 GB, free: 16.86 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008012/1.087, allocations: 0.8343 MB / 1.071 GB, free: 16.86 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.005078/1.093, allocations: 1.467 MB / 1.072 GB, free: 16.86 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.005665/1.098, allocations: 1.6 MB / 1.074 GB, free: 16.83 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.02124/1.12, allocations: 10.23 MB / 1.084 GB, free: 16.24 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/1.12, allocations: 0 / 1.084 GB, free: 16.24 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.066e-06/1.12, allocations: 1.062 kB / 1.084 GB, free: 16.24 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0005543/1.12, allocations: 0 / 1.084 GB, free: 16.24 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.03251/1.153, allocations: 6.901 MB / 1.091 GB, free: 13.47 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/1.153, allocations: 11.19 kB / 1.091 GB, free: 13.47 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007596/1.16, allocations: 0.8492 MB / 1.091 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0325/1.193, allocations: 5.911 MB / 1.097 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001165/1.194, allocations: 458.9 kB / 1.098 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004922/1.199, allocations: 0.6063 MB / 1.098 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05071/1.25, allocations: 8.927 MB / 1.107 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006776/1.251, allocations: 28.62 kB / 1.107 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00445/1.255, allocations: 260.2 kB / 1.107 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004492/1.256, allocations: 182.3 kB / 1.107 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03779/1.294, allocations: 7.417 MB / 1.115 GB, free: 10.62 MB / 0.6823 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.08789/1.381, allocations: 36.2 MB / 1.15 GB, free: 4.293 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01259/1.394, allocations: 4.323 MB / 1.154 GB, free: 3.547 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002292/1.396, allocations: 0.9821 MB / 1.155 GB, free: 2.547 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008496/1.405, allocations: 2.393 MB / 1.157 GB, free: 1.75 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005498/1.411, allocations: 473.5 kB / 1.158 GB, free: 1.426 MB / 0.698 GB Notification: Performance of pre-optimization done (n=317): time 2.048e-05/1.411, allocations: 4 kB / 1.158 GB, free: 1.422 MB / 0.698 GB Notification: Performance of matching and sorting (n=317): time 0.0272/1.438, allocations: 7.143 MB / 1.165 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/1.438, allocations: 86.22 kB / 1.165 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01741/1.455, allocations: 5.748 MB / 1.171 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.001227/1.457, allocations: 97.69 kB / 1.171 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.005994/1.463, allocations: 3.162 MB / 1.174 GB, free: 5.457 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.002906/1.466, allocations: 1.113 MB / 1.175 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007249/1.466, allocations: 92 kB / 1.175 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0005303/1.467, allocations: 487.6 kB / 1.175 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007393/1.474, allocations: 2.166 MB / 1.178 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009404/1.484, allocations: 3.682 MB / 1.181 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009444/1.493, allocations: 2.919 MB / 1.184 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.923e-05/1.494, allocations: 12 kB / 1.184 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.02457/1.518, allocations: 6.766 MB / 1.191 GB, free: 3.824 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001083/1.518, allocations: 53.69 kB / 1.191 GB, free: 3.766 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001003/1.518, allocations: 55.95 kB / 1.191 GB, free: 3.711 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0019/1.52, allocations: 434.8 kB / 1.191 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008972/1.529, allocations: 1.058 MB / 1.192 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01055/1.54, allocations: 5.318 MB / 1.197 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01026/1.55, allocations: 486.8 kB / 1.198 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001509/1.552, allocations: 216 kB / 1.198 GB, free: 12.08 MB / 0.7448 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 ($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 (540): * Single equations (assignments): 537 * 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.00923/1.561, allocations: 2.456 MB / 1.2 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002742/1.564, allocations: 0.525 MB / 1.201 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01977/1.584, allocations: 5.279 MB / 1.206 GB, free: 3.836 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.051e-05/1.584, allocations: 32 kB / 1.206 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-05/1.584, allocations: 4 kB / 1.206 GB, free: 3.801 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0145/1.598, allocations: 4.555 MB / 1.211 GB, free: 15.16 MB / 0.7605 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.0425/1.641, allocations: 12.16 MB / 1.222 GB, free: 2.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-05/1.641, allocations: 0 / 1.222 GB, free: 2.91 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006283/1.647, allocations: 0.6261 MB / 1.223 GB, free: 2.309 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001669/1.649, allocations: 375.4 kB / 1.223 GB, free: 1.941 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008989/1.65, allocations: 83.95 kB / 1.224 GB, free: 1.859 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00919/1.659, allocations: 5.236 MB / 1.229 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/1.659, allocations: 0 / 1.229 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02364/1.683, allocations: 7.766 MB / 1.236 GB, free: 4.535 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007379/1.69, allocations: 1.303 MB / 1.237 GB, free: 3.207 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002966/1.693, allocations: 63.98 kB / 1.238 GB, free: 3.145 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009598/1.703, allocations: 443.1 kB / 1.238 GB, free: 2.715 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001337/1.704, allocations: 198.2 kB / 1.238 GB, free: 2.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007994/1.705, allocations: 147.9 kB / 1.238 GB, free: 2.375 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.01269/1.718, allocations: 4.035 MB / 1.242 GB, free: 14.36 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.272e-06/1.718, allocations: 0 / 1.242 GB, free: 14.36 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.01278/1.731, allocations: 2.003 MB / 1.244 GB, free: 12.35 MB / 0.7917 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 (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.002485/1.733, allocations: 495 kB / 1.245 GB, free: 11.92 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01653/1.75, allocations: 5.391 MB / 1.25 GB, free: 6.633 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-05/1.75, allocations: 4 kB / 1.25 GB, free: 6.629 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.007969/1.758, allocations: 2.513 MB / 1.252 GB, free: 4.145 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02785/1.786, allocations: 3.166 MB / 1.255 GB, free: 1.027 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04538/1.831, allocations: 16.03 MB / 1.271 GB, free: 0.9922 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01099/1.842, allocations: 4.711 MB / 1.276 GB, free: 12.25 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.01387/1.856, allocations: 2.062 MB / 1.278 GB, free: 10.19 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003372/1.86, allocations: 458.1 kB / 1.278 GB, free: 9.746 MB / 0.823 GB Notification: Performance of SimCode: time 1.443e-06/1.86, allocations: 3.938 kB / 1.278 GB, free: 9.742 MB / 0.823 GB Notification: Performance of Templates: time 0.3152/2.175, allocations: 113.6 MB / 1.389 GB, free: 9.328 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)