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.001183/0.001184, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7299/0.7299, allocations: 130.5 MB / 143.8 MB, free: 13.57 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.729/1.729, allocations: 221.3 MB / 396.8 MB, free: 9.121 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 98.58 kB / 479 MB, free: 10.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.322e-05/4.324e-05, allocations: 2.75 kB / 0.5551 GB, free: 86.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2181, allocations: 81.59 MB / 0.6348 GB, free: 12.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.602/1.82, allocations: 387.3 MB / 1.013 GB, free: 204 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/1.82, allocations: 90.8 kB / 1.013 GB, free: 204 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.65/5.47, allocations: 0.9898 GB / 2.003 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.144e-06/5.47, allocations: 0 / 2.003 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003665/5.47, allocations: 79.92 kB / 2.003 GB, free: 15.76 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.007208/5.477, allocations: 2.708 MB / 2.006 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/5.478, allocations: 8.031 kB / 2.006 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001735/5.479, allocations: 356 kB / 2.006 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006618/5.486, allocations: 3.099 MB / 2.009 GB, free: 9.48 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/5.486, allocations: 176.6 kB / 2.009 GB, free: 9.305 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004488/5.487, allocations: 243.9 kB / 2.009 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005006/5.492, allocations: 2.987 MB / 2.012 GB, free: 5.941 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.83e-05/5.492, allocations: 8 kB / 2.012 GB, free: 5.934 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002336/5.492, allocations: 96 kB / 2.012 GB, free: 5.84 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.416e-05/5.492, allocations: 71.92 kB / 2.012 GB, free: 5.77 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003461/5.495, allocations: 2.336 MB / 2.015 GB, free: 3.418 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.6245/6.12, allocations: 12.97 MB / 2.027 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003094/6.123, allocations: 1.625 MB / 2.029 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001699/6.125, allocations: 1.12 MB / 2.03 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007472/6.126, allocations: 0.7108 MB / 2.031 GB, free: 99.65 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.307e-05/6.126, allocations: 52.41 kB / 2.031 GB, free: 99.61 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002288/6.128, allocations: 226.7 kB / 2.031 GB, free: 99.58 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=126): time 6.462e-06/6.128, allocations: 2.156 kB / 2.031 GB, free: 99.58 MB / 0.6823 GB Notification: Performance of matching and sorting (n=126): time 0.003296/6.131, allocations: 1.702 MB / 2.033 GB, free: 99.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.869e-05/6.131, allocations: 141.1 kB / 2.033 GB, free: 99.24 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003348/6.135, allocations: 1.888 MB / 2.035 GB, free: 99.01 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002328/6.135, allocations: 61.83 kB / 2.035 GB, free: 98.98 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001506/6.136, allocations: 1.254 MB / 2.036 GB, free: 98.59 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005222/6.137, allocations: 449.3 kB / 2.036 GB, free: 98.38 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.385e-05/6.137, allocations: 33.09 kB / 2.036 GB, free: 98.38 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000148/6.137, allocations: 380.9 kB / 2.037 GB, free: 98.07 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001269/6.138, allocations: 0.6876 MB / 2.037 GB, free: 98.06 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001563/6.14, allocations: 1.222 MB / 2.039 GB, free: 97.46 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001815/6.142, allocations: 0.9234 MB / 2.039 GB, free: 97.45 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.698e-05/6.142, allocations: 7.344 kB / 2.039 GB, free: 97.45 MB / 0.6823 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.005184/6.147, allocations: 2.327 MB / 2.042 GB, free: 97.26 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001318/6.148, allocations: 5.707 MB / 2.047 GB, free: 91.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.944e-05/6.148, allocations: 16.81 kB / 2.047 GB, free: 91.31 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002085/6.151, allocations: 477.8 kB / 2.048 GB, free: 91.29 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001502/6.152, allocations: 354.6 kB / 2.048 GB, free: 91.29 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003289/6.155, allocations: 3.093 MB / 2.051 GB, free: 89.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003149/6.159, allocations: 226.8 kB / 2.051 GB, free: 89.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002546/6.159, allocations: 80.42 kB / 2.051 GB, free: 89.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/6.159, allocations: 3.312 kB / 2.051 GB, free: 89.4 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004059/6.163, allocations: 2.109 MB / 2.054 GB, free: 89.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.254e-05/6.163, allocations: 14.5 kB / 2.054 GB, free: 89.35 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006894/6.164, allocations: 239 kB / 2.054 GB, free: 89.33 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/6.165, allocations: 373.2 kB / 2.054 GB, free: 89.33 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004387/6.17, allocations: 4.156 MB / 2.058 GB, free: 86.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003031/6.173, allocations: 215.1 kB / 2.058 GB, free: 86.63 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002858/6.173, allocations: 81.81 kB / 2.058 GB, free: 86.63 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 (179): * Single equations (assignments): 177 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.000706/6.174, allocations: 212.7 kB / 2.059 GB, free: 86.52 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007949/6.174, allocations: 207.4 kB / 2.059 GB, free: 86.42 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003967/6.178, allocations: 1.989 MB / 2.061 GB, free: 86.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.987e-05/6.178, allocations: 20.59 kB / 2.061 GB, free: 86.29 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/6.178, allocations: 4.125 kB / 2.061 GB, free: 86.29 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002264/6.181, allocations: 1.585 MB / 2.062 GB, free: 86.18 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009529/6.19, allocations: 4.606 MB / 2.067 GB, free: 85.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.816e-06/6.19, allocations: 7.453 kB / 2.067 GB, free: 85.75 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008741/6.191, allocations: 211.3 kB / 2.067 GB, free: 85.75 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00161/6.193, allocations: 429.9 kB / 2.067 GB, free: 85.73 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000129/6.193, allocations: 37.61 kB / 2.068 GB, free: 85.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003083/6.196, allocations: 3.013 MB / 2.07 GB, free: 83.85 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/6.196, allocations: 5.406 kB / 2.07 GB, free: 83.85 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00493/6.201, allocations: 2.932 MB / 2.073 GB, free: 83.44 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001868/6.203, allocations: 0.5275 MB / 2.074 GB, free: 83.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003213/6.203, allocations: 29.02 kB / 2.074 GB, free: 83.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001475/6.205, allocations: 187.3 kB / 2.074 GB, free: 83.23 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002406/6.205, allocations: 104.1 kB / 2.074 GB, free: 83.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/6.205, allocations: 54.75 kB / 2.074 GB, free: 83.23 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002217/6.207, allocations: 1.456 MB / 2.076 GB, free: 83.07 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2e-07/6.207, allocations: 0 / 2.076 GB, free: 83.07 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005339/6.213, allocations: 1.53 MB / 2.077 GB, free: 82.95 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (onOffBot.y,onOffMid.y,onOffHea.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 96 * 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 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.001424/6.214, allocations: 0.5678 MB / 2.078 GB, free: 82.84 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005509/6.22, allocations: 3.311 MB / 2.081 GB, free: 82.43 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.211e-05/6.22, allocations: 3.906 kB / 2.081 GB, free: 82.43 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001343/6.221, allocations: 0.9737 MB / 2.082 GB, free: 82.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005997/6.227, allocations: 1.126 MB / 2.083 GB, free: 82.29 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008936/6.236, allocations: 4.309 MB / 2.087 GB, free: 81.41 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001967/6.238, allocations: 2.217 MB / 2.089 GB, free: 80.66 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.004741/6.243, allocations: 1.405 MB / 2.091 GB, free: 80.64 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004368/6.243, allocations: 143.2 kB / 2.091 GB, free: 80.63 MB / 0.6823 GB Notification: Performance of SimCode: time 1.773e-06/6.243, allocations: 3.594 kB / 2.091 GB, free: 80.63 MB / 0.6823 GB Notification: Performance of Templates: time 0.09117/6.334, allocations: 51.29 MB / 2.141 GB, free: 78.41 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)