Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001213/0.001213, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001413/0.001413, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8652/0.8652, allocations: 132.2 MB / 423.3 MB, free: 6.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001512, allocations: 71.88 kB / 0.5032 GB, free: 10.87 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4389/0.4404, allocations: 80.18 MB / 0.5815 GB, free: 27.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05035/0.4908, allocations: 55.99 MB / 0.6362 GB, free: 6.082 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02442/0.5153, allocations: 17.92 MB / 0.6537 GB, free: 4.102 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002808/0.5181, allocations: 79.56 kB / 0.6537 GB, free: 4.023 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002519/0.5207, allocations: 0.8924 MB / 0.6546 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006995/0.5277, allocations: 2.499 MB / 0.6571 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003822/0.5316, allocations: 1.536 MB / 0.6586 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0247/0.5563, allocations: 21.22 MB / 0.6793 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01498/0.5713, allocations: 10.7 MB / 0.6897 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01393/0.5853, allocations: 7.19 MB / 0.6967 GB, free: 7.828 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01106/0.5964, allocations: 6.374 MB / 0.703 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.003137/0.5995, allocations: 0.9375 MB / 0.7039 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009007/0.6086, allocations: 1.694 MB / 0.7055 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.004454/0.6131, allocations: 2.345 MB / 0.7078 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.01052/0.6236, allocations: 4.707 MB / 0.7124 GB, free: 7.719 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.02023/0.6439, allocations: 13.19 MB / 0.7253 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.353e-05/0.6439, allocations: 4 kB / 0.7253 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.376e-06/0.644, allocations: 0 / 0.7253 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0006153/0.6446, allocations: 4 kB / 0.7253 GB, free: 10.49 MB / 0.5606 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.02786/0.6725, allocations: 8.514 MB / 0.7336 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/0.6725, allocations: 8.031 kB / 0.7336 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00513/0.6777, allocations: 0.847 MB / 0.7345 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01596/0.6937, allocations: 6.709 MB / 0.741 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005718/0.6943, allocations: 456.2 kB / 0.7414 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003115/0.6974, allocations: 0.6015 MB / 0.742 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3568/1.054, allocations: 9.018 MB / 0.7508 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003868/1.055, allocations: 22.91 kB / 0.7509 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00216/1.057, allocations: 260.7 kB / 0.7511 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00032/1.057, allocations: 178 kB / 0.7513 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01948/1.077, allocations: 7.455 MB / 0.7586 GB, free: 147.1 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.04486/1.122, allocations: 35.98 MB / 0.7937 GB, free: 116.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005204/1.127, allocations: 4.289 MB / 0.7979 GB, free: 112.5 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003519/1.13, allocations: 3.311 MB / 0.8011 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001053/1.131, allocations: 0.9565 MB / 0.8021 GB, free: 108.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003006/1.134, allocations: 2.39 MB / 0.8044 GB, free: 105.7 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002451/1.137, allocations: 371.1 kB / 0.8047 GB, free: 105.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=317): time 1.061e-05/1.137, allocations: 0 / 0.8047 GB, free: 105.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=317): time 0.01075/1.148, allocations: 7.128 MB / 0.8117 GB, free: 98.11 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/1.148, allocations: 85.91 kB / 0.8118 GB, free: 98.01 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008992/1.157, allocations: 5.666 MB / 0.8173 GB, free: 92.37 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0007222/1.157, allocations: 91.52 kB / 0.8174 GB, free: 92.27 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.002406/1.16, allocations: 3.191 MB / 0.8205 GB, free: 89.07 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0013/1.161, allocations: 1.124 MB / 0.8216 GB, free: 87.95 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001188/1.162, allocations: 0.8503 MB / 0.8224 GB, free: 87.09 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.412e-05/1.162, allocations: 308.4 kB / 0.8227 GB, free: 86.79 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002651/1.165, allocations: 2.163 MB / 0.8249 GB, free: 84.62 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003211/1.168, allocations: 3.703 MB / 0.8285 GB, free: 80.25 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006072/1.174, allocations: 6.316 MB / 0.8346 GB, free: 73.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.622e-05/1.174, allocations: 15.94 kB / 0.8347 GB, free: 73.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.009186/1.184, allocations: 6.784 MB / 0.8413 GB, free: 66.45 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.552e-05/1.184, allocations: 55.88 kB / 0.8413 GB, free: 66.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.278e-05/1.184, allocations: 55.94 kB / 0.8414 GB, free: 66.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008601/1.185, allocations: 429.4 kB / 0.8418 GB, free: 65.92 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003079/1.188, allocations: 1.006 MB / 0.8428 GB, free: 64.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004474/1.192, allocations: 5.7 MB / 0.8483 GB, free: 58.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004381/1.197, allocations: 283.5 kB / 0.8486 GB, free: 58.67 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004987/1.197, allocations: 216 kB / 0.8488 GB, free: 58.46 MB / 0.5762 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.004782/1.202, allocations: 2.483 MB / 0.8512 GB, free: 55.96 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001747/1.204, allocations: 0.5327 MB / 0.8518 GB, free: 55.42 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007747/1.211, allocations: 5.267 MB / 0.8569 GB, free: 50.11 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.255e-05/1.212, allocations: 31.98 kB / 0.8569 GB, free: 50.08 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.278e-05/1.212, allocations: 8.188 kB / 0.8569 GB, free: 50.07 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005319/1.217, allocations: 4.525 MB / 0.8614 GB, free: 45.45 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01886/1.236, allocations: 11.97 MB / 0.8731 GB, free: 33.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/1.236, allocations: 0 / 0.8731 GB, free: 33.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002429/1.238, allocations: 0.6476 MB / 0.8737 GB, free: 32.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006627/1.239, allocations: 367.1 kB / 0.874 GB, free: 32.39 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001859/1.239, allocations: 83.95 kB / 0.8741 GB, free: 32.31 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004067/1.243, allocations: 5.632 MB / 0.8796 GB, free: 26.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/1.243, allocations: 1.797 kB / 0.8796 GB, free: 26.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009439/1.253, allocations: 7.765 MB / 0.8872 GB, free: 18.54 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003438/1.256, allocations: 1.154 MB / 0.8883 GB, free: 17.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001072/1.257, allocations: 71.92 kB / 0.8884 GB, free: 17.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002932/1.26, allocations: 195.9 kB / 0.8886 GB, free: 17.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003697/1.26, allocations: 194.2 kB / 0.8888 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002707/1.261, allocations: 143.9 kB / 0.8889 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005279/1.266, allocations: 3.959 MB / 0.8928 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.21e-07/1.266, allocations: 3.938 kB / 0.8928 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007612/1.274, allocations: 2.009 MB / 0.8947 GB, free: 10.83 MB / 0.5762 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.001555/1.275, allocations: 496.7 kB / 0.8952 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00762/1.283, allocations: 5.435 MB / 0.9005 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/1.283, allocations: 4 kB / 0.9005 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003481/1.286, allocations: 2.545 MB / 0.903 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01563/1.302, allocations: 3.396 MB / 0.9063 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02414/1.326, allocations: 13.87 MB / 0.9199 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00493/1.331, allocations: 4.632 MB / 0.9244 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.006454/1.338, allocations: 2.079 MB / 0.9264 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001848/1.34, allocations: 467.2 kB / 0.9269 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of SimCode: time 1.082e-06/1.34, allocations: 0 / 0.9269 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of Templates: time 0.4771/1.817, allocations: 114.8 MB / 1.039 GB, free: 207.3 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)