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.001782/0.001782, allocations: 85.48 kB / 19.44 MB, free: 344 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.001971/0.001971, allocations: 173.6 kB / 22.76 MB, free: 1.664 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.579/1.579, allocations: 177.1 MB / 203.1 MB, free: 5.625 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.003188/0.003188, allocations: 241.7 kB / 259.8 MB, free: 12.87 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.242/1.242, allocations: 138.4 MB / 454.7 MB, free: 1.48 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.453e-06/1.453e-06, allocations: 0 / 0.5543 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.8e-05/2.946e-05, allocations: 6.312 kB / 0.5543 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.3294/0.3294, allocations: 57.84 MB / 0.6108 GB, free: 59.47 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.02487/0.3543, allocations: 18.67 MB / 0.629 GB, free: 59.05 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003115/0.3574, allocations: 100.6 kB / 0.6291 GB, free: 59.05 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.003078/0.3605, allocations: 0.9125 MB / 0.63 GB, free: 58.8 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.008515/0.369, allocations: 2.747 MB / 0.6327 GB, free: 57.56 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.004759/0.3737, allocations: 1.652 MB / 0.6343 GB, free: 56.8 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.02002/0.3938, allocations: 22.21 MB / 0.656 GB, free: 46.68 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01045/0.4042, allocations: 7.388 MB / 0.6632 GB, free: 42.59 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02535/0.4295, allocations: 10.25 MB / 0.6732 GB, free: 36.63 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01183/0.4414, allocations: 6.566 MB / 0.6796 GB, free: 30.06 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.00295/0.4443, allocations: 0.9375 MB / 0.6806 GB, free: 29.12 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007118/0.4514, allocations: 1.596 MB / 0.6821 GB, free: 27.52 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.003215/0.4547, allocations: 2.515 MB / 0.6846 GB, free: 25 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.00782/0.4625, allocations: 3.364 MB / 0.6879 GB, free: 21.63 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.01352/0.476, allocations: 13.54 MB / 0.7011 GB, free: 8.051 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.476, allocations: 0 / 0.7011 GB, free: 8.051 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.353e-06/0.476, allocations: 0 / 0.7011 GB, free: 8.051 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004647/0.4765, allocations: 0 / 0.7011 GB, free: 8.051 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.01894/0.4954, allocations: 9.637 MB / 0.7105 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.4955, allocations: 8.75 kB / 0.7105 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005441/0.5009, allocations: 1.514 MB / 0.712 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01802/0.5189, allocations: 6.268 MB / 0.7181 GB, free: 6.445 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005751/0.5195, allocations: 463.7 kB / 0.7185 GB, free: 5.992 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002617/0.5221, allocations: 0.6175 MB / 0.7191 GB, free: 5.375 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02557/0.5477, allocations: 10.17 MB / 0.7291 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003295/0.548, allocations: 19.83 kB / 0.7291 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002178/0.5502, allocations: 260 kB / 0.7293 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002331/0.5504, allocations: 181 kB / 0.7295 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01664/0.5671, allocations: 6.184 MB / 0.7356 GB, free: 3.887 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.08639/0.6534, allocations: 49.59 MB / 0.784 GB, free: 15.62 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0074/0.6608, allocations: 3.509 MB / 0.7874 GB, free: 12.11 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00548/0.6663, allocations: 2.631 MB / 0.79 GB, free: 9.477 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001043/0.6674, allocations: 198.3 kB / 0.7902 GB, free: 9.281 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005653/0.673, allocations: 3.163 MB / 0.7933 GB, free: 5.82 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003296/0.6763, allocations: 321.8 kB / 0.7936 GB, free: 5.504 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=317): time 1.925e-05/0.6763, allocations: 0 / 0.7936 GB, free: 5.504 MB / 0.6042 GB Notification: Performance of matching and sorting (n=317): time 0.01486/0.6912, allocations: 5.835 MB / 0.7993 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.6913, allocations: 93.83 kB / 0.7994 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01375/0.7051, allocations: 6.097 MB / 0.8053 GB, free: 9.398 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0007102/0.7058, allocations: 89.7 kB / 0.8054 GB, free: 9.305 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.005479/0.7112, allocations: 3.722 MB / 0.809 GB, free: 5.559 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.002228/0.7135, allocations: 1.283 MB / 0.8103 GB, free: 4.266 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002645/0.7161, allocations: 1.09 MB / 0.8113 GB, free: 3.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002704/0.7164, allocations: 476.8 kB / 0.8118 GB, free: 2.691 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00366/0.72, allocations: 1.712 MB / 0.8135 GB, free: 0.9648 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006045/0.7261, allocations: 4.191 MB / 0.8176 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0104/0.7365, allocations: 6.336 MB / 0.8238 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.267e-05/0.7365, allocations: 23.94 kB / 0.8238 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01273/0.7493, allocations: 6.052 MB / 0.8297 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.672e-05/0.7494, allocations: 57.69 kB / 0.8297 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.935e-05/0.7494, allocations: 48.56 kB / 0.8298 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002448/0.7519, allocations: 0.5329 MB / 0.8303 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00378/0.7557, allocations: 0.9945 MB / 0.8313 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008033/0.7637, allocations: 6.6 MB / 0.8377 GB, free: 5.871 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005228/0.7689, allocations: 283.7 kB / 0.838 GB, free: 5.594 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008687/0.7698, allocations: 220 kB / 0.8382 GB, free: 5.379 MB / 0.6511 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.005265/0.7751, allocations: 2.187 MB / 0.8403 GB, free: 3.18 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002369/0.7774, allocations: 0.5868 MB / 0.8409 GB, free: 2.59 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5002/1.278, allocations: 4.292 MB / 0.8451 GB, free: 210.9 MB / 0.6512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.054e-05/1.278, allocations: 31.19 kB / 0.8451 GB, free: 210.9 MB / 0.6512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/1.278, allocations: 4.781 kB / 0.8451 GB, free: 210.9 MB / 0.6512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006077/1.284, allocations: 3.708 MB / 0.8488 GB, free: 210.4 MB / 0.6512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02524/1.309, allocations: 11.56 MB / 0.86 GB, free: 208.1 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/1.309, allocations: 1.5 kB / 0.8601 GB, free: 208.1 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002801/1.312, allocations: 0.6398 MB / 0.8607 GB, free: 208.1 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002248/1.314, allocations: 477.2 kB / 0.8611 GB, free: 208 MB / 0.6512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003609/1.314, allocations: 81.55 kB / 0.8612 GB, free: 207.9 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005318/1.32, allocations: 6.505 MB / 0.8676 GB, free: 202.9 MB / 0.6512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/1.32, allocations: 8.906 kB / 0.8676 GB, free: 202.9 MB / 0.6512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01225/1.332, allocations: 6.558 MB / 0.874 GB, free: 200.5 MB / 0.6512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00378/1.336, allocations: 0.9733 MB / 0.8749 GB, free: 200.2 MB / 0.6512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001222/1.337, allocations: 68.67 kB / 0.875 GB, free: 200.2 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003052/1.34, allocations: 193.6 kB / 0.8752 GB, free: 200.2 MB / 0.6512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005758/1.341, allocations: 207.3 kB / 0.8754 GB, free: 200.1 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003461/1.341, allocations: 142.3 kB / 0.8755 GB, free: 200.1 MB / 0.6512 GB Notification: Performance of sorting global known variables: time 0.005993/1.347, allocations: 3.486 MB / 0.8789 GB, free: 198.8 MB / 0.6512 GB Notification: Performance of sort global known variables: time 1.51e-07/1.347, allocations: 0 / 0.8789 GB, free: 198.8 MB / 0.6512 GB Notification: Performance of remove unused functions: time 0.008615/1.356, allocations: 2.088 MB / 0.881 GB, free: 198.5 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.001485/1.357, allocations: 497 kB / 0.8814 GB, free: 198.3 MB / 0.6512 GB Notification: Performance of simCode: created initialization part: time 0.00706/1.364, allocations: 4.992 MB / 0.8863 GB, free: 196.4 MB / 0.6512 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/1.364, allocations: 4.25 kB / 0.8863 GB, free: 196.4 MB / 0.6512 GB Notification: Performance of simCode: created simulation system equations: time 0.002818/1.367, allocations: 2.377 MB / 0.8886 GB, free: 195.4 MB / 0.6512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01181/1.379, allocations: 2.887 MB / 0.8914 GB, free: 194.8 MB / 0.6512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01807/1.397, allocations: 12.68 MB / 0.9038 GB, free: 186.3 MB / 0.6512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002787/1.4, allocations: 3.742 MB / 0.9075 GB, free: 182.5 MB / 0.6512 GB Notification: Performance of simCode: alias equations: time 0.004527/1.404, allocations: 1.533 MB / 0.909 GB, free: 181 MB / 0.6512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001239/1.405, allocations: 436.3 kB / 0.9094 GB, free: 180.6 MB / 0.6512 GB Notification: Performance of SimCode: time 1.172e-06/1.405, allocations: 0 / 0.9094 GB, free: 180.6 MB / 0.6512 GB Notification: Performance of Templates: time 0.1341/1.539, allocations: 102.4 MB / 1.009 GB, free: 79.77 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.596801245003007]