Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002527/0.002527, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002862/0.002862, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.654/1.654, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.228/3.228, allocations: 389.5 MB / 0.6343 GB, free: 12.62 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.648e-05/2.795e-05, allocations: 2.281 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.6714/0.6714, allocations: 51.21 MB / 1.051 GB, free: 44.56 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.02147/0.6929, allocations: 16.76 MB / 1.067 GB, free: 44.1 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003134/0.696, allocations: 101.6 kB / 1.068 GB, free: 44.1 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.002367/0.6984, allocations: 0.905 MB / 1.068 GB, free: 43.85 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.008255/0.7067, allocations: 2.73 MB / 1.071 GB, free: 42.75 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003968/0.7106, allocations: 1.652 MB / 1.073 GB, free: 42 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.02005/0.7307, allocations: 22.09 MB / 1.094 GB, free: 31.79 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01217/0.7428, allocations: 6.751 MB / 1.101 GB, free: 28.82 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0306/0.7734, allocations: 10.34 MB / 1.111 GB, free: 24.69 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01636/0.7898, allocations: 6.308 MB / 1.117 GB, free: 22.4 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.004489/0.7943, allocations: 0.9377 MB / 1.118 GB, free: 22.4 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0103/0.8046, allocations: 1.594 MB / 1.12 GB, free: 22.16 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.006152/0.8107, allocations: 2.494 MB / 1.122 GB, free: 20.59 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.01673/0.8275, allocations: 3.351 MB / 1.125 GB, free: 19.1 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.02995/0.8574, allocations: 13.5 MB / 1.139 GB, free: 14.39 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 9.718e-06/0.8574, allocations: 1.156 kB / 1.139 GB, free: 14.39 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.236e-06/0.8574, allocations: 3 kB / 1.139 GB, free: 14.39 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0008515/0.8583, allocations: 0 / 1.139 GB, free: 14.39 MB / 0.9948 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.03532/0.8936, allocations: 8.549 MB / 1.147 GB, free: 9.816 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.571e-05/0.8936, allocations: 13.91 kB / 1.147 GB, free: 9.816 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006903/0.9006, allocations: 0.9569 MB / 1.148 GB, free: 9.371 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01811/0.9187, allocations: 6.774 MB / 1.154 GB, free: 6.137 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007171/0.9194, allocations: 456.9 kB / 1.155 GB, free: 5.93 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00377/0.9231, allocations: 0.5995 MB / 1.155 GB, free: 5.727 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03562/0.9588, allocations: 10.1 MB / 1.165 GB, free: 15.07 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005135/0.9593, allocations: 20.67 kB / 1.165 GB, free: 15.06 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003404/0.9627, allocations: 258.3 kB / 1.166 GB, free: 14.87 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000259/0.9629, allocations: 185.8 kB / 1.166 GB, free: 14.85 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02234/0.9853, allocations: 7.444 MB / 1.173 GB, free: 11.03 MB / 1.01 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.06761/1.053, allocations: 26.33 MB / 1.199 GB, free: 1.836 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009196/1.062, allocations: 3.978 MB / 1.203 GB, free: 13.86 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00687/1.069, allocations: 3.045 MB / 1.206 GB, free: 10.81 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001236/1.07, allocations: 198.3 kB / 1.206 GB, free: 10.62 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007333/1.078, allocations: 3.456 MB / 1.209 GB, free: 6.867 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005236/1.083, allocations: 329.8 kB / 1.209 GB, free: 6.543 MB / 1.042 GB Notification: Performance of pre-optimization done (n=317): time 2.54e-05/1.083, allocations: 0 / 1.209 GB, free: 6.543 MB / 1.042 GB Notification: Performance of matching and sorting (n=317): time 0.0199/1.103, allocations: 6.938 MB / 1.216 GB, free: 15.55 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.744e-05/1.103, allocations: 81.91 kB / 1.216 GB, free: 15.46 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01158/1.114, allocations: 4.977 MB / 1.221 GB, free: 10.48 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.001205/1.116, allocations: 89.7 kB / 1.221 GB, free: 10.39 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.004482/1.12, allocations: 3.267 MB / 1.224 GB, free: 7.098 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.00253/1.123, allocations: 1.147 MB / 1.226 GB, free: 5.941 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001719/1.124, allocations: 0.8546 MB / 1.226 GB, free: 5.074 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001618/1.124, allocations: 301.1 kB / 1.227 GB, free: 4.777 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004137/1.129, allocations: 2.196 MB / 1.229 GB, free: 2.566 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006012/1.135, allocations: 3.826 MB / 1.233 GB, free: 14 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01134/1.146, allocations: 6.319 MB / 1.239 GB, free: 6.969 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.755e-05/1.146, allocations: 15.94 kB / 1.239 GB, free: 6.953 MB / 1.073 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.0144/1.16, allocations: 6.761 MB / 1.245 GB, free: 140 kB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001062/1.161, allocations: 53.69 kB / 1.245 GB, free: 80 kB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-05/1.161, allocations: 48 kB / 1.245 GB, free: 32 kB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001149/1.162, allocations: 434.5 kB / 1.246 GB, free: 15.6 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003997/1.166, allocations: 1.006 MB / 1.247 GB, free: 14.59 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007209/1.173, allocations: 5.376 MB / 1.252 GB, free: 9.02 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006749/1.18, allocations: 287.7 kB / 1.252 GB, free: 8.738 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00119/1.181, allocations: 220.1 kB / 1.253 GB, free: 8.523 MB / 1.089 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.007557/1.188, allocations: 2.478 MB / 1.255 GB, free: 6.035 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002521/1.191, allocations: 0.5007 MB / 1.256 GB, free: 5.531 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01044/1.201, allocations: 5.203 MB / 1.261 GB, free: 280 kB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-05/1.201, allocations: 28 kB / 1.261 GB, free: 252 kB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-05/1.201, allocations: 8 kB / 1.261 GB, free: 244 kB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007823/1.209, allocations: 4.53 MB / 1.265 GB, free: 11.61 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02959/1.239, allocations: 10.42 MB / 1.275 GB, free: 1.074 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.745e-05/1.239, allocations: 4.125 kB / 1.275 GB, free: 1.07 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003149/1.242, allocations: 0.6397 MB / 1.276 GB, free: 440 kB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009613/1.243, allocations: 377.2 kB / 1.276 GB, free: 56 kB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003069/1.243, allocations: 88.03 kB / 1.276 GB, free: 15.96 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006817/1.25, allocations: 5.273 MB / 1.281 GB, free: 10.5 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/1.25, allocations: 3.938 kB / 1.281 GB, free: 10.49 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01606/1.266, allocations: 7.675 MB / 1.289 GB, free: 2.719 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005196/1.271, allocations: 1.077 MB / 1.29 GB, free: 1.637 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002316/1.274, allocations: 64 kB / 1.29 GB, free: 1.574 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004802/1.279, allocations: 203.8 kB / 1.29 GB, free: 1.375 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006116/1.279, allocations: 210 kB / 1.29 GB, free: 1.168 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005426/1.28, allocations: 139.9 kB / 1.291 GB, free: 1.031 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.00945/1.289, allocations: 3.38 MB / 1.294 GB, free: 13.66 MB / 1.135 GB Notification: Performance of sort global known variables: time 1e-07/1.289, allocations: 0 / 1.294 GB, free: 13.66 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.01227/1.301, allocations: 2.093 MB / 1.296 GB, free: 11.56 MB / 1.135 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.002253/1.304, allocations: 496.8 kB / 1.296 GB, free: 11.07 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.01263/1.316, allocations: 5.257 MB / 1.302 GB, free: 5.75 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 1.289e-05/1.316, allocations: 5.875 kB / 1.302 GB, free: 5.746 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.005616/1.322, allocations: 2.369 MB / 1.304 GB, free: 3.348 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01661/1.339, allocations: 2.746 MB / 1.307 GB, free: 0.6875 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03583/1.374, allocations: 13.65 MB / 1.32 GB, free: 2.977 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005872/1.38, allocations: 4.141 MB / 1.324 GB, free: 14.79 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.007311/1.388, allocations: 1.906 MB / 1.326 GB, free: 12.89 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001797/1.389, allocations: 432.3 kB / 1.326 GB, free: 12.46 MB / 1.167 GB Notification: Performance of SimCode: time 1.613e-06/1.389, allocations: 0 / 1.326 GB, free: 12.46 MB / 1.167 GB Notification: Performance of Templates: time 0.1953/1.585, allocations: 101.9 MB / 1.426 GB, free: 8.328 MB / 1.26 GB " [Timeout remaining time 298] make -j1 -f Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 13.755549463443458]