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.00143/0.00143, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001892/0.001892, allocations: 177 kB / 23.35 MB, free: 1.141 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.037/1.037, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.8124/0.8124, allocations: 154.9 MB / 415.1 MB, free: 224 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 2.695e-06/2.695e-06, allocations: 4 kB / 480.4 MB, free: 6.531 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.131e-05/2.401e-05, allocations: 2.312 kB / 480.4 MB, free: 6.527 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.01369/0.01372, allocations: 16.45 MB / 496.8 MB, free: 6.098 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.01092/0.02464, allocations: 6.232 MB / 0.4913 GB, free: 15.92 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002714/0.02735, allocations: 103.2 kB / 0.4914 GB, free: 15.82 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001511/0.02886, allocations: 0.5354 MB / 0.4919 GB, free: 15.28 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00418/0.03304, allocations: 1.809 MB / 0.4937 GB, free: 13.47 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003262/0.0363, allocations: 1.496 MB / 0.4951 GB, free: 11.98 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.01677/0.05308, allocations: 21.85 MB / 0.5165 GB, free: 6.09 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01306/0.06614, allocations: 7.675 MB / 0.524 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02128/0.08743, allocations: 10.07 MB / 0.5338 GB, free: 4.469 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01577/0.1032, allocations: 6.206 MB / 0.5398 GB, free: 14.26 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.003272/0.1065, allocations: 0.9219 MB / 0.5407 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004866/0.1113, allocations: 1.199 MB / 0.5419 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.003926/0.1153, allocations: 2.492 MB / 0.5444 GB, free: 9.637 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.007721/0.123, allocations: 3.333 MB / 0.5476 GB, free: 6.297 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.01083/0.1338, allocations: 7.974 MB / 0.5554 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.1338, allocations: 0 / 0.5554 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1338, allocations: 3.312 kB / 0.5554 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003498/0.1342, allocations: 0 / 0.5554 GB, free: 14.3 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.01205/0.1462, allocations: 7.741 MB / 0.563 GB, free: 6.504 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.1463, allocations: 12.72 kB / 0.563 GB, free: 6.492 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002849/0.1491, allocations: 1.269 MB / 0.5642 GB, free: 5.227 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007416/0.1565, allocations: 3.807 MB / 0.5679 GB, free: 1.363 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003124/0.1568, allocations: 456.6 kB / 0.5684 GB, free: 0.9141 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001172/0.158, allocations: 0.6102 MB / 0.569 GB, free: 312 kB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007599/0.1656, allocations: 6.047 MB / 0.5749 GB, free: 9.676 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001176/0.1657, allocations: 27.81 kB / 0.5749 GB, free: 9.648 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004523/0.1662, allocations: 264 kB / 0.5751 GB, free: 9.391 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001281/0.1663, allocations: 172 kB / 0.5753 GB, free: 9.223 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00386/0.1702, allocations: 2.097 MB / 0.5774 GB, free: 7.125 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.02736/0.1975, allocations: 18.99 MB / 0.5959 GB, free: 3.742 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002152/0.1997, allocations: 1.595 MB / 0.5975 GB, free: 2.145 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001744/0.2014, allocations: 1.22 MB / 0.5986 GB, free: 0.9258 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004319/0.2019, allocations: 164.8 kB / 0.5988 GB, free: 0.7656 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001675/0.2035, allocations: 2.083 MB / 0.6008 GB, free: 14.39 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001679/0.2052, allocations: 329.1 kB / 0.6012 GB, free: 14.07 MB / 0.573 GB Notification: Performance of pre-optimization done (n=317): time 9.288e-06/0.2052, allocations: 0 / 0.6012 GB, free: 14.07 MB / 0.573 GB Notification: Performance of matching and sorting (n=317): time 0.004154/0.2094, allocations: 2.201 MB / 0.6033 GB, free: 11.84 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/0.2094, allocations: 85.91 kB / 0.6034 GB, free: 11.74 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004473/0.2139, allocations: 3.671 MB / 0.607 GB, free: 8.055 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.000572/0.2145, allocations: 93.7 kB / 0.6071 GB, free: 7.957 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001759/0.2162, allocations: 2.535 MB / 0.6095 GB, free: 5.398 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001227/0.2175, allocations: 1.15 MB / 0.6107 GB, free: 4.238 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008898/0.2183, allocations: 0.7917 MB / 0.6114 GB, free: 3.434 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 6.9e-05/0.2184, allocations: 301.1 kB / 0.6117 GB, free: 3.137 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001147/0.2196, allocations: 0.5905 MB / 0.6123 GB, free: 2.531 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001499/0.2211, allocations: 2.097 MB / 0.6143 GB, free: 15.71 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002953/0.224, allocations: 3.026 MB / 0.6173 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-05/0.2241, allocations: 16 kB / 0.6173 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.004828/0.2289, allocations: 2.827 MB / 0.6201 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 6.554e-05/0.2289, allocations: 53.7 kB / 0.6201 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.065e-05/0.229, allocations: 48 kB / 0.6202 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0012/0.2302, allocations: 380.8 kB / 0.6205 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002325/0.2325, allocations: 1.01 MB / 0.6215 GB, free: 7.586 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003569/0.2361, allocations: 3.686 MB / 0.6251 GB, free: 3.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003081/0.2392, allocations: 179.8 kB / 0.6253 GB, free: 3.555 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005357/0.2397, allocations: 176 kB / 0.6255 GB, free: 3.383 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.002007/0.2417, allocations: 419 kB / 0.6259 GB, free: 2.961 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001035/0.2427, allocations: 399.5 kB / 0.6262 GB, free: 2.57 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002891/0.2456, allocations: 1.941 MB / 0.6281 GB, free: 0.5938 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.21e-05/0.2457, allocations: 35.98 kB / 0.6282 GB, free: 0.5586 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.866e-06/0.2457, allocations: 8 kB / 0.6282 GB, free: 0.5508 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001591/0.2473, allocations: 1.364 MB / 0.6295 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01036/0.2576, allocations: 5.236 MB / 0.6346 GB, free: 9.766 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.2576, allocations: 0 / 0.6346 GB, free: 9.766 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001663/0.2593, allocations: 0.636 MB / 0.6352 GB, free: 9.129 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009373/0.2602, allocations: 324.2 kB / 0.6356 GB, free: 8.809 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002248/0.2605, allocations: 71.95 kB / 0.6356 GB, free: 8.738 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002905/0.2634, allocations: 3.59 MB / 0.6391 GB, free: 4.977 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.2634, allocations: 3.938 kB / 0.6391 GB, free: 4.973 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00509/0.2684, allocations: 2.47 MB / 0.6415 GB, free: 2.41 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00216/0.2706, allocations: 0.6126 MB / 0.6421 GB, free: 1.797 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008198/0.2714, allocations: 64 kB / 0.6422 GB, free: 1.734 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001834/0.2733, allocations: 120 kB / 0.6423 GB, free: 1.617 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004091/0.2737, allocations: 198.1 kB / 0.6425 GB, free: 1.422 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002825/0.274, allocations: 95.83 kB / 0.6426 GB, free: 1.328 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.002654/0.2766, allocations: 1.866 MB / 0.6444 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2766, allocations: 4 kB / 0.6444 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.006121/0.2827, allocations: 2.007 MB / 0.6464 GB, free: 13.45 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.0008446/0.2836, allocations: 271.7 kB / 0.6466 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.004049/0.2876, allocations: 2.362 MB / 0.649 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 0.0001273/0.2878, allocations: 60.78 kB / 0.649 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001753/0.2895, allocations: 1.17 MB / 0.6502 GB, free: 9.477 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009854/0.2994, allocations: 2.8 MB / 0.6529 GB, free: 6.836 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04497/0.3443, allocations: 10.31 MB / 0.663 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004687/0.349, allocations: 1.419 MB / 0.6643 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.003884/0.3529, allocations: 0.8899 MB / 0.6652 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005119/0.358, allocations: 1.719 MB / 0.6669 GB, free: 8.348 MB / 0.6355 GB Notification: Performance of SimCode: time 2.054e-06/0.358, allocations: 0 / 0.6669 GB, free: 8.348 MB / 0.6355 GB Notification: Performance of Templates: time 0.493/0.8511, allocations: 108.4 MB / 0.7727 GB, free: 99.77 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.602091503795236]