Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermalSeparation_ThermalSeparation.Examples.Testing.Reboiler.Reboiler.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo", uses=false) Using package ThermalSeparation with version 0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermalSeparation.Examples.Testing.Reboiler.Reboiler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermalSeparation_ThermalSeparation.Examples.Testing.Reboiler.Reboiler") translateModel(ThermalSeparation.Examples.Testing.Reboiler.Reboiler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermalSeparation_ThermalSeparation.Examples.Testing.Reboiler.Reboiler") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001341/0.001341, allocations: 170.4 kB / 16.76 MB, free: 4.938 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.66/1.66, allocations: 205.4 MB / 222.9 MB, free: 8.922 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007122/0.0007123, allocations: 78.42 kB / 271.3 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.554/0.554, allocations: 64.93 MB / 384.5 MB, free: 36.26 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000436/0.0004355, allocations: 15.98 kB / 457.2 MB, free: 11.43 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3543, allocations: 62.04 MB / 0.5071 GB, free: 34.61 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.218/1.572, allocations: 0.5611 GB / 1.068 GB, free: 9.023 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/1.573, allocations: 62.47 kB / 1.068 GB, free: 8.996 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.6728/2.245, allocations: 173.5 MB / 1.238 GB, free: 64.31 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.186e-06/2.245, allocations: 0 / 1.238 GB, free: 64.31 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002645/2.246, allocations: 64 kB / 1.238 GB, free: 64.25 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 919 * Number of variables: 919 Notification: Performance of Generate backend data structure: time 0.01197/2.258, allocations: 3.326 MB / 1.241 GB, free: 60.86 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/2.258, allocations: 8.031 kB / 1.241 GB, free: 60.85 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001914/2.26, allocations: 360.6 kB / 1.241 GB, free: 60.49 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003902/2.264, allocations: 1.495 MB / 1.243 GB, free: 58.95 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00032/2.264, allocations: 340.3 kB / 1.243 GB, free: 58.6 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002053/2.266, allocations: 452.4 kB / 1.243 GB, free: 58.16 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01106/2.277, allocations: 4.682 MB / 1.248 GB, free: 53.28 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001467/2.277, allocations: 7.938 kB / 1.248 GB, free: 53.27 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001031/2.278, allocations: 144 kB / 1.248 GB, free: 53.13 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000238/2.279, allocations: 238.2 kB / 1.248 GB, free: 52.89 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009092/2.288, allocations: 4.139 MB / 1.252 GB, free: 48.75 MB / 0.5417 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.02988/2.318, allocations: 16.52 MB / 1.269 GB, free: 31.71 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005256/2.323, allocations: 2.791 MB / 1.271 GB, free: 28.78 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002858/2.326, allocations: 1.52 MB / 1.273 GB, free: 27.23 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001116/2.327, allocations: 0.5676 MB / 1.273 GB, free: 26.57 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003447/2.33, allocations: 1.729 MB / 1.275 GB, free: 24.73 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=270): time 9.638e-06/2.33, allocations: 0 / 1.275 GB, free: 24.73 MB / 0.5417 GB Notification: Performance of matching and sorting (n=303): time 0.06678/2.397, allocations: 21.32 MB / 1.296 GB, free: 3.082 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/2.397, allocations: 475.2 kB / 1.296 GB, free: 2.512 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002868/2.4, allocations: 2.03 MB / 1.298 GB, free: 452 kB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0009201/2.401, allocations: 81.7 kB / 1.298 GB, free: 364 kB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.2993/2.701, allocations: 1.551 MB / 1.3 GB, free: 98.44 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001754/2.702, allocations: 1.059 MB / 1.301 GB, free: 97.91 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004664/2.703, allocations: 86.28 kB / 1.301 GB, free: 97.91 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0003351/2.703, allocations: 485.9 kB / 1.301 GB, free: 97.6 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003938/2.707, allocations: 1.767 MB / 1.303 GB, free: 97.59 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004638/2.712, allocations: 3.406 MB / 1.307 GB, free: 95.62 MB / 0.5417 GB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.06741/2.779, allocations: 16.89 MB / 1.323 GB, free: 93.45 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.886e-05/2.779, allocations: 18.56 kB / 1.323 GB, free: 93.45 MB / 0.5417 GB Notification: Performance of matching and sorting (n=570) (initialization): time 0.02317/2.803, allocations: 7.572 MB / 1.33 GB, free: 93.12 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.00118/2.804, allocations: 1.666 MB / 1.332 GB, free: 91.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-05/2.804, allocations: 53.78 kB / 1.332 GB, free: 91.12 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01087/2.815, allocations: 2.288 MB / 1.334 GB, free: 91.07 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005758/2.821, allocations: 1.045 MB / 1.335 GB, free: 91.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0265/2.847, allocations: 13.78 MB / 1.349 GB, free: 86.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004677/2.852, allocations: 324.2 kB / 1.349 GB, free: 86.11 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000956/2.853, allocations: 229.1 kB / 1.349 GB, free: 86.11 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/2.853, allocations: 4.969 kB / 1.349 GB, free: 86.11 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01925/2.872, allocations: 7.338 MB / 1.357 GB, free: 85.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002022/2.872, allocations: 52.05 kB / 1.357 GB, free: 85.77 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01087/2.883, allocations: 2.287 MB / 1.359 GB, free: 85.72 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005898/2.889, allocations: 1.044 MB / 1.36 GB, free: 85.65 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02435/2.914, allocations: 13.8 MB / 1.373 GB, free: 79.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004799/2.918, allocations: 311.5 kB / 1.374 GB, free: 79.14 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008575/2.919, allocations: 226.8 kB / 1.374 GB, free: 79.1 MB / 0.5417 GB Warning: Assuming fixed start value for the following 1 variables: kettleReboilerEq.startUp:DISCRETE(start = true fixed = true ) type: Boolean Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: kettleReboilerEq.p = kettleReboilerEq.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 243 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.kettleReboilerEq.startUp,kettleReboilerEq.bool_eps,kettleReboilerEq.startUp,sourceLiquid.medium.state.phase,kettleReboilerEq.PID.I.local_reset,kettleReboilerEq.mediumLiquidStar.state.phase,kettleReboilerEq.mediumLiquidIn.state.phase,kettleReboilerEq.mediumLiquid.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (506): * Single equations (assignments): 500 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(16,36.3%) 29,(1,100.0%) 3} * Non-linear torn systems: 3 {2 5,3 6,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.002741/2.922, allocations: 1.032 MB / 1.375 GB, free: 78.48 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006426/2.923, allocations: 266 kB / 1.375 GB, free: 78.35 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01825/2.941, allocations: 6.728 MB / 1.382 GB, free: 76.11 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.732e-05/2.941, allocations: 35.09 kB / 1.382 GB, free: 76.11 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.549e-05/2.941, allocations: 12.81 kB / 1.382 GB, free: 76.11 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001342/2.941, allocations: 24.12 kB / 1.382 GB, free: 76.11 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02883/2.97, allocations: 11.06 MB / 1.393 GB, free: 71.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.38e-05/2.97, allocations: 14 kB / 1.393 GB, free: 71.68 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003711/2.974, allocations: 0.546 MB / 1.393 GB, free: 71.64 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01545/2.989, allocations: 3.151 MB / 1.396 GB, free: 71.14 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001101/2.991, allocations: 102.2 kB / 1.396 GB, free: 71.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02378/3.014, allocations: 12.51 MB / 1.408 GB, free: 63.28 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/3.014, allocations: 11.19 kB / 1.408 GB, free: 63.28 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02377/3.038, allocations: 8.422 MB / 1.417 GB, free: 59.96 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002426/3.041, allocations: 0.6629 MB / 1.417 GB, free: 59.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001095/3.042, allocations: 81.28 kB / 1.417 GB, free: 59.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003365/3.045, allocations: 210.1 kB / 1.418 GB, free: 59.46 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001159/3.046, allocations: 269.7 kB / 1.418 GB, free: 59.41 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005747/3.047, allocations: 110.4 kB / 1.418 GB, free: 59.38 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002714/3.05, allocations: 1.295 MB / 1.419 GB, free: 58.87 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.7e-07/3.05, allocations: 0 / 1.419 GB, free: 58.87 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01101/3.061, allocations: 1.715 MB / 1.421 GB, free: 58.63 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 10 (kettleReboilerEq.MM_v,kettleReboilerEq.rho_l,kettleReboilerEq.c_l[1],kettleReboilerEq.c_l[2],kettleReboilerEq.c_l[3],kettleReboilerEq.c_v[2],kettleReboilerEq.T_v,kettleReboilerEq.eps_liq,kettleReboilerEq.PID.I.y,kettleReboilerEq.PID.D.x) * Number of discrete variables: 3 (kettleReboilerEq.bool_eps,kettleReboilerEq.startUp,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (271): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(13,38.5%) 29,(1,100.0%) 3} * Non-linear torn systems: 3 {4 32,2 7,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002637/3.063, allocations: 0.9923 MB / 1.422 GB, free: 58.31 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02184/3.085, allocations: 9.162 MB / 1.431 GB, free: 50.42 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.576e-05/3.085, allocations: 0 / 1.431 GB, free: 50.42 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.007366/3.093, allocations: 2.874 MB / 1.434 GB, free: 47.89 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005922/3.099, allocations: 0.6151 MB / 1.434 GB, free: 47.41 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01532/3.114, allocations: 8.433 MB / 1.442 GB, free: 39.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002748/3.117, allocations: 2.124 MB / 1.445 GB, free: 38.1 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0084/3.125, allocations: 1.517 MB / 1.446 GB, free: 37.12 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001539/3.127, allocations: 223.9 kB / 1.446 GB, free: 36.92 MB / 0.5417 GB Notification: Performance of SimCode: time 1.152e-06/3.127, allocations: 0 / 1.446 GB, free: 36.92 MB / 0.5417 GB Notification: Performance of Templates: time 0.4085/3.535, allocations: 76.21 MB / 1.521 GB, free: 104.8 MB / 0.5573 GB make -j1 -f ThermalSeparation_ThermalSeparation.Examples.Testing.Reboiler.Reboiler.makefile (rm -f ThermalSeparation_ThermalSeparation.Examples.Testing.Reboiler.Reboiler.pipe ; mkfifo ThermalSeparation_ThermalSeparation.Examples.Testing.Reboiler.Reboiler.pipe ; head -c 1048576 < ThermalSeparation_ThermalSeparation.Examples.Testing.Reboiler.Reboiler.pipe >> ../files/ThermalSeparation_ThermalSeparation.Examples.Testing.Reboiler.Reboiler.sim & ./ThermalSeparation_ThermalSeparation.Examples.Testing.Reboiler.Reboiler -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermalSeparation_ThermalSeparation.Examples.Testing.Reboiler.Reboiler.pipe 2>&1)