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.001542/0.001542, allocations: 179.5 kB / 16.39 MB, free: 5.766 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.645/1.645, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.00101/0.001011, allocations: 86.64 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.608/0.608, allocations: 48.77 MB / 367.9 MB, free: 47.43 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004053/0.000405, allocations: 8 kB / 438.6 MB, free: 11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.186, allocations: 60.25 MB / 498.9 MB, free: 14.61 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.08/11.27, allocations: 3.175 GB / 3.662 GB, free: 119.6 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/11.27, allocations: 97.86 kB / 3.662 GB, free: 119.6 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.025/13.29, allocations: 0.4996 GB / 4.162 GB, free: 28.84 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.134e-06/13.29, allocations: 0 / 4.162 GB, free: 28.84 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001906/13.29, allocations: 61.05 kB / 4.162 GB, free: 28.83 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 566 * Number of variables: 566 Notification: Performance of Generate backend data structure: time 0.03137/13.32, allocations: 5.851 MB / 4.168 GB, free: 27.03 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.83e-05/13.32, allocations: 10.5 kB / 4.168 GB, free: 27.03 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01003/13.33, allocations: 0.9815 MB / 4.169 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01074/13.34, allocations: 2.708 MB / 4.171 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002942/13.35, allocations: 0.9501 MB / 4.172 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002367/13.35, allocations: 239.2 kB / 4.173 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03494/13.38, allocations: 11.43 MB / 4.184 GB, free: 21.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-05/13.38, allocations: 0 / 4.184 GB, free: 21.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009906/13.39, allocations: 87.16 kB / 4.184 GB, free: 21.53 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001136/13.39, allocations: 105.7 kB / 4.184 GB, free: 21.52 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04324/13.43, allocations: 17.43 MB / 4.201 GB, free: 8.402 MB / 0.5105 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.07651/13.51, allocations: 35.58 MB / 4.236 GB, free: 2.492 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4527/13.96, allocations: 9.331 MB / 4.245 GB, free: 69.55 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2147/14.17, allocations: 120.1 MB / 4.362 GB, free: 25.84 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.578e-05/14.17, allocations: 62.78 kB / 4.362 GB, free: 25.8 MB / 0.573 GB Notification: Performance of pre-optimization done (n=268): time 4.528e-06/14.17, allocations: 2.844 kB / 4.362 GB, free: 25.8 MB / 0.573 GB Notification: Performance of matching and sorting (n=280): time 0.1473/14.32, allocations: 44.24 MB / 4.405 GB, free: 21.38 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/14.32, allocations: 160.8 kB / 4.406 GB, free: 21.19 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00184/14.32, allocations: 1.032 MB / 4.407 GB, free: 20.57 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.00258/14.33, allocations: 84.64 kB / 4.407 GB, free: 20.52 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007516/14.33, allocations: 0.8283 MB / 4.407 GB, free: 20.15 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003452/14.33, allocations: 0.9599 MB / 4.408 GB, free: 19.55 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001143/14.33, allocations: 55.12 kB / 4.408 GB, free: 19.54 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0004126/14.33, allocations: 410.3 kB / 4.409 GB, free: 19.2 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01661/14.35, allocations: 7.18 MB / 4.416 GB, free: 15.27 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01819/14.37, allocations: 7.649 MB / 4.423 GB, free: 10.8 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.72/15.09, allocations: 66.25 MB / 4.488 GB, free: 98.11 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.467e-05/15.09, allocations: 3.344 kB / 4.488 GB, free: 98.11 MB / 0.573 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.04999/15.14, allocations: 18.77 MB / 4.506 GB, free: 97.55 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007665/15.14, allocations: 2.505 MB / 4.509 GB, free: 94.97 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.468e-05/15.14, allocations: 7.094 kB / 4.509 GB, free: 94.97 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06636/15.2, allocations: 26.38 MB / 4.535 GB, free: 93.25 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03211/15.24, allocations: 5.761 MB / 4.54 GB, free: 93 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02948/15.27, allocations: 16.51 MB / 4.556 GB, free: 89.35 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01049/15.28, allocations: 1.652 MB / 4.558 GB, free: 89.23 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002689/15.28, allocations: 348.6 kB / 4.558 GB, free: 89.1 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/15.28, allocations: 4 kB / 4.558 GB, free: 89.09 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0989/15.38, allocations: 30.48 MB / 4.588 GB, free: 70.18 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.319e-05/15.38, allocations: 4 kB / 4.588 GB, free: 70.18 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04354/15.42, allocations: 20.31 MB / 4.608 GB, free: 56.89 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03587/15.46, allocations: 5.932 MB / 4.614 GB, free: 52.66 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02557/15.48, allocations: 15.65 MB / 4.629 GB, free: 42.08 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01204/15.49, allocations: 1.651 MB / 4.631 GB, free: 40.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002593/15.5, allocations: 344.6 kB / 4.631 GB, free: 40.77 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.SH.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 (234): * Single equations (assignments): 228 * 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.003989/15.5, allocations: 0.7646 MB / 4.632 GB, free: 40.36 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001158/15.5, allocations: 211.2 kB / 4.632 GB, free: 40.25 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4541/15.96, allocations: 37.19 MB / 4.668 GB, free: 97.04 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0666/16.02, allocations: 35.3 MB / 4.703 GB, free: 96.45 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.322e-05/16.02, allocations: 5.719 kB / 4.703 GB, free: 96.45 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001408/16.02, allocations: 15.86 kB / 4.703 GB, free: 96.45 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.1115/16.14, allocations: 57.28 MB / 4.759 GB, free: 77.04 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.077e-05/16.14, allocations: 3.562 kB / 4.759 GB, free: 77.04 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01237/16.15, allocations: 2.001 MB / 4.761 GB, free: 77 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1904/16.34, allocations: 32.61 MB / 4.792 GB, free: 67.68 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002536/16.34, allocations: 201 kB / 4.793 GB, free: 67.58 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04017/16.38, allocations: 30.27 MB / 4.822 GB, free: 40.05 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/16.38, allocations: 7.219 kB / 4.822 GB, free: 40.05 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06768/16.45, allocations: 29.71 MB / 4.851 GB, free: 15.18 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006148/16.45, allocations: 1.448 MB / 4.853 GB, free: 14.04 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001553/16.46, allocations: 66.95 kB / 4.853 GB, free: 13.98 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008773/16.47, allocations: 1.625 MB / 4.854 GB, free: 12.77 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001133/16.47, allocations: 383.9 kB / 4.855 GB, free: 12.64 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006543/16.47, allocations: 206.6 kB / 4.855 GB, free: 12.55 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.4249/16.89, allocations: 0.7984 MB / 4.856 GB, free: 95.16 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.052e-06/16.89, allocations: 0.875 kB / 4.856 GB, free: 95.16 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.02298/16.91, allocations: 3.052 MB / 4.859 GB, free: 95.16 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 (255): * Single equations (assignments): 221 * 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.01098/16.93, allocations: 1.907 MB / 4.86 GB, free: 95.04 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.06227/16.99, allocations: 24.79 MB / 4.885 GB, free: 94.55 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/16.99, allocations: 0 / 4.885 GB, free: 94.55 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.02368/17.01, allocations: 9.479 MB / 4.894 GB, free: 93.63 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007646/17.02, allocations: 0.8949 MB / 4.895 GB, free: 93.62 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03855/17.06, allocations: 15.46 MB / 4.91 GB, free: 90.38 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001885/17.06, allocations: 2.233 MB / 4.912 GB, free: 89.61 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01291/17.07, allocations: 6.198 MB / 4.918 GB, free: 89.5 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003766/17.08, allocations: 431.3 kB / 4.918 GB, free: 89.49 MB / 0.573 GB Notification: Performance of SimCode: time 2.154e-06/17.08, allocations: 0.9844 kB / 4.918 GB, free: 89.49 MB / 0.573 GB Notification: Performance of Templates: time 0.6432/17.72, allocations: 216.1 MB / 5.13 GB, free: 90.3 MB / 0.573 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)