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.001072/0.001072, allocations: 81.95 kB / 19.87 MB, free: 4.621 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.001714/0.001714, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.017/1.017, allocations: 177.1 MB / 203.7 MB, free: 5.496 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.00171/0.00171, allocations: 245.8 kB / 260.5 MB, free: 12.66 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.7366/0.7366, allocations: 138.4 MB / 455.5 MB, free: 1.434 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.843e-06/1.843e-06, allocations: 0 / 0.5556 GB, free: 292 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.865e-05/3.05e-05, allocations: 2.312 kB / 0.5556 GB, free: 288 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.01684/0.01687, allocations: 16.28 MB / 0.5715 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01028/0.02715, allocations: 6.051 MB / 0.5774 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00299/0.03014, allocations: 103.2 kB / 0.5775 GB, free: 9.758 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001616/0.03176, allocations: 0.531 MB / 0.578 GB, free: 9.223 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.004887/0.03665, allocations: 1.829 MB / 0.5798 GB, free: 7.379 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003514/0.04016, allocations: 1.478 MB / 0.5812 GB, free: 5.898 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.01878/0.05894, allocations: 21.78 MB / 0.6025 GB, free: 60 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2585/0.3174, allocations: 7.361 MB / 0.6097 GB, free: 62.1 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0198/0.3372, allocations: 10.06 MB / 0.6195 GB, free: 62.09 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01304/0.3502, allocations: 6.542 MB / 0.6259 GB, free: 62.09 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.004358/0.3546, allocations: 0.9225 MB / 0.6268 GB, free: 62.09 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008249/0.3628, allocations: 1.186 MB / 0.628 GB, free: 62.09 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.005971/0.3688, allocations: 2.489 MB / 0.6304 GB, free: 61.52 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.01155/0.3804, allocations: 3.317 MB / 0.6336 GB, free: 60.54 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.01212/0.3925, allocations: 7.962 MB / 0.6414 GB, free: 57.88 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.3925, allocations: 1.688 kB / 0.6414 GB, free: 57.88 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3925, allocations: 0 / 0.6414 GB, free: 57.88 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004272/0.3929, allocations: 0 / 0.6414 GB, free: 57.88 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.01304/0.406, allocations: 8.595 MB / 0.6498 GB, free: 53.38 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.406, allocations: 10.59 kB / 0.6498 GB, free: 53.38 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002774/0.4088, allocations: 1.513 MB / 0.6513 GB, free: 52.68 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00674/0.4155, allocations: 5.112 MB / 0.6563 GB, free: 50.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001995/0.4157, allocations: 463.1 kB / 0.6567 GB, free: 50.09 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006419/0.4164, allocations: 0.6136 MB / 0.6573 GB, free: 49.89 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006449/0.4228, allocations: 6.14 MB / 0.6633 GB, free: 46.21 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001129/0.4229, allocations: 28.72 kB / 0.6634 GB, free: 46.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003844/0.4233, allocations: 262.2 kB / 0.6636 GB, free: 46.01 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001102/0.4234, allocations: 181.7 kB / 0.6638 GB, free: 46 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002942/0.4264, allocations: 1.957 MB / 0.6657 GB, free: 44.48 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.02407/0.4504, allocations: 26.7 MB / 0.6918 GB, free: 18.82 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/0.4522, allocations: 1.64 MB / 0.6934 GB, free: 17.29 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001196/0.4534, allocations: 1.329 MB / 0.6947 GB, free: 15.99 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004198/0.4538, allocations: 201.4 kB / 0.6949 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001345/0.4552, allocations: 2.092 MB / 0.6969 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001665/0.4568, allocations: 320.9 kB / 0.6972 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=317): time 1.214e-05/0.4568, allocations: 0 / 0.6972 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=317): time 0.004312/0.4612, allocations: 2.888 MB / 0.7 GB, free: 10.26 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.4612, allocations: 85.89 kB / 0.7001 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003945/0.4651, allocations: 4.099 MB / 0.7041 GB, free: 6.672 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003966/0.4655, allocations: 92.61 kB / 0.7042 GB, free: 6.578 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00209/0.4676, allocations: 3.542 MB / 0.7077 GB, free: 3.211 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001001/0.4686, allocations: 1.228 MB / 0.7089 GB, free: 2.051 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000777/0.4694, allocations: 0.9435 MB / 0.7098 GB, free: 1.18 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.173e-05/0.4694, allocations: 480.8 kB / 0.7102 GB, free: 0.707 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006793/0.4701, allocations: 0.5216 MB / 0.7107 GB, free: 176 kB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001912/0.472, allocations: 2.895 MB / 0.7136 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003207/0.4752, allocations: 3.726 MB / 0.7172 GB, free: 8.031 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-05/0.4753, allocations: 12 kB / 0.7172 GB, free: 8.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.005212/0.4805, allocations: 3.532 MB / 0.7207 GB, free: 4.559 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.22e-05/0.4805, allocations: 57.69 kB / 0.7207 GB, free: 4.496 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.562e-05/0.4806, allocations: 48 kB / 0.7208 GB, free: 4.449 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/0.4817, allocations: 400.3 kB / 0.7212 GB, free: 4.055 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002072/0.4837, allocations: 0.9555 MB / 0.7221 GB, free: 3.098 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00329/0.487, allocations: 5.162 MB / 0.7271 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00279/0.4898, allocations: 175.9 kB / 0.7273 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000256/0.4901, allocations: 180 kB / 0.7275 GB, free: 13.43 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.001828/0.4919, allocations: 466.8 kB / 0.7279 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00112/0.493, allocations: 0.5906 MB / 0.7285 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003149/0.4962, allocations: 2.371 MB / 0.7308 GB, free: 9.957 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.186e-05/0.4962, allocations: 32 kB / 0.7308 GB, free: 9.926 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.4962, allocations: 4 kB / 0.7308 GB, free: 9.922 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002013/0.4982, allocations: 1.787 MB / 0.7326 GB, free: 8.039 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01061/0.5088, allocations: 6.241 MB / 0.7387 GB, free: 2.012 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/0.5088, allocations: 4 kB / 0.7387 GB, free: 2.008 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001298/0.5101, allocations: 0.5814 MB / 0.7392 GB, free: 1.426 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009355/0.5111, allocations: 345.7 kB / 0.7396 GB, free: 1.082 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001889/0.5112, allocations: 79.95 kB / 0.7397 GB, free: 1.004 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002934/0.5142, allocations: 5.071 MB / 0.7446 GB, free: 11.71 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.5142, allocations: 7.922 kB / 0.7446 GB, free: 11.71 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00454/0.5187, allocations: 3.075 MB / 0.7476 GB, free: 8.523 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002042/0.5208, allocations: 0.867 MB / 0.7485 GB, free: 7.652 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005844/0.5213, allocations: 67.98 kB / 0.7485 GB, free: 7.586 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/0.5227, allocations: 116.2 kB / 0.7486 GB, free: 7.477 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002831/0.5229, allocations: 218 kB / 0.7488 GB, free: 7.262 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001881/0.5231, allocations: 115.9 kB / 0.749 GB, free: 7.148 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002326/0.5254, allocations: 1.978 MB / 0.7509 GB, free: 5.176 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.21e-07/0.5254, allocations: 0 / 0.7509 GB, free: 5.176 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005198/0.5306, allocations: 2.003 MB / 0.7528 GB, free: 3.168 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.0006473/0.5313, allocations: 298.5 kB / 0.7531 GB, free: 2.863 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00351/0.5348, allocations: 2.768 MB / 0.7558 GB, free: 20 kB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.5348, allocations: 0 / 0.7558 GB, free: 20 kB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001519/0.5363, allocations: 1.439 MB / 0.7572 GB, free: 14.54 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01002/0.5463, allocations: 2.828 MB / 0.76 GB, free: 11.85 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01881/0.5652, allocations: 10.71 MB / 0.7705 GB, free: 1.027 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002105/0.5673, allocations: 1.774 MB / 0.7722 GB, free: 15.23 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.00369/0.5709, allocations: 0.8884 MB / 0.7731 GB, free: 14.36 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005137/0.5761, allocations: 2.024 MB / 0.775 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of SimCode: time 1.453e-06/0.5761, allocations: 0 / 0.775 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of Templates: time 0.326/0.9021, allocations: 108.3 MB / 0.8808 GB, free: 194.1 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.525864906143397]