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.001403/0.001403, allocations: 88.72 kB / 19.44 MB, free: 356 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.001653/0.001653, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.524/1.524, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.00265/0.00265, allocations: 233.9 kB / 259.8 MB, free: 12.85 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 1.091/1.091, allocations: 138.4 MB / 454.7 MB, free: 1.473 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 2.043e-06/2.043e-06, allocations: 0 / 0.5543 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.85e-05/3.055e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.3494/0.3494, allocations: 51.13 MB / 0.6043 GB, free: 59.33 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.02285/0.3723, allocations: 16.89 MB / 0.6208 GB, free: 59.19 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00358/0.3759, allocations: 99.75 kB / 0.6208 GB, free: 59.19 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.003262/0.3791, allocations: 0.915 MB / 0.6217 GB, free: 59.12 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.00932/0.3884, allocations: 2.738 MB / 0.6244 GB, free: 58.56 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.005313/0.3937, allocations: 1.653 MB / 0.626 GB, free: 58.16 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.02991/0.4237, allocations: 22.22 MB / 0.6477 GB, free: 48.07 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01555/0.4392, allocations: 7.361 MB / 0.6549 GB, free: 43.99 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02766/0.4669, allocations: 10.22 MB / 0.6649 GB, free: 39.23 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01254/0.4794, allocations: 6.398 MB / 0.6712 GB, free: 34.27 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.003325/0.4827, allocations: 0.9414 MB / 0.6721 GB, free: 33.33 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008097/0.4908, allocations: 1.591 MB / 0.6736 GB, free: 31.8 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.004179/0.495, allocations: 2.496 MB / 0.6761 GB, free: 29.45 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.009426/0.5044, allocations: 3.338 MB / 0.6793 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.01662/0.5211, allocations: 13.49 MB / 0.6925 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.5211, allocations: 0 / 0.6925 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.374e-06/0.5211, allocations: 0 / 0.6925 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0005329/0.5216, allocations: 0 / 0.6925 GB, free: 13.23 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.01899/0.5406, allocations: 8.566 MB / 0.7009 GB, free: 4.699 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.5406, allocations: 8.75 kB / 0.7009 GB, free: 4.691 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003658/0.5443, allocations: 1.515 MB / 0.7023 GB, free: 3.172 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01324/0.5575, allocations: 7.151 MB / 0.7093 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005313/0.558, allocations: 458.5 kB / 0.7098 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001952/0.56, allocations: 0.623 MB / 0.7104 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01962/0.5796, allocations: 10.1 MB / 0.7202 GB, free: 416 kB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001364/0.5798, allocations: 19.86 kB / 0.7203 GB, free: 396 kB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007358/0.5805, allocations: 260 kB / 0.7205 GB, free: 136 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002365/0.5807, allocations: 183.9 kB / 0.7207 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01539/0.5961, allocations: 7.452 MB / 0.728 GB, free: 8.496 MB / 0.5417 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.05292/0.649, allocations: 26.61 MB / 0.7539 GB, free: 13.69 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007788/0.6568, allocations: 3.971 MB / 0.7578 GB, free: 9.742 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00579/0.6626, allocations: 3.044 MB / 0.7608 GB, free: 6.699 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001124/0.6637, allocations: 226.3 kB / 0.761 GB, free: 6.477 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006531/0.6703, allocations: 3.448 MB / 0.7644 GB, free: 2.734 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002291/0.6726, allocations: 317.8 kB / 0.7647 GB, free: 2.422 MB / 0.573 GB Notification: Performance of pre-optimization done (n=317): time 9.177e-06/0.6726, allocations: 0 / 0.7647 GB, free: 2.422 MB / 0.573 GB Notification: Performance of matching and sorting (n=317): time 0.01552/0.6881, allocations: 7.056 MB / 0.7716 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.138e-05/0.6882, allocations: 85.91 kB / 0.7717 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009435/0.6976, allocations: 4.981 MB / 0.7765 GB, free: 6.238 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0004005/0.698, allocations: 85.7 kB / 0.7766 GB, free: 6.148 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.003712/0.7017, allocations: 3.27 MB / 0.7798 GB, free: 2.875 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.001476/0.7032, allocations: 1.159 MB / 0.7809 GB, free: 1.73 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00143/0.7046, allocations: 0.8507 MB / 0.7818 GB, free: 0.8672 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.7048, allocations: 301.1 kB / 0.782 GB, free: 0.5703 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003752/0.7085, allocations: 2.189 MB / 0.7842 GB, free: 14.37 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005392/0.7139, allocations: 3.83 MB / 0.7879 GB, free: 9.801 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009651/0.7236, allocations: 6.327 MB / 0.7941 GB, free: 2.758 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.982e-05/0.7236, allocations: 12 kB / 0.7941 GB, free: 2.746 MB / 0.6042 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01274/0.7363, allocations: 6.969 MB / 0.8009 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.765e-05/0.7364, allocations: 53.69 kB / 0.801 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.199e-05/0.7365, allocations: 48 kB / 0.801 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002402/0.7389, allocations: 0.54 MB / 0.8015 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003724/0.7426, allocations: 1.002 MB / 0.8025 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006755/0.7494, allocations: 5.395 MB / 0.8078 GB, free: 4.492 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004282/0.7537, allocations: 291.7 kB / 0.8081 GB, free: 4.207 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006839/0.7543, allocations: 212 kB / 0.8083 GB, free: 4 MB / 0.6198 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.005256/0.7596, allocations: 2.494 MB / 0.8107 GB, free: 1.496 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002015/0.7616, allocations: 0.5867 MB / 0.8113 GB, free: 0.9062 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009806/0.7714, allocations: 5.203 MB / 0.8164 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.465e-05/0.7714, allocations: 28 kB / 0.8164 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.7715, allocations: 4 kB / 0.8164 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007532/0.779, allocations: 4.533 MB / 0.8208 GB, free: 6.996 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02204/0.801, allocations: 10.44 MB / 0.831 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/0.801, allocations: 0 / 0.831 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00292/0.804, allocations: 0.6438 MB / 0.8316 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002281/0.8062, allocations: 487.2 kB / 0.8321 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002565/0.8065, allocations: 83.95 kB / 0.8322 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006634/0.8131, allocations: 5.301 MB / 0.8374 GB, free: 5.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-06/0.8131, allocations: 11.88 kB / 0.8374 GB, free: 5.809 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4903/1.303, allocations: 7.768 MB / 0.845 GB, free: 216.8 MB / 0.6512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003379/1.307, allocations: 1.092 MB / 0.846 GB, free: 216.8 MB / 0.6512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001359/1.308, allocations: 67.62 kB / 0.8461 GB, free: 216.8 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003596/1.312, allocations: 197.9 kB / 0.8463 GB, free: 216.8 MB / 0.6512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000517/1.312, allocations: 210.4 kB / 0.8465 GB, free: 216.8 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003493/1.313, allocations: 141.7 kB / 0.8466 GB, free: 216.8 MB / 0.6512 GB Notification: Performance of sorting global known variables: time 0.005506/1.318, allocations: 3.389 MB / 0.8499 GB, free: 215.8 MB / 0.6512 GB Notification: Performance of sort global known variables: time 1.31e-07/1.318, allocations: 0 / 0.8499 GB, free: 215.8 MB / 0.6512 GB Notification: Performance of remove unused functions: time 0.006854/1.325, allocations: 2.083 MB / 0.852 GB, free: 215.7 MB / 0.6512 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.001479/1.326, allocations: 484.6 kB / 0.8524 GB, free: 215.5 MB / 0.6512 GB Notification: Performance of simCode: created initialization part: time 0.009411/1.336, allocations: 5.262 MB / 0.8576 GB, free: 213.7 MB / 0.6512 GB Notification: Performance of simCode: created event and clocks part: time 1.325e-05/1.336, allocations: 2.5 kB / 0.8576 GB, free: 213.7 MB / 0.6512 GB Notification: Performance of simCode: created simulation system equations: time 0.004368/1.34, allocations: 2.369 MB / 0.8599 GB, free: 212.7 MB / 0.6512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01574/1.356, allocations: 2.872 MB / 0.8627 GB, free: 212.1 MB / 0.6512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02578/1.382, allocations: 13.81 MB / 0.8762 GB, free: 206.2 MB / 0.6512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004004/1.386, allocations: 4.139 MB / 0.8802 GB, free: 205.1 MB / 0.6512 GB Notification: Performance of simCode: alias equations: time 0.005757/1.392, allocations: 1.879 MB / 0.8821 GB, free: 204.8 MB / 0.6512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001582/1.393, allocations: 433.5 kB / 0.8825 GB, free: 204.8 MB / 0.6512 GB Notification: Performance of SimCode: time 1.393e-06/1.393, allocations: 4 kB / 0.8825 GB, free: 204.8 MB / 0.6512 GB Notification: Performance of Templates: time 0.1263/1.519, allocations: 102.5 MB / 0.9826 GB, free: 108.6 MB / 0.6512 GB " [Timeout remaining time 658] 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.011801515007392]