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.881/2.881, allocations: 287.5 MB / 302.4 MB, free: 8.316 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.002237/0.002236, allocations: 186.9 kB / 371 MB, free: 10.87 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.226/2.226, allocations: 205.4 MB / 0.6297 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.0009716/0.0009712, allocations: 103.6 kB / 0.743 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007076/0.0007078, allocations: 12.55 kB / 0.8658 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2167, allocations: 115.3 MB / 0.9783 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.07118/0.288, allocations: 51.55 MB / 1.029 GB, free: 8.688 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.03355/0.3216, allocations: 16.74 MB / 1.045 GB, free: 7.91 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003175/0.3248, allocations: 63.62 kB / 1.045 GB, free: 7.848 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003443/0.3283, allocations: 0.6287 MB / 1.046 GB, free: 7.215 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.009009/0.3373, allocations: 1.97 MB / 1.048 GB, free: 5.234 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.005584/0.343, allocations: 1.08 MB / 1.049 GB, free: 4.164 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.6959/1.039, allocations: 23.47 MB / 1.072 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01847/1.057, allocations: 7.145 MB / 1.079 GB, free: 27.14 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01543/1.073, allocations: 5.297 MB / 1.084 GB, free: 27.14 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01544/1.088, allocations: 5.483 MB / 1.089 GB, free: 27.12 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.003249/1.092, allocations: 349.2 kB / 1.089 GB, free: 27.12 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009167/1.101, allocations: 0.7788 MB / 1.09 GB, free: 27.12 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.00482/1.106, allocations: 1.525 MB / 1.092 GB, free: 27.12 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.005927/1.112, allocations: 1.599 MB / 1.093 GB, free: 27.09 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01814/1.13, allocations: 10.28 MB / 1.103 GB, free: 26.56 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/1.13, allocations: 0 / 1.103 GB, free: 26.56 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.349e-06/1.13, allocations: 1.828 kB / 1.103 GB, free: 26.56 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0004765/1.13, allocations: 0 / 1.103 GB, free: 26.56 MB / 0.698 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.02571/1.156, allocations: 6.911 MB / 1.11 GB, free: 23.75 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/1.156, allocations: 13.61 kB / 1.11 GB, free: 23.75 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006107/1.162, allocations: 0.8482 MB / 1.111 GB, free: 23.36 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02108/1.184, allocations: 6.35 MB / 1.117 GB, free: 22.54 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007279/1.184, allocations: 461.2 kB / 1.118 GB, free: 22.53 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002955/1.187, allocations: 0.5958 MB / 1.118 GB, free: 22.52 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03204/1.219, allocations: 8.984 MB / 1.127 GB, free: 19.89 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003112/1.22, allocations: 17.62 kB / 1.127 GB, free: 19.89 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002507/1.222, allocations: 265 kB / 1.127 GB, free: 19.89 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002586/1.223, allocations: 176.8 kB / 1.127 GB, free: 19.89 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02488/1.247, allocations: 7.418 MB / 1.135 GB, free: 18.53 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.07768/1.325, allocations: 35.94 MB / 1.17 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01186/1.337, allocations: 4.28 MB / 1.174 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009379/1.347, allocations: 3.381 MB / 1.177 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002278/1.349, allocations: 0.9843 MB / 1.178 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008118/1.357, allocations: 2.378 MB / 1.18 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00504/1.362, allocations: 443.8 kB / 1.181 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=317): time 1.504e-05/1.362, allocations: 2.438 kB / 1.181 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of matching and sorting (n=317): time 0.02554/1.388, allocations: 7.088 MB / 1.188 GB, free: 6.965 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.409e-05/1.388, allocations: 81.91 kB / 1.188 GB, free: 6.871 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01458/1.402, allocations: 5.334 MB / 1.193 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.001013/1.403, allocations: 89.7 kB / 1.193 GB, free: 1.461 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.005261/1.409, allocations: 3.167 MB / 1.196 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.002468/1.411, allocations: 1.116 MB / 1.197 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004942/1.412, allocations: 88 kB / 1.197 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0004428/1.412, allocations: 491.6 kB / 1.198 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006522/1.419, allocations: 2.136 MB / 1.2 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008435/1.427, allocations: 3.68 MB / 1.204 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008493/1.436, allocations: 2.901 MB / 1.206 GB, free: 3.191 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.918e-05/1.436, allocations: 16 kB / 1.206 GB, free: 3.176 MB / 0.7448 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.02165/1.458, allocations: 6.725 MB / 1.213 GB, free: 12.4 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001009/1.458, allocations: 53.7 kB / 1.213 GB, free: 12.34 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.495e-05/1.458, allocations: 50.84 kB / 1.213 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001727/1.46, allocations: 439.2 kB / 1.213 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008052/1.468, allocations: 1.018 MB / 1.214 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009345/1.477, allocations: 5.249 MB / 1.22 GB, free: 5.34 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008977/1.486, allocations: 471.9 kB / 1.22 GB, free: 4.879 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001118/1.487, allocations: 216 kB / 1.22 GB, free: 4.668 MB / 0.7605 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.007784/1.495, allocations: 2.456 MB / 1.223 GB, free: 2.199 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002047/1.497, allocations: 0.521 MB / 1.223 GB, free: 1.672 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01634/1.513, allocations: 5.235 MB / 1.228 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-05/1.514, allocations: 32 kB / 1.228 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.48e-05/1.514, allocations: 4 kB / 1.228 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01254/1.526, allocations: 4.517 MB / 1.233 GB, free: 7.723 MB / 0.7761 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.03828/1.564, allocations: 11.94 MB / 1.244 GB, free: 11.67 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.627e-05/1.565, allocations: 4.125 kB / 1.244 GB, free: 11.67 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005901/1.57, allocations: 0.6515 MB / 1.245 GB, free: 11.02 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00156/1.572, allocations: 383.5 kB / 1.245 GB, free: 10.64 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005204/1.573, allocations: 86.58 kB / 1.245 GB, free: 10.56 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009015/1.582, allocations: 5.169 MB / 1.251 GB, free: 5.129 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/1.582, allocations: 4 kB / 1.251 GB, free: 5.125 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02212/1.604, allocations: 7.581 MB / 1.258 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00566/1.61, allocations: 1.213 MB / 1.259 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002507/1.612, allocations: 63.98 kB / 1.259 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008563/1.621, allocations: 474.8 kB / 1.26 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001093/1.622, allocations: 194.2 kB / 1.26 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006255/1.622, allocations: 143.9 kB / 1.26 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.01205/1.635, allocations: 3.707 MB / 1.264 GB, free: 7.668 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.91e-07/1.635, allocations: 0 / 1.264 GB, free: 7.668 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.01204/1.647, allocations: 1.979 MB / 1.266 GB, free: 5.684 MB / 0.8073 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.002265/1.649, allocations: 470 kB / 1.266 GB, free: 5.25 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01726/1.666, allocations: 5.353 MB / 1.271 GB, free: 15.85 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.649e-05/1.666, allocations: 4.375 kB / 1.271 GB, free: 15.84 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.007584/1.674, allocations: 2.506 MB / 1.274 GB, free: 13.31 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03034/1.704, allocations: 3.23 MB / 1.277 GB, free: 10.12 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0469/1.751, allocations: 16.05 MB / 1.292 GB, free: 10.05 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01387/1.765, allocations: 4.591 MB / 1.297 GB, free: 5.43 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.01471/1.78, allocations: 2.007 MB / 1.299 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00318/1.783, allocations: 459.2 kB / 1.299 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of SimCode: time 1.583e-06/1.783, allocations: 0 / 1.299 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of Templates: time 0.2998/2.083, allocations: 112 MB / 1.409 GB, free: 3.871 MB / 0.948 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)