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.001861/0.001861, allocations: 108.3 kB / 19.72 MB, free: 416 kB / 13.93 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.002114/0.002114, allocations: 220 kB / 23.02 MB, free: 2.953 MB / 13.93 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.742/1.742, allocations: 230.6 MB / 256.8 MB, free: 9.605 MB / 202.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.461/3.461, allocations: 0.5045 GB / 0.8104 GB, free: 2.793 MB / 0.6511 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 0.003903/0.003903, allocations: 67.89 kB / 1.177 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9042/0.9081, allocations: 180 MB / 1.353 GB, free: 1.641 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.07118/0.9793, allocations: 51.63 MB / 1.403 GB, free: 13.82 MB / 1.089 GB Notification: Performance of NFInst.instExpressions: time 0.03094/1.01, allocations: 16.81 MB / 1.42 GB, free: 12.96 MB / 1.104 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003772/1.014, allocations: 107.1 kB / 1.42 GB, free: 12.86 MB / 1.104 GB Notification: Performance of NFTyping.typeComponents: time 0.003713/1.018, allocations: 0.9041 MB / 1.421 GB, free: 11.95 MB / 1.104 GB Notification: Performance of NFTyping.typeBindings: time 0.009689/1.027, allocations: 2.653 MB / 1.423 GB, free: 9.285 MB / 1.104 GB Notification: Performance of NFTyping.typeClassSections: time 0.005206/1.033, allocations: 1.555 MB / 1.425 GB, free: 7.738 MB / 1.104 GB Notification: Performance of NFFlatten.flatten: time 0.02903/1.062, allocations: 22 MB / 1.446 GB, free: 1.688 MB / 1.12 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01294/1.075, allocations: 6.724 MB / 1.453 GB, free: 10.86 MB / 1.135 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0222/1.097, allocations: 7.579 MB / 1.46 GB, free: 3.301 MB / 1.135 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0167/1.113, allocations: 6.885 MB / 1.467 GB, free: 12.39 MB / 1.151 GB Notification: Performance of NFPackage.collectConstants: time 0.004149/1.118, allocations: 0.9375 MB / 1.468 GB, free: 11.45 MB / 1.151 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008701/1.126, allocations: 1.577 MB / 1.469 GB, free: 9.875 MB / 1.151 GB Notification: Performance of NFScalarize.scalarize: time 0.006138/1.132, allocations: 2.441 MB / 1.472 GB, free: 7.426 MB / 1.151 GB Notification: Performance of NFVerifyModel.verify: time 0.01314/1.146, allocations: 3.876 MB / 1.476 GB, free: 3.535 MB / 1.151 GB Notification: Performance of NFConvertDAE.convert: time 0.02799/1.174, allocations: 13.34 MB / 1.489 GB, free: 6.148 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 9.297e-06/1.174, allocations: 0 / 1.489 GB, free: 6.148 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.595e-06/1.174, allocations: 0 / 1.489 GB, free: 6.148 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0006637/1.174, allocations: 4 kB / 1.489 GB, free: 6.145 MB / 1.167 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.03311/1.207, allocations: 8.629 MB / 1.497 GB, free: 13.43 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 6.705e-05/1.207, allocations: 8.922 kB / 1.497 GB, free: 13.42 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008332/1.216, allocations: 0.9566 MB / 1.498 GB, free: 12.46 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01987/1.236, allocations: 6.767 MB / 1.505 GB, free: 5.613 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009166/1.237, allocations: 461.3 kB / 1.505 GB, free: 5.16 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004582/1.241, allocations: 0.6014 MB / 1.506 GB, free: 4.559 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03712/1.278, allocations: 10.1 MB / 1.516 GB, free: 9.875 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004465/1.279, allocations: 23.83 kB / 1.516 GB, free: 9.852 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002889/1.282, allocations: 263.9 kB / 1.516 GB, free: 9.594 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003139/1.282, allocations: 187.9 kB / 1.516 GB, free: 9.41 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.022/1.304, allocations: 7.449 MB / 1.523 GB, free: 1.953 MB / 1.198 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.06624/1.37, allocations: 26.36 MB / 1.549 GB, free: 7.148 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009007/1.379, allocations: 3.972 MB / 1.553 GB, free: 3.172 MB / 1.229 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006501/1.386, allocations: 3.034 MB / 1.556 GB, free: 136 kB / 1.229 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001227/1.387, allocations: 198.3 kB / 1.556 GB, free: 15.94 MB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006551/1.393, allocations: 3.456 MB / 1.559 GB, free: 12.19 MB / 1.245 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00327/1.397, allocations: 325.8 kB / 1.56 GB, free: 11.87 MB / 1.245 GB Notification: Performance of pre-optimization done (n=317): time 1.607e-05/1.397, allocations: 0 / 1.56 GB, free: 11.87 MB / 1.245 GB Notification: Performance of matching and sorting (n=317): time 0.01873/1.415, allocations: 6.954 MB / 1.567 GB, free: 4.863 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/1.416, allocations: 85.89 kB / 1.567 GB, free: 4.766 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01292/1.428, allocations: 4.969 MB / 1.571 GB, free: 15.79 MB / 1.26 GB Notification: Performance of collectPreVariables (initialization): time 0.001081/1.43, allocations: 89.7 kB / 1.572 GB, free: 15.7 MB / 1.26 GB Notification: Performance of collectInitialEqns (initialization): time 0.005083/1.435, allocations: 3.275 MB / 1.575 GB, free: 12.4 MB / 1.26 GB Notification: Performance of collectInitialBindings (initialization): time 0.002772/1.437, allocations: 1.17 MB / 1.576 GB, free: 11.22 MB / 1.26 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003651/1.441, allocations: 0.8586 MB / 1.577 GB, free: 10.35 MB / 1.26 GB Notification: Performance of setup shared object (initialization): time 0.0001938/1.441, allocations: 309.1 kB / 1.577 GB, free: 10.04 MB / 1.26 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005258/1.447, allocations: 2.189 MB / 1.579 GB, free: 7.84 MB / 1.26 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007018/1.454, allocations: 3.822 MB / 1.583 GB, free: 3.285 MB / 1.26 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01282/1.466, allocations: 6.323 MB / 1.589 GB, free: 12.25 MB / 1.276 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.502e-05/1.466, allocations: 20 kB / 1.589 GB, free: 12.23 MB / 1.276 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01867/1.485, allocations: 6.757 MB / 1.596 GB, free: 5.414 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001268/1.485, allocations: 57.7 kB / 1.596 GB, free: 5.352 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001182/1.485, allocations: 48 kB / 1.596 GB, free: 5.305 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001267/1.487, allocations: 436.7 kB / 1.596 GB, free: 4.875 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004789/1.491, allocations: 1.01 MB / 1.597 GB, free: 3.863 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007821/1.499, allocations: 5.363 MB / 1.602 GB, free: 14.29 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006064/1.505, allocations: 287.7 kB / 1.603 GB, free: 14.01 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001284/1.507, allocations: 220 kB / 1.603 GB, free: 13.8 MB / 1.292 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.0075/1.514, allocations: 2.489 MB / 1.605 GB, free: 11.3 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002912/1.517, allocations: 496.9 kB / 1.606 GB, free: 10.81 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01428/1.531, allocations: 5.198 MB / 1.611 GB, free: 5.555 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-05/1.531, allocations: 32 kB / 1.611 GB, free: 5.523 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.074e-05/1.531, allocations: 11.98 kB / 1.611 GB, free: 5.512 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009531/1.541, allocations: 4.52 MB / 1.615 GB, free: 0.8867 MB / 1.292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03158/1.572, allocations: 10.45 MB / 1.626 GB, free: 6.332 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.747e-05/1.572, allocations: 4 kB / 1.626 GB, free: 6.328 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003447/1.576, allocations: 0.6438 MB / 1.626 GB, free: 5.684 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001079/1.577, allocations: 365.4 kB / 1.627 GB, free: 5.32 MB / 1.307 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006752/1.578, allocations: 87.89 kB / 1.627 GB, free: 5.234 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007239/1.585, allocations: 5.268 MB / 1.632 GB, free: 15.77 MB / 1.323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/1.585, allocations: 8.062 kB / 1.632 GB, free: 15.76 MB / 1.323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01807/1.603, allocations: 7.675 MB / 1.639 GB, free: 7.988 MB / 1.323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004287/1.607, allocations: 1.073 MB / 1.64 GB, free: 6.914 MB / 1.323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00189/1.609, allocations: 67.98 kB / 1.64 GB, free: 6.848 MB / 1.323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004122/1.613, allocations: 199.7 kB / 1.641 GB, free: 6.652 MB / 1.323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008221/1.614, allocations: 210.1 kB / 1.641 GB, free: 6.445 MB / 1.323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007401/1.615, allocations: 135.9 kB / 1.641 GB, free: 6.312 MB / 1.323 GB Notification: Performance of sorting global known variables: time 0.008538/1.623, allocations: 3.38 MB / 1.644 GB, free: 2.938 MB / 1.323 GB Notification: Performance of sort global known variables: time 2e-07/1.623, allocations: 4 kB / 1.644 GB, free: 2.934 MB / 1.323 GB Notification: Performance of remove unused functions: time 0.0097/1.633, allocations: 2.089 MB / 1.646 GB, free: 0.8398 MB / 1.323 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.001997/1.635, allocations: 486.8 kB / 1.647 GB, free: 364 kB / 1.323 GB Notification: Performance of simCode: created initialization part: time 0.01239/1.647, allocations: 5.258 MB / 1.652 GB, free: 11.04 MB / 1.339 GB Notification: Performance of simCode: created event and clocks part: time 1.808e-05/1.648, allocations: 8.656 kB / 1.652 GB, free: 11.03 MB / 1.339 GB Notification: Performance of simCode: created simulation system equations: time 0.005739/1.653, allocations: 2.373 MB / 1.654 GB, free: 8.625 MB / 1.339 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01689/1.67, allocations: 2.744 MB / 1.657 GB, free: 5.965 MB / 1.339 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03823/1.708, allocations: 13.96 MB / 1.67 GB, free: 7.934 MB / 1.354 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01023/1.719, allocations: 4.145 MB / 1.675 GB, free: 3.75 MB / 1.354 GB Notification: Performance of simCode: alias equations: time 0.008845/1.727, allocations: 1.9 MB / 1.676 GB, free: 1.852 MB / 1.354 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002726/1.73, allocations: 431.3 kB / 1.677 GB, free: 1.43 MB / 1.354 GB Notification: Performance of SimCode: time 1.813e-06/1.73, allocations: 3.938 kB / 1.677 GB, free: 1.426 MB / 1.354 GB Notification: Performance of Templates: time 1.076/2.806, allocations: 112.8 MB / 1.787 GB, free: 276.4 MB / 1.385 GB " [Timeout remaining time 297] 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: 15.234280338510871]