Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim2States120501.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/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.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(ThermoPower.Examples.CISE.Simulators.CISESim2States120501,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim2States120501") translateModel(ThermoPower.Examples.CISE.Simulators.CISESim2States120501,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim2States120501") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009941/0.0009942, allocations: 176.6 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.069/2.069, allocations: 205.4 MB / 223.5 MB, free: 9.02 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.0009398/0.0009396, allocations: 85.56 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6388/0.6388, allocations: 48.78 MB / 369 MB, free: 47.32 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004781/0.0004781, allocations: 16 kB / 439.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1659, allocations: 60.25 MB / 0.4884 GB, free: 14.31 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.27/10.44, allocations: 3.175 GB / 3.664 GB, free: 50.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/10.44, allocations: 92.44 kB / 3.664 GB, free: 50.32 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.302/12.74, allocations: 0.4997 GB / 4.164 GB, free: 40.57 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.134e-06/12.74, allocations: 0 / 4.164 GB, free: 40.57 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003235/12.74, allocations: 68.83 kB / 4.164 GB, free: 40.56 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 565 * Number of variables: 565 Notification: Performance of Generate backend data structure: time 0.02909/12.77, allocations: 5.816 MB / 4.169 GB, free: 39.14 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/12.77, allocations: 10.25 kB / 4.169 GB, free: 39.14 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008905/12.78, allocations: 0.9873 MB / 4.17 GB, free: 39 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01077/12.79, allocations: 2.751 MB / 4.173 GB, free: 38.52 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003236/12.8, allocations: 0.9517 MB / 4.174 GB, free: 38.29 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002854/12.8, allocations: 247.1 kB / 4.174 GB, free: 38.29 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03773/12.84, allocations: 11.45 MB / 4.185 GB, free: 37.93 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001723/12.84, allocations: 0 / 4.185 GB, free: 37.93 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00256/12.84, allocations: 96.84 kB / 4.185 GB, free: 37.93 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001783/12.84, allocations: 102.5 kB / 4.186 GB, free: 37.92 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04873/12.89, allocations: 17.44 MB / 4.203 GB, free: 37.89 MB / 0.5261 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.06424/12.95, allocations: 35.55 MB / 4.237 GB, free: 19.28 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02366/12.98, allocations: 9.323 MB / 4.246 GB, free: 16.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01524/12.99, allocations: 6.773 MB / 4.253 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5946/13.59, allocations: 120.1 MB / 4.37 GB, free: 64.53 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000143/13.59, allocations: 64.97 kB / 4.37 GB, free: 64.48 MB / 0.573 GB Notification: Performance of pre-optimization done (n=267): time 1.533e-05/13.59, allocations: 0 / 4.37 GB, free: 64.48 MB / 0.573 GB Notification: Performance of matching and sorting (n=279): time 0.2048/13.79, allocations: 44.08 MB / 4.413 GB, free: 61.88 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.022e-05/13.79, allocations: 168.3 kB / 4.414 GB, free: 61.72 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002502/13.79, allocations: 1.18 MB / 4.415 GB, free: 61.55 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.002645/13.8, allocations: 80.11 kB / 4.415 GB, free: 61.52 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001011/13.8, allocations: 0.8323 MB / 4.416 GB, free: 61.27 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003827/13.8, allocations: 0.9515 MB / 4.417 GB, free: 60.78 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002812/13.8, allocations: 50.62 kB / 4.417 GB, free: 60.78 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0004667/13.8, allocations: 414.1 kB / 4.417 GB, free: 60.47 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01742/13.82, allocations: 7.184 MB / 4.424 GB, free: 60.3 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01927/13.84, allocations: 7.655 MB / 4.431 GB, free: 59.7 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3083/14.15, allocations: 77.2 MB / 4.507 GB, free: 35.69 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.507e-05/14.15, allocations: 0 / 4.507 GB, free: 35.69 MB / 0.573 GB Notification: Performance of matching and sorting (n=335) (initialization): time 0.05841/14.21, allocations: 18.77 MB / 4.525 GB, free: 22.55 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002458/14.21, allocations: 280.7 kB / 4.525 GB, free: 22.18 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001055/14.21, allocations: 11.94 kB / 4.525 GB, free: 22.17 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4662/14.68, allocations: 26.48 MB / 4.551 GB, free: 87.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02971/14.7, allocations: 5.758 MB / 4.557 GB, free: 87.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02972/14.73, allocations: 16.51 MB / 4.573 GB, free: 84.31 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01031/14.74, allocations: 1.647 MB / 4.575 GB, free: 84.31 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001923/14.75, allocations: 349 kB / 4.575 GB, free: 84.31 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/14.75, allocations: 4 kB / 4.575 GB, free: 84.31 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1015/14.85, allocations: 32.67 MB / 4.607 GB, free: 83.16 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.185e-05/14.85, allocations: 6.656 kB / 4.607 GB, free: 83.16 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04343/14.89, allocations: 20.32 MB / 4.627 GB, free: 82.01 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03102/14.92, allocations: 5.93 MB / 4.633 GB, free: 81.77 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02559/14.95, allocations: 15.67 MB / 4.648 GB, free: 77.12 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01057/14.96, allocations: 1.646 MB / 4.649 GB, free: 77.03 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002769/14.96, allocations: 342.8 kB / 4.65 GB, free: 77.03 MB / 0.573 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.Plant.Pipe2Valve.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 12 (Plant.Pipe2Valve.fluidState[2].phase,Plant.Pipe2Valve.fluidState[1].phase,Plant.SH.fluidState[5].phase,Plant.SH.fluidState[4].phase,Plant.SH.fluidState[3].phase,Plant.SH.fluidState[2].phase,Plant.SH.fluidState[1].phase,Plant.SH.heatTransfer.dew.phase,Plant.SH.heatTransfer.bubble.phase,Plant.Pipe2SH.fluidState[2].phase,Plant.Pipe2SH.fluidState[1].phase,Plant.Valve.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (233): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 4 {1 3,1 8,5 70,2 13} Notification: Performance of prepare postOptimizeDAE: time 0.004657/14.97, allocations: 0.7602 MB / 4.651 GB, free: 76.84 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001375/14.97, allocations: 215 kB / 4.651 GB, free: 76.83 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06636/15.03, allocations: 37.14 MB / 4.687 GB, free: 62.45 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06003/15.09, allocations: 35.26 MB / 4.721 GB, free: 32.21 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-05/15.09, allocations: 8 kB / 4.721 GB, free: 32.21 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001633/15.1, allocations: 18.56 kB / 4.721 GB, free: 32.2 MB / 0.573 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.5319/15.63, allocations: 57.32 MB / 4.777 GB, free: 86.01 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.992e-05/15.63, allocations: 5.656 kB / 4.777 GB, free: 86.01 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01162/15.64, allocations: 1.995 MB / 4.779 GB, free: 86.01 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1769/15.82, allocations: 32.62 MB / 4.811 GB, free: 85.7 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002824/15.82, allocations: 196.9 kB / 4.811 GB, free: 85.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0444/15.86, allocations: 29.33 MB / 4.84 GB, free: 73.22 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/15.86, allocations: 6.781 kB / 4.84 GB, free: 73.22 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0809/15.94, allocations: 29.68 MB / 4.869 GB, free: 68.73 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006226/15.95, allocations: 1.438 MB / 4.87 GB, free: 67.95 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003286/15.95, allocations: 70.72 kB / 4.871 GB, free: 67.91 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0111/15.96, allocations: 1.618 MB / 4.872 GB, free: 67.77 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003471/15.97, allocations: 398.4 kB / 4.872 GB, free: 67.72 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002583/15.97, allocations: 200.3 kB / 4.873 GB, free: 67.7 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002128/15.97, allocations: 0.8079 MB / 4.873 GB, free: 67.37 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.51e-07/15.97, allocations: 0 / 4.873 GB, free: 67.37 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.02427/16, allocations: 3.052 MB / 4.876 GB, free: 67.18 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (Plant.Pipe2SH.p,Plant.Pipe2SH.htilde[1],Plant.SH.htilde[1],Plant.SH.htilde[2],Plant.SH.htilde[3],Plant.SH.htilde[4],Plant.Pipe2Valve.p,Plant.Pipe2Valve.htilde[1],Plant.Pipe2SHWall.Tvol[1],Plant.SHWall.Tvol[1],Plant.SHWall.Tvol[2],Plant.SHWall.Tvol[3],Plant.SHWall.Tvol[4],Plant.Pipe2ValveWall.Tvol[1],Plant.DrumBoiler.Vld,Plant.DrumBoiler.p) * Number of discrete variables: 36 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse24.phase,$cse24.region,$cse29.phase,$cse29.region,$cse36.region3boundary,$cse37.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (254): * Single equations (assignments): 220 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 22 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 11 * 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: 8 {(1,100.0%) 1,(1,100.0%) 1,(6,72.2%) 13,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 3 {2 7,1 11,1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.01439/16.01, allocations: 1.893 MB / 4.878 GB, free: 66.89 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.06778/16.08, allocations: 24.78 MB / 4.903 GB, free: 48.3 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-05/16.08, allocations: 0 / 4.903 GB, free: 48.3 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.02522/16.11, allocations: 9.469 MB / 4.912 GB, free: 40.25 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01188/16.12, allocations: 0.928 MB / 4.913 GB, free: 39.58 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03806/16.16, allocations: 15.47 MB / 4.928 GB, free: 26.43 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003138/16.16, allocations: 2.167 MB / 4.93 GB, free: 24.65 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01629/16.17, allocations: 6.195 MB / 4.936 GB, free: 20.93 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005205/16.18, allocations: 430.5 kB / 4.936 GB, free: 20.7 MB / 0.573 GB Notification: Performance of SimCode: time 2.114e-06/16.18, allocations: 0 / 4.936 GB, free: 20.7 MB / 0.573 GB Notification: Performance of Templates: time 0.7163/16.9, allocations: 218.7 MB / 5.15 GB, free: 12.05 MB / 0.5886 GB make -j1 -f ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim2States120501.makefile (rm -f ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim2States120501.pipe ; mkfifo ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim2States120501.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim2States120501.pipe >> ../files/ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim2States120501.sim & ./ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim2States120501 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim2States120501.pipe 2>&1)