Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.001512/0.001512, allocations: 81.17 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.001956/0.001956, allocations: 169 kB / 23.27 MB, free: 1.223 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 0.899/0.899, allocations: 177.2 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7823/0.7823, allocations: 154.9 MB / 415.1 MB, free: 280 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 0.5211 GB, free: 1.535 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.958e-05/3.143e-05, allocations: 2.312 kB / 0.5211 GB, free: 1.531 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.0256/0.02563, allocations: 16.35 MB / 0.5371 GB, free: 1.141 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01512/0.04075, allocations: 6.059 MB / 0.543 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00392/0.04467, allocations: 103.2 kB / 0.5431 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.002766/0.04743, allocations: 0.5388 MB / 0.5436 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.007396/0.05483, allocations: 1.81 MB / 0.5454 GB, free: 8.676 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.005025/0.05985, allocations: 1.507 MB / 0.5469 GB, free: 7.172 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.02395/0.08381, allocations: 21.82 MB / 0.5682 GB, free: 1.301 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009838/0.09365, allocations: 7.384 MB / 0.5754 GB, free: 9.848 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01679/0.1104, allocations: 10.15 MB / 0.5853 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00964/0.1201, allocations: 6.46 MB / 0.5916 GB, free: 9.32 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.002069/0.1221, allocations: 0.9225 MB / 0.5925 GB, free: 8.398 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003893/0.126, allocations: 1.187 MB / 0.5937 GB, free: 7.211 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.001985/0.128, allocations: 2.493 MB / 0.5961 GB, free: 4.711 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.005165/0.1332, allocations: 3.333 MB / 0.5994 GB, free: 1.371 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.007454/0.1406, allocations: 7.978 MB / 0.6071 GB, free: 9.371 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1406, allocations: 3.984 kB / 0.6071 GB, free: 9.367 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1406, allocations: 0 / 0.6071 GB, free: 9.367 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001182/0.1408, allocations: 1.594 kB / 0.6072 GB, free: 9.367 MB / 0.573 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.008549/0.1493, allocations: 8.577 MB / 0.6155 GB, free: 0.7227 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.1494, allocations: 12.03 kB / 0.6155 GB, free: 0.7109 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002229/0.1516, allocations: 1.513 MB / 0.617 GB, free: 15.2 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005872/0.1575, allocations: 5.13 MB / 0.622 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002195/0.1577, allocations: 456.6 kB / 0.6225 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005873/0.1583, allocations: 0.6136 MB / 0.6231 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006014/0.1643, allocations: 6.143 MB / 0.6291 GB, free: 2.102 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-05/0.1644, allocations: 23.84 kB / 0.6291 GB, free: 2.078 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003631/0.1647, allocations: 260 kB / 0.6293 GB, free: 1.824 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000111/0.1648, allocations: 183.9 kB / 0.6295 GB, free: 1.645 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002523/0.1674, allocations: 1.969 MB / 0.6314 GB, free: 15.66 MB / 0.6042 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.02183/0.1892, allocations: 26.74 MB / 0.6575 GB, free: 4.355 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001751/0.1909, allocations: 1.645 MB / 0.6591 GB, free: 2.723 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001653/0.1926, allocations: 1.311 MB / 0.6604 GB, free: 1.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003776/0.193, allocations: 200.7 kB / 0.6606 GB, free: 1.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001552/0.1945, allocations: 2.101 MB / 0.6627 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00139/0.1959, allocations: 313.8 kB / 0.663 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=317): time 5.06e-06/0.1959, allocations: 3.938 kB / 0.663 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=317): time 0.003991/0.1999, allocations: 2.888 MB / 0.6658 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/0.2, allocations: 97.77 kB / 0.6659 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003611/0.2036, allocations: 4.111 MB / 0.6699 GB, free: 7.344 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001539/0.2037, allocations: 85.7 kB / 0.67 GB, free: 7.254 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.002102/0.2058, allocations: 3.538 MB / 0.6734 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008885/0.2067, allocations: 1.221 MB / 0.6746 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008226/0.2075, allocations: 0.9529 MB / 0.6756 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.464e-05/0.2076, allocations: 476.8 kB / 0.676 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006462/0.2083, allocations: 0.5216 MB / 0.6765 GB, free: 500 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4335/0.6417, allocations: 2.894 MB / 0.6794 GB, free: 155.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002548/0.6443, allocations: 3.718 MB / 0.683 GB, free: 152.5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.762e-05/0.6443, allocations: 13.94 kB / 0.683 GB, free: 152.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.003911/0.6482, allocations: 3.535 MB / 0.6864 GB, free: 152.3 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.055e-05/0.6483, allocations: 53.89 kB / 0.6865 GB, free: 152.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.162e-05/0.6483, allocations: 49.84 kB / 0.6865 GB, free: 152.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009157/0.6492, allocations: 402.3 kB / 0.6869 GB, free: 152.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001577/0.6508, allocations: 0.9589 MB / 0.6879 GB, free: 152.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002198/0.653, allocations: 5.15 MB / 0.6929 GB, free: 148.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002014/0.655, allocations: 180.3 kB / 0.6931 GB, free: 148.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001823/0.6552, allocations: 183.5 kB / 0.6932 GB, free: 148.4 MB / 0.6355 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.001407/0.6566, allocations: 456.2 kB / 0.6937 GB, free: 148.3 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005817/0.6572, allocations: 0.5868 MB / 0.6943 GB, free: 148.3 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002449/0.6596, allocations: 2.376 MB / 0.6966 GB, free: 148 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.062e-05/0.6596, allocations: 31.09 kB / 0.6966 GB, free: 148 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.6596, allocations: 2.938 kB / 0.6966 GB, free: 148 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001741/0.6614, allocations: 1.786 MB / 0.6983 GB, free: 147.6 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007357/0.6687, allocations: 6.246 MB / 0.7044 GB, free: 147 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.6688, allocations: 0 / 0.7044 GB, free: 147 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001202/0.67, allocations: 0.586 MB / 0.705 GB, free: 147 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008144/0.6708, allocations: 340.2 kB / 0.7053 GB, free: 147 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001216/0.6709, allocations: 86.34 kB / 0.7054 GB, free: 147 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002051/0.6729, allocations: 5.062 MB / 0.7104 GB, free: 143.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.6729, allocations: 5.094 kB / 0.7104 GB, free: 143.2 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004218/0.6772, allocations: 3.09 MB / 0.7134 GB, free: 142.5 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001273/0.6784, allocations: 0.8776 MB / 0.7142 GB, free: 142.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00032/0.6788, allocations: 66.8 kB / 0.7143 GB, free: 142.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/0.6798, allocations: 112.1 kB / 0.7144 GB, free: 142.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002568/0.6801, allocations: 209.7 kB / 0.7146 GB, free: 142.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001635/0.6803, allocations: 119 kB / 0.7147 GB, free: 142.2 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001823/0.6821, allocations: 1.971 MB / 0.7167 GB, free: 142 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.6821, allocations: 1.703 kB / 0.7167 GB, free: 142 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.004037/0.6861, allocations: 2.011 MB / 0.7186 GB, free: 141.8 MB / 0.6355 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.0004383/0.6866, allocations: 296.2 kB / 0.7189 GB, free: 141.7 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002927/0.6895, allocations: 2.774 MB / 0.7216 GB, free: 141.1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.6895, allocations: 0.5469 kB / 0.7216 GB, free: 141.1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.6905, allocations: 1.44 MB / 0.723 GB, free: 140.7 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004958/0.6955, allocations: 2.826 MB / 0.7258 GB, free: 140.4 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0133/0.7088, allocations: 10.71 MB / 0.7362 GB, free: 135.2 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001376/0.7102, allocations: 1.774 MB / 0.738 GB, free: 134.7 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.003139/0.7133, allocations: 0.8804 MB / 0.7388 GB, free: 134.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004457/0.7178, allocations: 2.028 MB / 0.7408 GB, free: 134.3 MB / 0.6355 GB Notification: Performance of SimCode: time 1.452e-06/0.7178, allocations: 0 / 0.7408 GB, free: 134.3 MB / 0.6355 GB Notification: Performance of Templates: time 0.1128/0.8306, allocations: 108.2 MB / 0.8465 GB, free: 34.47 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.527135973796248]