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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 187.8 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9468/0.9468, allocations: 135.6 MB / 425.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 69.03 kB / 0.5054 GB, free: 5.199 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1647, allocations: 81.02 MB / 0.5845 GB, free: 4.316 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.3117/0.4764, allocations: 55.5 MB / 0.6387 GB, free: 20.62 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01786/0.4943, allocations: 17.76 MB / 0.656 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002819/0.4972, allocations: 69.56 kB / 0.6561 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002803/0.5, allocations: 0.7638 MB / 0.6569 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007124/0.5071, allocations: 2.313 MB / 0.6591 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004622/0.5118, allocations: 1.406 MB / 0.6605 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.02604/0.5378, allocations: 21.3 MB / 0.6813 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01648/0.5544, allocations: 10.61 MB / 0.6917 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01877/0.5732, allocations: 7.244 MB / 0.6987 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0132/0.5864, allocations: 6.568 MB / 0.7051 GB, free: 328 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.006268/0.5927, allocations: 1.189 MB / 0.7063 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009245/0.602, allocations: 1.694 MB / 0.708 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.005666/0.6077, allocations: 2.322 MB / 0.7102 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.01144/0.6192, allocations: 4.696 MB / 0.7148 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01778/0.637, allocations: 13.02 MB / 0.7275 GB, free: 10.12 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.637, allocations: 0 / 0.7275 GB, free: 10.12 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.255e-06/0.6371, allocations: 0 / 0.7275 GB, free: 10.12 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0004177/0.6375, allocations: 4 kB / 0.7275 GB, free: 10.12 MB / 0.545 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.02161/0.6591, allocations: 8.503 MB / 0.7358 GB, free: 1.52 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.6592, allocations: 12.03 kB / 0.7358 GB, free: 1.508 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004188/0.6634, allocations: 0.847 MB / 0.7367 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01431/0.6777, allocations: 6.632 MB / 0.7431 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004837/0.6782, allocations: 460.2 kB / 0.7436 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002237/0.6805, allocations: 0.5975 MB / 0.7442 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02167/0.7021, allocations: 9.027 MB / 0.753 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000193/0.7024, allocations: 19.78 kB / 0.753 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001451/0.7038, allocations: 260 kB / 0.7532 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001982/0.704, allocations: 179.9 kB / 0.7534 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01715/0.7212, allocations: 7.453 MB / 0.7607 GB, free: 7.66 MB / 0.5762 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.05749/0.7787, allocations: 35.89 MB / 0.7958 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006801/0.7856, allocations: 4.287 MB / 0.7999 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004962/0.7906, allocations: 3.312 MB / 0.8032 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001446/0.792, allocations: 0.9544 MB / 0.8041 GB, free: 8.969 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004369/0.7964, allocations: 2.398 MB / 0.8064 GB, free: 6.535 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002884/0.7993, allocations: 407.9 kB / 0.8068 GB, free: 6.133 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=317): time 8.486e-06/0.7993, allocations: 0 / 0.8068 GB, free: 6.133 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317): time 0.01344/0.8128, allocations: 7.136 MB / 0.8138 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.311e-05/0.8129, allocations: 85.89 kB / 0.8139 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008641/0.8215, allocations: 5.467 MB / 0.8192 GB, free: 9.363 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0008233/0.8224, allocations: 85.7 kB / 0.8193 GB, free: 9.273 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.003766/0.8262, allocations: 3.196 MB / 0.8224 GB, free: 6.043 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002125/0.8283, allocations: 1.117 MB / 0.8235 GB, free: 4.91 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001478/0.8298, allocations: 0.858 MB / 0.8244 GB, free: 4.039 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.83, allocations: 305.1 kB / 0.8246 GB, free: 3.738 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003534/0.8335, allocations: 2.163 MB / 0.8268 GB, free: 1.566 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004827/0.8383, allocations: 3.689 MB / 0.8304 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008855/0.8472, allocations: 6.327 MB / 0.8365 GB, free: 6.129 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.963e-05/0.8473, allocations: 12 kB / 0.8366 GB, free: 6.117 MB / 0.6544 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01254/0.8598, allocations: 6.772 MB / 0.8432 GB, free: 15.29 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.026e-05/0.8599, allocations: 53.7 kB / 0.8432 GB, free: 15.23 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.207e-05/0.86, allocations: 52 kB / 0.8433 GB, free: 15.18 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/0.861, allocations: 439.9 kB / 0.8437 GB, free: 14.75 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003678/0.8647, allocations: 1.01 MB / 0.8447 GB, free: 13.74 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007235/0.872, allocations: 5.695 MB / 0.8502 GB, free: 7.77 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006397/0.8784, allocations: 470.8 kB / 0.8507 GB, free: 7.309 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008224/0.8793, allocations: 216 kB / 0.8509 GB, free: 7.098 MB / 0.67 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.005135/0.8844, allocations: 2.479 MB / 0.8533 GB, free: 4.605 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001886/0.8863, allocations: 0.5249 MB / 0.8538 GB, free: 4.074 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2753/1.162, allocations: 5.265 MB / 0.859 GB, free: 200.5 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.72e-05/1.162, allocations: 36.38 kB / 0.859 GB, free: 200.5 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/1.162, allocations: 3.438 kB / 0.859 GB, free: 200.5 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0055/1.167, allocations: 4.544 MB / 0.8634 GB, free: 199.5 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01778/1.185, allocations: 11.94 MB / 0.8751 GB, free: 194.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/1.185, allocations: 0 / 0.8751 GB, free: 194.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002415/1.187, allocations: 0.651 MB / 0.8757 GB, free: 194.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007266/1.188, allocations: 374.3 kB / 0.8761 GB, free: 194.8 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002083/1.188, allocations: 86.42 kB / 0.8762 GB, free: 194.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003964/1.192, allocations: 5.618 MB / 0.8817 GB, free: 190.7 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.192, allocations: 0 / 0.8817 GB, free: 190.7 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01006/1.202, allocations: 7.756 MB / 0.8892 GB, free: 187.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003024/1.205, allocations: 1.14 MB / 0.8903 GB, free: 187.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009702/1.206, allocations: 69.44 kB / 0.8904 GB, free: 187.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003509/1.21, allocations: 461 kB / 0.8908 GB, free: 187.4 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004409/1.21, allocations: 194.3 kB / 0.891 GB, free: 187.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000279/1.211, allocations: 153 kB / 0.8912 GB, free: 187.3 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.005269/1.216, allocations: 3.802 MB / 0.8949 GB, free: 186.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 2e-07/1.216, allocations: 0 / 0.8949 GB, free: 186.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005918/1.222, allocations: 1.988 MB / 0.8968 GB, free: 185.8 MB / 0.67 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.001244/1.223, allocations: 493.7 kB / 0.8973 GB, free: 185.7 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02149/1.245, allocations: 11.63 MB / 0.9087 GB, free: 183.6 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/1.245, allocations: 3.125 kB / 0.9087 GB, free: 183.6 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.004102/1.249, allocations: 2.548 MB / 0.9112 GB, free: 182.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01562/1.264, allocations: 3.397 MB / 0.9145 GB, free: 181.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02059/1.285, allocations: 16.6 MB / 0.9307 GB, free: 173.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004475/1.29, allocations: 4.624 MB / 0.9352 GB, free: 170.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.006752/1.296, allocations: 2.032 MB / 0.9372 GB, free: 169.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001406/1.298, allocations: 453.8 kB / 0.9376 GB, free: 168.9 MB / 0.67 GB Notification: Performance of SimCode: time 1.093e-06/1.298, allocations: 0 / 0.9376 GB, free: 168.9 MB / 0.67 GB Notification: Performance of Templates: time 0.1485/1.446, allocations: 119.7 MB / 1.054 GB, free: 52.35 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)