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.001374/0.001374, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 196 kB / 16.79 MB, free: 6.809 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 / 240.5 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9261/0.9261, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001256, allocations: 63.33 kB / 0.5053 GB, free: 5.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1831, allocations: 80.92 MB / 0.5843 GB, free: 5.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.3512/0.5344, allocations: 55.62 MB / 0.6387 GB, free: 21.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01998/0.5544, allocations: 17.91 MB / 0.6561 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003319/0.5578, allocations: 69.56 kB / 0.6562 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002872/0.5607, allocations: 0.7155 MB / 0.6569 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006297/0.567, allocations: 2.319 MB / 0.6592 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00373/0.5708, allocations: 1.391 MB / 0.6605 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.02819/0.599, allocations: 27.77 MB / 0.6877 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01413/0.6132, allocations: 8.731 MB / 0.6962 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01297/0.6262, allocations: 5.53 MB / 0.7016 GB, free: 5.457 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01219/0.6384, allocations: 6.196 MB / 0.7076 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.002394/0.6408, allocations: 475.9 kB / 0.7081 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006068/0.6469, allocations: 1.151 MB / 0.7092 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.003545/0.6505, allocations: 1.798 MB / 0.711 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.009053/0.6596, allocations: 4.117 MB / 0.715 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.012/0.6716, allocations: 10.63 MB / 0.7254 GB, free: 13.12 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.6717, allocations: 3.938 kB / 0.7254 GB, free: 13.12 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6717, allocations: 0 / 0.7254 GB, free: 13.12 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0004471/0.6721, allocations: 0 / 0.7254 GB, free: 13.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.02243/0.6946, allocations: 8.501 MB / 0.7337 GB, free: 4.527 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.6946, allocations: 8.031 kB / 0.7337 GB, free: 4.52 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004393/0.699, allocations: 0.8509 MB / 0.7345 GB, free: 3.66 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01369/0.7127, allocations: 6.628 MB / 0.741 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004633/0.7132, allocations: 472.1 kB / 0.7414 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002075/0.7153, allocations: 0.6014 MB / 0.742 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02095/0.7363, allocations: 9.023 MB / 0.7508 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001927/0.7365, allocations: 23.77 kB / 0.7509 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001511/0.738, allocations: 268 kB / 0.7511 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001918/0.7382, allocations: 179.9 kB / 0.7513 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01676/0.755, allocations: 7.445 MB / 0.7586 GB, free: 10.65 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.05405/0.8091, allocations: 35.89 MB / 0.7936 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006936/0.8161, allocations: 4.273 MB / 0.7978 GB, free: 452 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004931/0.8211, allocations: 3.318 MB / 0.801 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001299/0.8224, allocations: 0.9544 MB / 0.802 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004121/0.8265, allocations: 2.39 MB / 0.8043 GB, free: 9.555 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002693/0.8292, allocations: 447.8 kB / 0.8047 GB, free: 9.113 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=317): time 8.997e-06/0.8293, allocations: 0 / 0.8047 GB, free: 9.113 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317): time 0.01431/0.8436, allocations: 7.109 MB / 0.8117 GB, free: 1.914 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.865e-05/0.8437, allocations: 89.84 kB / 0.8117 GB, free: 1.812 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009352/0.853, allocations: 5.459 MB / 0.8171 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0007382/0.8538, allocations: 85.7 kB / 0.8172 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.003396/0.8572, allocations: 3.196 MB / 0.8203 GB, free: 9.055 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001802/0.859, allocations: 1.117 MB / 0.8214 GB, free: 7.922 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001517/0.8606, allocations: 0.8541 MB / 0.8222 GB, free: 7.055 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.919e-05/0.8607, allocations: 305.1 kB / 0.8225 GB, free: 6.754 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003523/0.8642, allocations: 2.156 MB / 0.8246 GB, free: 4.59 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004764/0.869, allocations: 3.681 MB / 0.8282 GB, free: 208 kB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008987/0.878, allocations: 6.307 MB / 0.8343 GB, free: 9.18 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.331e-05/0.8781, allocations: 16 kB / 0.8344 GB, free: 9.164 MB / 0.6544 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01279/0.8909, allocations: 6.74 MB / 0.8409 GB, free: 2.371 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.913e-05/0.891, allocations: 56.83 kB / 0.841 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.088e-05/0.8911, allocations: 59.92 kB / 0.8411 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/0.8921, allocations: 432.4 kB / 0.8415 GB, free: 1.828 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004053/0.8962, allocations: 1.002 MB / 0.8424 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005851/0.9021, allocations: 5.264 MB / 0.8476 GB, free: 11.29 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005411/0.9075, allocations: 462.8 kB / 0.848 GB, free: 10.84 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008534/0.9084, allocations: 220 kB / 0.8482 GB, free: 10.62 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.004898/0.9133, allocations: 2.49 MB / 0.8507 GB, free: 8.121 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001705/0.9151, allocations: 0.5249 MB / 0.8512 GB, free: 7.59 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01021/0.9253, allocations: 5.248 MB / 0.8563 GB, free: 2.297 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-05/0.9253, allocations: 28 kB / 0.8563 GB, free: 2.27 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.394e-05/0.9254, allocations: 11.94 kB / 0.8563 GB, free: 2.258 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3263/1.252, allocations: 4.515 MB / 0.8608 GB, free: 201.3 MB / 0.67 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 postOpt removeSimpleEquations (simulation): time 0.02324/1.275, allocations: 11.95 MB / 0.8724 GB, free: 197.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/1.275, allocations: 3.156 kB / 0.8724 GB, free: 197.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002635/1.278, allocations: 0.6414 MB / 0.8731 GB, free: 197.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000805/1.278, allocations: 372 kB / 0.8734 GB, free: 197.1 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002777/1.279, allocations: 86.3 kB / 0.8735 GB, free: 197.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004327/1.283, allocations: 5.187 MB / 0.8786 GB, free: 193.4 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.283, allocations: 3.875 kB / 0.8786 GB, free: 193.4 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01106/1.294, allocations: 7.609 MB / 0.886 GB, free: 190.6 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003578/1.298, allocations: 1.131 MB / 0.8871 GB, free: 190.2 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001629/1.3, allocations: 65.48 kB / 0.8872 GB, free: 190.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004776/1.304, allocations: 465.5 kB / 0.8876 GB, free: 190.2 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000534/1.305, allocations: 205 kB / 0.8878 GB, free: 190.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004087/1.305, allocations: 140.4 kB / 0.8879 GB, free: 190.1 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.008002/1.313, allocations: 3.806 MB / 0.8917 GB, free: 188.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.423e-06/1.313, allocations: 2.844 kB / 0.8917 GB, free: 188.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.008724/1.322, allocations: 1.99 MB / 0.8936 GB, free: 188.6 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.001803/1.324, allocations: 485.2 kB / 0.8941 GB, free: 188.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.009523/1.333, allocations: 5.37 MB / 0.8993 GB, free: 186.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-05/1.333, allocations: 7.125 kB / 0.8993 GB, free: 186.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.004285/1.338, allocations: 2.493 MB / 0.9017 GB, free: 185.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01745/1.355, allocations: 3.234 MB / 0.9049 GB, free: 184.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02889/1.384, allocations: 16.51 MB / 0.921 GB, free: 176.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006193/1.39, allocations: 4.546 MB / 0.9255 GB, free: 174.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002297/1.393, allocations: 489.4 kB / 0.9259 GB, free: 174.6 MB / 0.67 GB Notification: Performance of SimCode: time 1.022e-06/1.393, allocations: 0 / 0.9259 GB, free: 174.6 MB / 0.67 GB Notification: Performance of Templates: time 0.2043/1.597, allocations: 185.8 MB / 1.107 GB, free: 14.66 MB / 0.6856 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)