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.002484/0.002484, allocations: 85.48 kB / 19.44 MB, free: 340 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.003033/0.003033, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.608/1.608, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 1.375/1.375, allocations: 154.8 MB / 414.4 MB, free: 464 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 178] 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 2.144e-06/2.144e-06, allocations: 0.6562 kB / 0.5198 GB, free: 2.34 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.428e-05/3.643e-05, allocations: 2.312 kB / 0.5198 GB, free: 2.336 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.08026/0.08029, allocations: 57.92 MB / 0.5764 GB, free: 8.379 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.03333/0.1136, allocations: 18.7 MB / 0.5947 GB, free: 5.68 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00364/0.1173, allocations: 99.19 kB / 0.5948 GB, free: 5.582 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.003461/0.1207, allocations: 0.9078 MB / 0.5957 GB, free: 4.668 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.01065/0.1314, allocations: 2.731 MB / 0.5983 GB, free: 1.922 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.006478/0.1379, allocations: 1.688 MB / 0.6 GB, free: 236 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.03016/0.168, allocations: 22.25 MB / 0.6217 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01479/0.1828, allocations: 7.396 MB / 0.6289 GB, free: 2.398 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0294/0.2122, allocations: 10.49 MB / 0.6392 GB, free: 8 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01528/0.2275, allocations: 6.484 MB / 0.6455 GB, free: 1.496 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.00401/0.2315, allocations: 0.9414 MB / 0.6464 GB, free: 0.5547 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01035/0.2418, allocations: 1.592 MB / 0.648 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.007747/0.2496, allocations: 2.527 MB / 0.6504 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.01535/0.2649, allocations: 3.376 MB / 0.6537 GB, free: 9.043 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0351/0.3, allocations: 13.58 MB / 0.667 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/0.3, allocations: 0 / 0.667 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.464e-06/0.3, allocations: 0 / 0.667 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0005318/0.3006, allocations: 0 / 0.667 GB, free: 11.43 MB / 0.6355 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.03894/0.3395, allocations: 9.638 MB / 0.6764 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/0.3396, allocations: 8.031 kB / 0.6764 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008068/0.3476, allocations: 1.518 MB / 0.6779 GB, free: 168 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5201/0.8678, allocations: 6.278 MB / 0.684 GB, free: 185.2 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004329/0.8682, allocations: 457.7 kB / 0.6845 GB, free: 185 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002684/0.8709, allocations: 0.617 MB / 0.6851 GB, free: 184.8 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02113/0.892, allocations: 10.16 MB / 0.695 GB, free: 179.4 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001876/0.8922, allocations: 18.95 kB / 0.695 GB, free: 179.4 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001228/0.8934, allocations: 258.4 kB / 0.6953 GB, free: 179.2 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001923/0.8936, allocations: 183.4 kB / 0.6954 GB, free: 179.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01685/0.9105, allocations: 6.182 MB / 0.7015 GB, free: 177.2 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.06231/0.9728, allocations: 49.64 MB / 0.7499 GB, free: 139.3 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005865/0.9786, allocations: 3.503 MB / 0.7534 GB, free: 136.4 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004/0.9826, allocations: 2.634 MB / 0.7559 GB, free: 134.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008888/0.9835, allocations: 206.7 kB / 0.7561 GB, free: 134 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003283/0.9868, allocations: 3.151 MB / 0.7592 GB, free: 131.1 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002818/0.9896, allocations: 323.9 kB / 0.7595 GB, free: 130.9 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=317): time 1.181e-05/0.9896, allocations: 0 / 0.7595 GB, free: 130.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=317): time 0.0107/1, allocations: 5.842 MB / 0.7652 GB, free: 125.3 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.028e-05/1, allocations: 89.91 kB / 0.7653 GB, free: 125.2 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007898/1.008, allocations: 6.096 MB / 0.7713 GB, free: 119.1 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0008771/1.009, allocations: 93.7 kB / 0.7714 GB, free: 119 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.002921/1.012, allocations: 3.724 MB / 0.775 GB, free: 115.4 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.001699/1.014, allocations: 1.282 MB / 0.7762 GB, free: 114.1 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001313/1.015, allocations: 1.087 MB / 0.7773 GB, free: 113 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.581e-05/1.015, allocations: 476.8 kB / 0.7778 GB, free: 112.6 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002318/1.017, allocations: 1.714 MB / 0.7794 GB, free: 110.8 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003117/1.021, allocations: 4.191 MB / 0.7835 GB, free: 105.7 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006104/1.027, allocations: 6.337 MB / 0.7897 GB, free: 98.43 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.409e-05/1.027, allocations: 12 kB / 0.7897 GB, free: 98.42 MB / 0.6355 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.009805/1.037, allocations: 6.061 MB / 0.7956 GB, free: 92.34 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.966e-05/1.037, allocations: 61.08 kB / 0.7957 GB, free: 92.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.83e-05/1.037, allocations: 48 kB / 0.7958 GB, free: 92.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002305/1.039, allocations: 0.53 MB / 0.7963 GB, free: 91.71 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003434/1.042, allocations: 0.9984 MB / 0.7972 GB, free: 90.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004736/1.047, allocations: 6.59 MB / 0.8037 GB, free: 83.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005254/1.052, allocations: 283.6 kB / 0.804 GB, free: 83.61 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008182/1.053, allocations: 216 kB / 0.8042 GB, free: 83.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.004207/1.057, allocations: 2.193 MB / 0.8063 GB, free: 81.2 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00197/1.059, allocations: 0.5867 MB / 0.8069 GB, free: 80.61 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006794/1.066, allocations: 4.3 MB / 0.8111 GB, free: 76.28 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.503e-05/1.066, allocations: 35.98 kB / 0.8111 GB, free: 76.25 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/1.066, allocations: 4 kB / 0.8111 GB, free: 76.24 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004664/1.071, allocations: 3.698 MB / 0.8147 GB, free: 72.44 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02101/1.092, allocations: 11.56 MB / 0.826 GB, free: 60.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/1.092, allocations: 3.984 kB / 0.826 GB, free: 60.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00244/1.094, allocations: 0.636 MB / 0.8266 GB, free: 60.19 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001935/1.096, allocations: 477.3 kB / 0.8271 GB, free: 59.71 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002088/1.097, allocations: 87.08 kB / 0.8272 GB, free: 59.63 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004282/1.101, allocations: 6.506 MB / 0.8335 GB, free: 52.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.101, allocations: 4 kB / 0.8335 GB, free: 52.89 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009496/1.11, allocations: 6.564 MB / 0.8399 GB, free: 46.22 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003436/1.114, allocations: 0.9671 MB / 0.8409 GB, free: 45.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001238/1.115, allocations: 60 kB / 0.8409 GB, free: 45.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00339/1.118, allocations: 198.1 kB / 0.8411 GB, free: 45 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000426/1.119, allocations: 218 kB / 0.8413 GB, free: 44.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000365/1.119, allocations: 139.9 kB / 0.8415 GB, free: 44.65 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.005875/1.125, allocations: 3.489 MB / 0.8449 GB, free: 41.16 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/1.125, allocations: 0 / 0.8449 GB, free: 41.16 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.007073/1.132, allocations: 2.097 MB / 0.8469 GB, free: 39.06 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.001281/1.133, allocations: 486.9 kB / 0.8474 GB, free: 38.6 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.007538/1.141, allocations: 4.986 MB / 0.8523 GB, free: 33.54 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/1.141, allocations: 5 kB / 0.8523 GB, free: 33.53 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.003225/1.144, allocations: 2.37 MB / 0.8546 GB, free: 31.12 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01389/1.158, allocations: 2.894 MB / 0.8574 GB, free: 28.42 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02584/1.184, allocations: 12.68 MB / 0.8698 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003122/1.187, allocations: 3.728 MB / 0.8734 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.005157/1.192, allocations: 1.53 MB / 0.8749 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001433/1.194, allocations: 444.3 kB / 0.8753 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of SimCode: time 2.164e-06/1.194, allocations: 0 / 0.8753 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of Templates: time 0.4434/1.637, allocations: 102.3 MB / 0.9752 GB, free: 197.2 MB / 0.6824 GB " [Timeout remaining time 658] 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: 10.850218584993854]