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.001394/0.001394, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.001349/0.001349, allocations: 169 kB / 23.49 MB, free: 1.055 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.9324/0.9324, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.7585/0.7585, allocations: 154.8 MB / 415.1 MB, free: 0.5078 MB / 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.423e-06/1.423e-06, allocations: 0 / 0.5206 GB, free: 2.34 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.887e-05/2.029e-05, allocations: 2.859 kB / 0.5206 GB, free: 2.336 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.03915/0.03917, allocations: 58.1 MB / 0.5773 GB, free: 8.195 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.02053/0.05969, allocations: 18.7 MB / 0.5956 GB, free: 5.492 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002423/0.06211, allocations: 103.2 kB / 0.5957 GB, free: 5.391 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001862/0.06398, allocations: 0.9038 MB / 0.5965 GB, free: 4.48 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.005561/0.06954, allocations: 2.742 MB / 0.5992 GB, free: 1.723 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003205/0.07274, allocations: 1.684 MB / 0.6009 GB, free: 36 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.01564/0.08838, allocations: 22.26 MB / 0.6226 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009333/0.09771, allocations: 7.4 MB / 0.6298 GB, free: 2.195 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01879/0.1165, allocations: 10.48 MB / 0.6401 GB, free: 7.801 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009911/0.1264, allocations: 6.48 MB / 0.6464 GB, free: 1.301 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.001817/0.1282, allocations: 0.9375 MB / 0.6473 GB, free: 372 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003275/0.1315, allocations: 1.588 MB / 0.6489 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.001893/0.1334, allocations: 2.527 MB / 0.6513 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.004488/0.1379, allocations: 3.376 MB / 0.6546 GB, free: 8.852 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.008774/0.1467, allocations: 8.304 MB / 0.6627 GB, free: 0.5234 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1467, allocations: 0 / 0.6627 GB, free: 0.5234 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.004e-06/0.1467, allocations: 4 kB / 0.6627 GB, free: 0.5195 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.94e-05/0.1467, allocations: 0 / 0.6627 GB, free: 0.5195 MB / 0.6198 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.01134/0.1581, allocations: 9.091 MB / 0.6716 GB, free: 7.336 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.1581, allocations: 12.03 kB / 0.6716 GB, free: 7.324 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002989/0.1611, allocations: 1.51 MB / 0.6731 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3051/0.4662, allocations: 6.126 MB / 0.6791 GB, free: 98.86 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003775/0.4666, allocations: 462.5 kB / 0.6795 GB, free: 98.84 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001411/0.468, allocations: 0.6156 MB / 0.6801 GB, free: 98.84 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01259/0.4806, allocations: 6.534 MB / 0.6865 GB, free: 96.22 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001634/0.4807, allocations: 24.2 kB / 0.6865 GB, free: 96.22 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005346/0.4813, allocations: 261.3 kB / 0.6868 GB, free: 96.22 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001668/0.4814, allocations: 176.8 kB / 0.687 GB, free: 96.22 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005276/0.4867, allocations: 2.436 MB / 0.6893 GB, free: 96.14 MB / 0.6355 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.0289/0.5156, allocations: 27.21 MB / 0.7159 GB, free: 83.94 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002644/0.5183, allocations: 1.848 MB / 0.7177 GB, free: 83.85 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002549/0.5208, allocations: 1.519 MB / 0.7192 GB, free: 83.8 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005473/0.5214, allocations: 200.1 kB / 0.7194 GB, free: 83.79 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002133/0.5235, allocations: 2.212 MB / 0.7215 GB, free: 82.36 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002294/0.5258, allocations: 318.6 kB / 0.7219 GB, free: 82.27 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=317): time 3.528e-05/0.5258, allocations: 0 / 0.7219 GB, free: 82.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=317): time 0.007614/0.5334, allocations: 3.402 MB / 0.7252 GB, free: 81.8 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.753e-05/0.5335, allocations: 88.06 kB / 0.7253 GB, free: 81.73 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006408/0.5399, allocations: 4.203 MB / 0.7294 GB, free: 81.25 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0007587/0.5407, allocations: 88.81 kB / 0.7294 GB, free: 81.22 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.002537/0.5432, allocations: 3.494 MB / 0.7329 GB, free: 80.11 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.001481/0.5447, allocations: 1.215 MB / 0.734 GB, free: 79.41 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001021/0.5457, allocations: 0.9264 MB / 0.735 GB, free: 78.92 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.01e-05/0.5458, allocations: 481.6 kB / 0.7354 GB, free: 78.45 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001385/0.5471, allocations: 0.6775 MB / 0.7361 GB, free: 78.32 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002157/0.5493, allocations: 3.035 MB / 0.739 GB, free: 75.24 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0043/0.5536, allocations: 3.968 MB / 0.7429 GB, free: 71.88 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.009e-05/0.5537, allocations: 15.75 kB / 0.7429 GB, free: 71.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.008113/0.5618, allocations: 3.895 MB / 0.7467 GB, free: 70.76 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.539e-05/0.5619, allocations: 55 kB / 0.7468 GB, free: 70.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.992e-05/0.5619, allocations: 47.69 kB / 0.7468 GB, free: 70.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001494/0.5634, allocations: 415.1 kB / 0.7472 GB, free: 70.67 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002278/0.5657, allocations: 1.004 MB / 0.7482 GB, free: 70.63 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003456/0.5692, allocations: 5.282 MB / 0.7534 GB, free: 66.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00393/0.5731, allocations: 279.3 kB / 0.7536 GB, free: 66.06 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007724/0.5739, allocations: 219 kB / 0.7538 GB, free: 66.03 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.002581/0.5765, allocations: 459 kB / 0.7543 GB, free: 65.74 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001507/0.578, allocations: 0.5937 MB / 0.7549 GB, free: 65.43 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004516/0.5825, allocations: 2.634 MB / 0.7574 GB, free: 64.52 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-05/0.5825, allocations: 30.94 kB / 0.7575 GB, free: 64.52 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.707e-05/0.5825, allocations: 3.656 kB / 0.7575 GB, free: 64.52 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00287/0.5854, allocations: 2.056 MB / 0.7595 GB, free: 63.72 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01619/0.6016, allocations: 8.023 MB / 0.7673 GB, free: 60.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/0.6016, allocations: 3 kB / 0.7673 GB, free: 60.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001448/0.603, allocations: 0.6366 MB / 0.7679 GB, free: 60.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001008/0.6041, allocations: 345.7 kB / 0.7683 GB, free: 60.38 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001466/0.6042, allocations: 85.05 kB / 0.7683 GB, free: 60.33 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002663/0.6069, allocations: 5.182 MB / 0.7734 GB, free: 55.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.6069, allocations: 7.219 kB / 0.7734 GB, free: 55.85 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005349/0.6122, allocations: 3.495 MB / 0.7768 GB, free: 54.53 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001659/0.6139, allocations: 0.9683 MB / 0.7778 GB, free: 54.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004076/0.6143, allocations: 72.38 kB / 0.7778 GB, free: 53.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/0.6156, allocations: 193.6 kB / 0.778 GB, free: 53.92 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003131/0.6159, allocations: 207.4 kB / 0.7782 GB, free: 53.89 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000165/0.616, allocations: 138.6 kB / 0.7784 GB, free: 53.87 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002216/0.6183, allocations: 2.167 MB / 0.7805 GB, free: 53.18 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.71e-07/0.6183, allocations: 0 / 0.7805 GB, free: 53.18 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.004206/0.6225, allocations: 2.099 MB / 0.7825 GB, free: 52.82 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.0006649/0.6231, allocations: 481 kB / 0.783 GB, free: 52.62 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003667/0.6268, allocations: 3.042 MB / 0.7859 GB, free: 51.65 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.6268, allocations: 3.688 kB / 0.7859 GB, free: 51.65 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00141/0.6282, allocations: 1.563 MB / 0.7875 GB, free: 51.03 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00553/0.6337, allocations: 2.828 MB / 0.7902 GB, free: 50.31 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01251/0.6463, allocations: 10.82 MB / 0.8008 GB, free: 40.49 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001322/0.6476, allocations: 1.781 MB / 0.8025 GB, free: 39.2 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.003981/0.6516, allocations: 1.519 MB / 0.804 GB, free: 38.2 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009775/0.6525, allocations: 440.5 kB / 0.8044 GB, free: 37.81 MB / 0.6355 GB Notification: Performance of SimCode: time 1.623e-06/0.6525, allocations: 0 / 0.8044 GB, free: 37.81 MB / 0.6355 GB Notification: Performance of Templates: time 0.1154/0.7679, allocations: 102.4 MB / 0.9045 GB, free: 3.527 MB / 0.698 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.1760446291882545]