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.0009566/0.0009566, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009407/0.0009407, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.957/0.957, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.8012/0.8012, allocations: 154.9 MB / 415.9 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.293e-06/1.293e-06, allocations: 0.7656 kB / 0.5219 GB, free: 1.586 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.513e-05/1.642e-05, allocations: 2.312 kB / 0.5219 GB, free: 1.582 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.01219/0.0122, allocations: 16.35 MB / 0.5378 GB, free: 1.188 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.008683/0.02088, allocations: 6.065 MB / 0.5438 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001419/0.0223, allocations: 103.2 kB / 0.5439 GB, free: 11.06 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0008735/0.02318, allocations: 0.5358 MB / 0.5444 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002615/0.02579, allocations: 1.812 MB / 0.5462 GB, free: 8.715 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002611/0.0284, allocations: 1.501 MB / 0.5476 GB, free: 7.219 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.01655/0.04496, allocations: 21.82 MB / 0.5689 GB, free: 1.344 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008225/0.05318, allocations: 7.382 MB / 0.5761 GB, free: 9.895 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01351/0.0667, allocations: 10.15 MB / 0.586 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009347/0.07605, allocations: 6.461 MB / 0.5924 GB, free: 9.367 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.002048/0.07809, allocations: 0.9258 MB / 0.5933 GB, free: 8.441 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003278/0.08137, allocations: 1.192 MB / 0.5944 GB, free: 7.25 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.002267/0.08364, allocations: 2.488 MB / 0.5969 GB, free: 4.754 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.004674/0.08831, allocations: 3.341 MB / 0.6001 GB, free: 1.406 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.008112/0.09642, allocations: 7.969 MB / 0.6079 GB, free: 9.414 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.09643, allocations: 0 / 0.6079 GB, free: 9.414 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.032e-06/0.09643, allocations: 0.5625 kB / 0.6079 GB, free: 9.414 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001493/0.09658, allocations: 0.7188 kB / 0.6079 GB, free: 9.414 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.009586/0.1062, allocations: 8.589 MB / 0.6163 GB, free: 0.7578 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.1062, allocations: 9.688 kB / 0.6163 GB, free: 0.75 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002604/0.1088, allocations: 1.512 MB / 0.6178 GB, free: 15.23 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005628/0.1144, allocations: 5.117 MB / 0.6228 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002513/0.1147, allocations: 460.6 kB / 0.6232 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006561/0.1153, allocations: 0.6175 MB / 0.6238 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006066/0.1214, allocations: 6.149 MB / 0.6298 GB, free: 2.133 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.914e-05/0.1215, allocations: 23.81 kB / 0.6298 GB, free: 2.109 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003843/0.1219, allocations: 264 kB / 0.6301 GB, free: 1.852 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001214/0.122, allocations: 176 kB / 0.6303 GB, free: 1.68 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002841/0.1249, allocations: 1.965 MB / 0.6322 GB, free: 15.7 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.02345/0.1483, allocations: 26.75 MB / 0.6583 GB, free: 4.387 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001979/0.1503, allocations: 1.637 MB / 0.6599 GB, free: 2.762 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001323/0.1516, allocations: 1.314 MB / 0.6612 GB, free: 1.445 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003977/0.152, allocations: 166.3 kB / 0.6613 GB, free: 1.281 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001545/0.1535, allocations: 2.082 MB / 0.6634 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001386/0.1549, allocations: 321.8 kB / 0.6637 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=317): time 7.284e-06/0.1549, allocations: 4 kB / 0.6637 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of matching and sorting (n=317): time 0.004354/0.1593, allocations: 2.896 MB / 0.6665 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.708e-05/0.1593, allocations: 85.91 kB / 0.6666 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003412/0.1628, allocations: 4.107 MB / 0.6706 GB, free: 7.414 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.000168/0.1629, allocations: 85.7 kB / 0.6707 GB, free: 7.324 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.002276/0.1652, allocations: 3.538 MB / 0.6741 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007929/0.166, allocations: 1.228 MB / 0.6753 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008597/0.1669, allocations: 0.949 MB / 0.6763 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.167, allocations: 476.8 kB / 0.6767 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006846/0.1676, allocations: 0.5216 MB / 0.6772 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4589/0.6265, allocations: 2.898 MB / 0.6801 GB, free: 155.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002751/0.6293, allocations: 3.722 MB / 0.6837 GB, free: 152.5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-05/0.6293, allocations: 13.97 kB / 0.6837 GB, free: 152.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.004276/0.6335, allocations: 3.527 MB / 0.6872 GB, free: 152.3 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.554e-05/0.6336, allocations: 55.55 kB / 0.6872 GB, free: 152.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.132e-05/0.6336, allocations: 49.97 kB / 0.6873 GB, free: 152.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001029/0.6347, allocations: 406 kB / 0.6876 GB, free: 152.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001831/0.6365, allocations: 0.9553 MB / 0.6886 GB, free: 152.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002638/0.6391, allocations: 5.155 MB / 0.6936 GB, free: 148.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002724/0.6418, allocations: 176.9 kB / 0.6938 GB, free: 148.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000218/0.6421, allocations: 181.3 kB / 0.694 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.001814/0.6439, allocations: 455.8 kB / 0.6944 GB, free: 148.2 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006025/0.6445, allocations: 0.5877 MB / 0.695 GB, free: 148.2 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002577/0.6471, allocations: 2.369 MB / 0.6973 GB, free: 148 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.875e-05/0.6471, allocations: 35.47 kB / 0.6973 GB, free: 148 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.6471, allocations: 6.625 kB / 0.6973 GB, free: 148 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001671/0.6488, allocations: 1.777 MB / 0.6991 GB, free: 147.5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007005/0.6558, allocations: 6.253 MB / 0.7052 GB, free: 147 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.6558, allocations: 6.562 kB / 0.7052 GB, free: 147 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001284/0.6571, allocations: 0.5807 MB / 0.7057 GB, free: 147 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008858/0.6579, allocations: 337.9 kB / 0.7061 GB, free: 147 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001349/0.6581, allocations: 86.17 kB / 0.7061 GB, free: 147 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002411/0.6605, allocations: 5.066 MB / 0.7111 GB, free: 143.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.6605, allocations: 3.031 kB / 0.7111 GB, free: 143.1 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004265/0.6648, allocations: 3.089 MB / 0.7141 GB, free: 142.5 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001715/0.6665, allocations: 0.8668 MB / 0.715 GB, free: 142.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005318/0.667, allocations: 70.72 kB / 0.715 GB, free: 142.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001405/0.6684, allocations: 114.4 kB / 0.7151 GB, free: 142.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002785/0.6687, allocations: 204.4 kB / 0.7153 GB, free: 142.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001823/0.6689, allocations: 122.1 kB / 0.7154 GB, free: 142.2 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001994/0.6709, allocations: 1.974 MB / 0.7174 GB, free: 142 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2e-07/0.6709, allocations: 0 / 0.7174 GB, free: 142 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.004826/0.6757, allocations: 2.013 MB / 0.7193 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.0005191/0.6762, allocations: 294.6 kB / 0.7196 GB, free: 141.7 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003492/0.6797, allocations: 2.769 MB / 0.7223 GB, free: 141.1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.6797, allocations: 5.828 kB / 0.7223 GB, free: 141.1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001207/0.6809, allocations: 1.438 MB / 0.7237 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.005724/0.6866, allocations: 2.831 MB / 0.7265 GB, free: 140.4 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01133/0.698, allocations: 10.7 MB / 0.7369 GB, free: 135.2 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001138/0.6991, allocations: 1.786 MB / 0.7387 GB, free: 134.7 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002914/0.702, allocations: 0.8831 MB / 0.7395 GB, free: 134.4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003805/0.7058, allocations: 2.018 MB / 0.7415 GB, free: 134.3 MB / 0.6355 GB Notification: Performance of SimCode: time 1.754e-06/0.7058, allocations: 4 kB / 0.7415 GB, free: 134.3 MB / 0.6355 GB Notification: Performance of Templates: time 0.1104/0.8162, allocations: 109.9 MB / 0.8488 GB, free: 32.72 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.643473769072443]