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.0008559/0.0008559, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0008829/0.0008829, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.9351/0.9351, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.7838/0.7838, allocations: 154.9 MB / 415.1 MB, free: 240 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.904e-06/1.904e-06, allocations: 3.938 kB / 480.3 MB, free: 6.516 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.811e-05/4.002e-05, allocations: 3.031 kB / 480.3 MB, free: 6.512 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.01911/0.01915, allocations: 16.4 MB / 496.7 MB, free: 6.117 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.01052/0.02967, allocations: 6.232 MB / 0.4912 GB, free: 15.93 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001583/0.03126, allocations: 103.7 kB / 0.4913 GB, free: 15.83 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009758/0.03223, allocations: 0.5283 MB / 0.4918 GB, free: 15.3 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002747/0.03498, allocations: 1.821 MB / 0.4936 GB, free: 13.49 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002119/0.0371, allocations: 1.499 MB / 0.495 GB, free: 12 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.01406/0.05116, allocations: 21.85 MB / 0.5164 GB, free: 6.098 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007845/0.059, allocations: 7.468 MB / 0.5237 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01748/0.07649, allocations: 10.15 MB / 0.5336 GB, free: 4.5 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009546/0.08603, allocations: 6.202 MB / 0.5396 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.002638/0.08867, allocations: 0.9219 MB / 0.5405 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004299/0.09297, allocations: 1.202 MB / 0.5417 GB, free: 12.17 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.00303/0.096, allocations: 2.477 MB / 0.5441 GB, free: 9.684 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.007236/0.1032, allocations: 3.341 MB / 0.5474 GB, free: 6.336 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.009945/0.1132, allocations: 7.966 MB / 0.5552 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.1132, allocations: 3.938 kB / 0.5552 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.933e-06/0.1132, allocations: 4 kB / 0.5552 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0004419/0.1136, allocations: 0.6562 kB / 0.5552 GB, free: 14.34 MB / 0.5261 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.01172/0.1254, allocations: 7.747 MB / 0.5628 GB, free: 6.539 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.1254, allocations: 8.688 kB / 0.5628 GB, free: 6.531 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002699/0.1281, allocations: 1.264 MB / 0.564 GB, free: 5.27 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007333/0.1354, allocations: 3.817 MB / 0.5677 GB, free: 1.398 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002629/0.1357, allocations: 456.6 kB / 0.5682 GB, free: 0.9492 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001038/0.1367, allocations: 0.6136 MB / 0.5688 GB, free: 344 kB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007047/0.1438, allocations: 6.042 MB / 0.5747 GB, free: 9.711 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.921e-05/0.1439, allocations: 25.09 kB / 0.5747 GB, free: 9.688 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005115/0.1444, allocations: 260 kB / 0.5749 GB, free: 9.434 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001261/0.1445, allocations: 183.9 kB / 0.5751 GB, free: 9.254 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003351/0.1479, allocations: 2.096 MB / 0.5772 GB, free: 7.16 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.02468/0.1726, allocations: 18.99 MB / 0.5957 GB, free: 3.785 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001863/0.1744, allocations: 1.594 MB / 0.5973 GB, free: 2.188 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001278/0.1757, allocations: 1.21 MB / 0.5984 GB, free: 0.9805 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003853/0.1761, allocations: 173.4 kB / 0.5986 GB, free: 0.8125 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001668/0.1777, allocations: 2.094 MB / 0.6006 GB, free: 14.42 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001955/0.1797, allocations: 325.1 kB / 0.601 GB, free: 14.11 MB / 0.573 GB Notification: Performance of pre-optimization done (n=317): time 7.093e-06/0.1797, allocations: 0 / 0.601 GB, free: 14.11 MB / 0.573 GB Notification: Performance of matching and sorting (n=317): time 0.004019/0.1837, allocations: 2.197 MB / 0.6031 GB, free: 11.88 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.1838, allocations: 85.91 kB / 0.6032 GB, free: 11.79 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003943/0.1877, allocations: 3.678 MB / 0.6068 GB, free: 8.094 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003126/0.188, allocations: 85.7 kB / 0.6069 GB, free: 8.004 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001613/0.1897, allocations: 2.535 MB / 0.6093 GB, free: 5.445 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008927/0.1905, allocations: 1.154 MB / 0.6105 GB, free: 4.281 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007731/0.1913, allocations: 0.7957 MB / 0.6112 GB, free: 3.473 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 6.598e-05/0.1914, allocations: 305.1 kB / 0.6115 GB, free: 3.172 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007905/0.1922, allocations: 0.5787 MB / 0.6121 GB, free: 2.578 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/0.1935, allocations: 2.093 MB / 0.6141 GB, free: 15.76 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002501/0.196, allocations: 3.038 MB / 0.6171 GB, free: 12 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.271e-05/0.196, allocations: 12 kB / 0.6171 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.003965/0.2, allocations: 2.823 MB / 0.6199 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 5.732e-05/0.2001, allocations: 58.7 kB / 0.6199 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.701e-05/0.2001, allocations: 48 kB / 0.62 GB, free: 9.016 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009862/0.2011, allocations: 379.5 kB / 0.6203 GB, free: 8.641 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00181/0.2029, allocations: 0.9438 MB / 0.6213 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002681/0.2056, allocations: 3.668 MB / 0.6248 GB, free: 3.859 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00267/0.2083, allocations: 183.8 kB / 0.625 GB, free: 3.68 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003186/0.2086, allocations: 176 kB / 0.6252 GB, free: 3.508 MB / 0.5886 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.001772/0.2103, allocations: 415 kB / 0.6256 GB, free: 3.09 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001/0.2113, allocations: 395.5 kB / 0.626 GB, free: 2.703 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002787/0.2141, allocations: 1.947 MB / 0.6279 GB, free: 0.7188 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.117e-05/0.2142, allocations: 32 kB / 0.6279 GB, free: 0.6875 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.2142, allocations: 8 kB / 0.6279 GB, free: 0.6797 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001528/0.2157, allocations: 1.368 MB / 0.6292 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009589/0.2253, allocations: 5.236 MB / 0.6343 GB, free: 9.891 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.834e-06/0.2253, allocations: 0 / 0.6343 GB, free: 9.891 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001313/0.2266, allocations: 0.5697 MB / 0.6349 GB, free: 9.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009004/0.2275, allocations: 319.9 kB / 0.6352 GB, free: 9.004 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002004/0.2277, allocations: 75.95 kB / 0.6353 GB, free: 8.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002486/0.2302, allocations: 3.581 MB / 0.6388 GB, free: 5.176 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2302, allocations: 0 / 0.6388 GB, free: 5.176 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003775/0.234, allocations: 2.47 MB / 0.6412 GB, free: 2.613 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001745/0.2357, allocations: 0.6087 MB / 0.6418 GB, free: 2.004 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005586/0.2363, allocations: 63.98 kB / 0.6418 GB, free: 1.941 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/0.2375, allocations: 116.2 kB / 0.6419 GB, free: 1.828 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002746/0.2378, allocations: 198 kB / 0.6421 GB, free: 1.633 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000179/0.2379, allocations: 99.83 kB / 0.6422 GB, free: 1.535 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001961/0.2399, allocations: 1.866 MB / 0.6441 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2399, allocations: 0 / 0.6441 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.004051/0.2439, allocations: 2.011 MB / 0.646 GB, free: 13.65 MB / 0.6198 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.0006356/0.2446, allocations: 273.8 kB / 0.6463 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00322/0.2478, allocations: 2.371 MB / 0.6486 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 0.0001031/0.2479, allocations: 63.84 kB / 0.6487 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001335/0.2492, allocations: 1.158 MB / 0.6498 GB, free: 9.684 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009793/0.259, allocations: 2.791 MB / 0.6525 GB, free: 7.066 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01576/0.2748, allocations: 10.33 MB / 0.6626 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001441/0.2762, allocations: 1.415 MB / 0.664 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.003288/0.2795, allocations: 0.8827 MB / 0.6648 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004125/0.2836, allocations: 1.719 MB / 0.6665 GB, free: 8.574 MB / 0.6355 GB Notification: Performance of SimCode: time 2.394e-06/0.2836, allocations: 0 / 0.6665 GB, free: 8.574 MB / 0.6355 GB Notification: Performance of Templates: time 0.332/0.6156, allocations: 108.4 MB / 0.7724 GB, free: 99.93 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.2290409579873085]