Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0009256/0.0009256, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.0008979/0.0008979, allocations: 173 kB / 24.06 MB, free: 452 kB / 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 0.9501/0.9501, allocations: 177.1 MB / 204.5 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002041/0.002041, allocations: 241.3 kB / 261.3 MB, free: 12.67 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.772/0.772, allocations: 138.4 MB / 456.3 MB, free: 1.438 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 3.938 kB / 0.5563 GB, free: 284 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.526e-05/1.652e-05, allocations: 10.25 kB / 0.5564 GB, free: 272 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.01185/0.01187, allocations: 16.28 MB / 0.5723 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.008658/0.02053, allocations: 6.043 MB / 0.5782 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001149/0.02168, allocations: 103.2 kB / 0.5783 GB, free: 9.754 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.02268, allocations: 0.5271 MB / 0.5788 GB, free: 9.223 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.003003/0.02569, allocations: 1.829 MB / 0.5806 GB, free: 7.379 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002403/0.02809, allocations: 1.482 MB / 0.582 GB, free: 5.895 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.01409/0.04218, allocations: 21.77 MB / 0.6033 GB, free: 60 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2482/0.2904, allocations: 7.366 MB / 0.6105 GB, free: 62.2 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01543/0.3058, allocations: 10.08 MB / 0.6203 GB, free: 62.18 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01257/0.3184, allocations: 6.541 MB / 0.6267 GB, free: 62.18 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.003159/0.3215, allocations: 0.9226 MB / 0.6276 GB, free: 62.18 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004877/0.3264, allocations: 1.183 MB / 0.6287 GB, free: 62.18 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.00244/0.3288, allocations: 2.493 MB / 0.6312 GB, free: 61.54 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.00773/0.3366, allocations: 3.315 MB / 0.6344 GB, free: 60.56 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.007634/0.3442, allocations: 7.959 MB / 0.6422 GB, free: 57.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3442, allocations: 3.75 kB / 0.6422 GB, free: 57.9 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.704e-06/0.3442, allocations: 1.25 kB / 0.6422 GB, free: 57.9 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001058/0.3443, allocations: 3.938 kB / 0.6422 GB, free: 57.89 MB / 0.5105 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.007666/0.352, allocations: 8.592 MB / 0.6506 GB, free: 53.4 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.352, allocations: 13.22 kB / 0.6506 GB, free: 53.4 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002065/0.3541, allocations: 1.507 MB / 0.6521 GB, free: 52.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004501/0.3586, allocations: 5.114 MB / 0.6571 GB, free: 50.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000164/0.3588, allocations: 461.8 kB / 0.6575 GB, free: 50.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005463/0.3593, allocations: 0.6092 MB / 0.6581 GB, free: 49.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004889/0.3642, allocations: 6.15 MB / 0.6641 GB, free: 46.21 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.571e-05/0.3643, allocations: 22.58 kB / 0.6641 GB, free: 46.21 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003788/0.3647, allocations: 263.5 kB / 0.6644 GB, free: 46.02 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.996e-05/0.3648, allocations: 184 kB / 0.6646 GB, free: 46 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002329/0.3671, allocations: 1.956 MB / 0.6665 GB, free: 44.54 MB / 0.5105 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.018/0.3851, allocations: 26.7 MB / 0.6925 GB, free: 18.87 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001563/0.3866, allocations: 1.644 MB / 0.6941 GB, free: 17.34 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001165/0.3878, allocations: 1.321 MB / 0.6954 GB, free: 16.04 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000387/0.3882, allocations: 162.3 kB / 0.6956 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001208/0.3894, allocations: 2.093 MB / 0.6976 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001389/0.3908, allocations: 317.8 kB / 0.6979 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=317): time 5.56e-06/0.3908, allocations: 0 / 0.6979 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=317): time 0.003683/0.3945, allocations: 2.893 MB / 0.7008 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.3945, allocations: 85.91 kB / 0.7008 GB, free: 10.22 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002873/0.3974, allocations: 4.103 MB / 0.7048 GB, free: 6.723 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001583/0.3976, allocations: 85.7 kB / 0.7049 GB, free: 6.633 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001563/0.3991, allocations: 3.542 MB / 0.7084 GB, free: 3.266 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005733/0.3997, allocations: 1.223 MB / 0.7096 GB, free: 2.109 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007764/0.4005, allocations: 0.951 MB / 0.7105 GB, free: 1.234 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.829e-05/0.4005, allocations: 476.8 kB / 0.711 GB, free: 0.7656 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006234/0.4011, allocations: 0.5216 MB / 0.7115 GB, free: 236 kB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001881/0.403, allocations: 2.894 MB / 0.7143 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003017/0.406, allocations: 3.725 MB / 0.7179 GB, free: 8.09 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.815e-05/0.4061, allocations: 12 kB / 0.718 GB, free: 8.078 MB / 0.5261 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.004153/0.4102, allocations: 3.537 MB / 0.7214 GB, free: 4.602 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.964e-05/0.4103, allocations: 49.7 kB / 0.7215 GB, free: 4.547 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-05/0.4103, allocations: 48 kB / 0.7215 GB, free: 4.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/0.4113, allocations: 402.7 kB / 0.7219 GB, free: 4.105 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001876/0.4132, allocations: 0.9555 MB / 0.7228 GB, free: 3.148 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002979/0.4162, allocations: 5.147 MB / 0.7278 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001937/0.4181, allocations: 182.2 kB / 0.728 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000213/0.4183, allocations: 180 kB / 0.7282 GB, free: 13.49 MB / 0.5417 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.001483/0.4198, allocations: 451.6 kB / 0.7286 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006803/0.4205, allocations: 0.5945 MB / 0.7292 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003004/0.4235, allocations: 2.376 MB / 0.7315 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.219e-05/0.4235, allocations: 39.98 kB / 0.7316 GB, free: 9.992 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.4235, allocations: 4 kB / 0.7316 GB, free: 9.988 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001957/0.4255, allocations: 1.785 MB / 0.7333 GB, free: 8.105 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008124/0.4336, allocations: 6.25 MB / 0.7394 GB, free: 2.027 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/0.4336, allocations: 0 / 0.7394 GB, free: 2.027 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001427/0.4351, allocations: 0.5774 MB / 0.74 GB, free: 1.449 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009973/0.4361, allocations: 344.9 kB / 0.7403 GB, free: 1.105 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001421/0.4362, allocations: 79.95 kB / 0.7404 GB, free: 1.027 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002946/0.4391, allocations: 5.071 MB / 0.7453 GB, free: 11.74 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.4391, allocations: 4 kB / 0.7453 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003737/0.4429, allocations: 3.079 MB / 0.7483 GB, free: 8.547 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001524/0.4444, allocations: 0.8709 MB / 0.7492 GB, free: 7.676 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003994/0.4448, allocations: 67.98 kB / 0.7493 GB, free: 7.609 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001191/0.446, allocations: 112.2 kB / 0.7494 GB, free: 7.504 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002807/0.4463, allocations: 210 kB / 0.7496 GB, free: 7.297 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001754/0.4465, allocations: 119.9 kB / 0.7497 GB, free: 7.18 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001854/0.4483, allocations: 1.978 MB / 0.7516 GB, free: 5.207 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.6e-07/0.4483, allocations: 0 / 0.7516 GB, free: 5.207 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004028/0.4523, allocations: 2.007 MB / 0.7536 GB, free: 3.195 MB / 0.5573 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.0005128/0.4528, allocations: 286.6 kB / 0.7538 GB, free: 2.902 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003153/0.456, allocations: 2.769 MB / 0.7565 GB, free: 60 kB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.456, allocations: 8 kB / 0.7566 GB, free: 52 kB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001248/0.4573, allocations: 1.438 MB / 0.758 GB, free: 14.57 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005773/0.463, allocations: 2.828 MB / 0.7607 GB, free: 11.89 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01285/0.4759, allocations: 10.71 MB / 0.7712 GB, free: 1.07 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001285/0.4772, allocations: 1.778 MB / 0.7729 GB, free: 15.27 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.003059/0.4802, allocations: 0.8958 MB / 0.7738 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003693/0.4839, allocations: 2.02 MB / 0.7758 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of SimCode: time 2.274e-06/0.4839, allocations: 0 / 0.7758 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of Templates: time 0.3506/0.8345, allocations: 110 MB / 0.8831 GB, free: 193.2 MB / 0.6511 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.631837010849267]