Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") translateModel(IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002189/0.002189, allocations: 174 kB / 7.644 MB, free: 1.41 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9399/0.9399, allocations: 130.7 MB / 138.7 MB, free: 3.633 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.631/1.631, allocations: 221.5 MB / 391.8 MB, free: 14.17 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 99.14 kB / 473.9 MB, free: 4.48 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.81e-05/1.812e-05, allocations: 0 / 0.5485 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5806/0.5806, allocations: 81.57 MB / 0.6282 GB, free: 42.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.03/1.611, allocations: 386.6 MB / 1.006 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003122/1.611, allocations: 87.58 kB / 1.006 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.291/5.902, allocations: 0.985 GB / 1.991 GB, free: 93.25 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.126e-06/5.902, allocations: 0 / 1.991 GB, free: 93.25 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0006656/5.903, allocations: 79.06 kB / 1.991 GB, free: 93.17 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 586 * Number of variables: 586 Notification: Performance of Generate backend data structure: time 0.01104/5.914, allocations: 2.694 MB / 1.993 GB, free: 90.44 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.931e-05/5.914, allocations: 12.03 kB / 1.993 GB, free: 90.43 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002973/5.917, allocations: 360 kB / 1.994 GB, free: 90.07 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009811/5.926, allocations: 3.106 MB / 1.997 GB, free: 86.98 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001988/5.927, allocations: 76 kB / 1.997 GB, free: 86.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001323/5.928, allocations: 136 kB / 1.997 GB, free: 86.77 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006706/5.935, allocations: 2.207 MB / 1.999 GB, free: 84.55 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009013/5.944, allocations: 2.656 MB / 2.002 GB, free: 81.77 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001348/5.944, allocations: 7.938 kB / 2.002 GB, free: 81.76 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007524/5.945, allocations: 8 kB / 2.002 GB, free: 81.75 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.383e-05/5.945, allocations: 63.98 kB / 2.002 GB, free: 81.69 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.02457/5.97, allocations: 12.59 MB / 2.014 GB, free: 68.37 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002249/5.972, allocations: 1.558 MB / 2.016 GB, free: 66.79 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001453/5.973, allocations: 1.09 MB / 2.017 GB, free: 65.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008383/5.974, allocations: 0.7261 MB / 2.017 GB, free: 64.84 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.599e-05/5.974, allocations: 55.75 kB / 2.018 GB, free: 64.78 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002248/5.976, allocations: 195.6 kB / 2.018 GB, free: 64.59 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=126): time 6.663e-06/5.976, allocations: 0 / 2.018 GB, free: 64.59 MB / 0.6823 GB Notification: Performance of matching and sorting (n=126): time 0.003034/5.98, allocations: 1.633 MB / 2.019 GB, free: 62.93 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.26e-05/5.98, allocations: 141.8 kB / 2.019 GB, free: 62.76 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002601/5.982, allocations: 1.761 MB / 2.021 GB, free: 60.96 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001397/5.982, allocations: 29.7 kB / 2.021 GB, free: 60.93 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001343/5.984, allocations: 1.261 MB / 2.022 GB, free: 59.66 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004286/5.984, allocations: 425.8 kB / 2.023 GB, free: 59.23 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.054e-05/5.984, allocations: 0 / 2.023 GB, free: 59.23 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001491/5.984, allocations: 373.9 kB / 2.023 GB, free: 58.86 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008383/5.985, allocations: 0.6598 MB / 2.024 GB, free: 58.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/5.986, allocations: 1.171 MB / 2.025 GB, free: 56.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001397/5.988, allocations: 0.9156 MB / 2.026 GB, free: 55.89 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.939e-06/5.988, allocations: 4 kB / 2.026 GB, free: 55.88 MB / 0.6823 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.003235/5.991, allocations: 2.176 MB / 2.028 GB, free: 53.69 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001901/5.993, allocations: 5.698 MB / 2.034 GB, free: 47.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.724e-05/5.993, allocations: 16 kB / 2.034 GB, free: 47.51 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001604/5.995, allocations: 431 kB / 2.034 GB, free: 47.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/5.996, allocations: 355.4 kB / 2.034 GB, free: 46.74 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002945/5.999, allocations: 2.992 MB / 2.037 GB, free: 43.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002706/6.002, allocations: 191.5 kB / 2.037 GB, free: 43.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001621/6.002, allocations: 79.97 kB / 2.038 GB, free: 43.35 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/6.002, allocations: 4 kB / 2.038 GB, free: 43.34 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003123/6.005, allocations: 1.915 MB / 2.039 GB, free: 41.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/6.005, allocations: 16 kB / 2.039 GB, free: 41.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004917/6.005, allocations: 201.7 kB / 2.04 GB, free: 41.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/6.007, allocations: 383.3 kB / 2.04 GB, free: 40.83 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00322/6.01, allocations: 3.76 MB / 2.044 GB, free: 36.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002684/6.013, allocations: 183.6 kB / 2.044 GB, free: 36.67 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001563/6.013, allocations: 83.97 kB / 2.044 GB, free: 36.59 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.onOffBot.y,onOffBot.y,$PRE.onOffMid.y,onOffMid.y,and2.y,nor.y,$PRE.onOffHea.y,onOffHea.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 180 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 19} Notification: Performance of prepare postOptimizeDAE: time 0.0005258/6.013, allocations: 148.5 kB / 2.044 GB, free: 36.43 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004443/6.014, allocations: 205.5 kB / 2.044 GB, free: 36.23 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003421/6.017, allocations: 1.871 MB / 2.046 GB, free: 34.34 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/6.017, allocations: 15.94 kB / 2.046 GB, free: 34.33 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/6.017, allocations: 4 kB / 2.046 GB, free: 34.32 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001963/6.019, allocations: 1.5 MB / 2.048 GB, free: 32.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007569/6.027, allocations: 4.157 MB / 2.052 GB, free: 28.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/6.027, allocations: 0 / 2.052 GB, free: 28.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009129/6.028, allocations: 211.7 kB / 2.052 GB, free: 28.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001405/6.029, allocations: 401.5 kB / 2.052 GB, free: 27.99 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.824e-05/6.029, allocations: 19.98 kB / 2.052 GB, free: 27.97 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002535/6.032, allocations: 2.923 MB / 2.055 GB, free: 24.92 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/6.032, allocations: 4.031 kB / 2.055 GB, free: 24.91 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004059/6.036, allocations: 2.854 MB / 2.058 GB, free: 21.97 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001636/6.038, allocations: 0.5257 MB / 2.058 GB, free: 21.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002954/6.038, allocations: 11.98 kB / 2.058 GB, free: 21.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001416/6.039, allocations: 163.6 kB / 2.059 GB, free: 21.25 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002384/6.04, allocations: 109 kB / 2.059 GB, free: 21.14 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/6.04, allocations: 59.95 kB / 2.059 GB, free: 21.09 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001985/6.042, allocations: 1.334 MB / 2.06 GB, free: 19.73 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.91e-07/6.042, allocations: 3.938 kB / 2.06 GB, free: 19.73 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005215/6.047, allocations: 1.46 MB / 2.061 GB, free: 18.27 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 5 (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) * Number of discrete variables: 5 (onOffBot.y,onOffMid.y,and2.y,nor.y,onOffHea.y) * Number of discrete states: 3 (onOffMid.y,onOffBot.y,onOffHea.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001462/6.048, allocations: 0.556 MB / 2.062 GB, free: 17.77 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004783/6.053, allocations: 3.1 MB / 2.065 GB, free: 14.65 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/6.053, allocations: 4 kB / 2.065 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001182/6.054, allocations: 0.9233 MB / 2.066 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005951/6.06, allocations: 1.069 MB / 2.067 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/6.07, allocations: 4.241 MB / 2.071 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002069/6.072, allocations: 2.226 MB / 2.073 GB, free: 6.148 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.004714/6.077, allocations: 1.393 MB / 2.075 GB, free: 4.785 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004172/6.078, allocations: 135.4 kB / 2.075 GB, free: 4.652 MB / 0.6823 GB Notification: Performance of SimCode: time 1.002e-06/6.078, allocations: 0 / 2.075 GB, free: 4.652 MB / 0.6823 GB Notification: Performance of Templates: time 0.6161/6.694, allocations: 45.34 MB / 2.119 GB, free: 119.4 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile (rm -f IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)