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.001279/0.001279, allocations: 181.4 kB / 8.346 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.624/1.624, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009454/0.0009457, allocations: 81.27 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5777/0.5777, allocations: 48.76 MB / 358.8 MB, free: 53.13 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.437e-05/1.448e-05, allocations: 0 / 425.3 MB, free: 8.223 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.148, allocations: 60.25 MB / 485.6 MB, free: 11.82 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.286/9.434, allocations: 3.174 GB / 3.649 GB, free: 29.82 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/9.434, allocations: 89.06 kB / 3.649 GB, free: 29.77 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 2.66/12.09, allocations: 0.4934 GB / 4.142 GB, free: 34.54 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.323e-06/12.09, allocations: 0 / 4.142 GB, free: 34.54 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 0.0004867/12.09, allocations: 64.81 kB / 4.142 GB, free: 34.53 MB / 0.5108 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.03243/12.13, allocations: 5.566 MB / 4.148 GB, free: 33.15 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 6.355e-05/12.13, allocations: 10.88 kB / 4.148 GB, free: 33.15 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009991/12.14, allocations: 0.9938 MB / 4.149 GB, free: 33.01 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01236/12.15, allocations: 2.704 MB / 4.151 GB, free: 32.58 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003795/12.15, allocations: 0.8477 MB / 4.152 GB, free: 32.36 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003511/12.16, allocations: 145.3 kB / 4.152 GB, free: 32.35 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02548/12.18, allocations: 9.561 MB / 4.162 GB, free: 32.34 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02073/12.2, allocations: 6.152 MB / 4.168 GB, free: 31.99 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001491/12.2, allocations: 3.938 kB / 4.168 GB, free: 31.98 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002368/12.21, allocations: 3.312 kB / 4.168 GB, free: 31.98 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001724/12.21, allocations: 101.8 kB / 4.168 GB, free: 31.98 MB / 0.5108 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.07268/12.28, allocations: 35.32 MB / 4.202 GB, free: 12.07 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01079/12.29, allocations: 5.285 MB / 4.207 GB, free: 9.641 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007545/12.3, allocations: 3.951 MB / 4.211 GB, free: 7.789 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6988/13, allocations: 120.5 MB / 4.329 GB, free: 56.88 MB / 0.5577 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.602e-05/13, allocations: 61.59 kB / 4.329 GB, free: 56.83 MB / 0.5577 GB Notification: Performance of pre-optimization done (n=268): time 4.438e-06/13, allocations: 0 / 4.329 GB, free: 56.83 MB / 0.5577 GB Notification: Performance of matching and sorting (n=280): time 0.07446/13.07, allocations: 21.26 MB / 4.35 GB, free: 56.04 MB / 0.5577 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.837e-05/13.07, allocations: 157.8 kB / 4.35 GB, free: 55.88 MB / 0.5577 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002762/13.07, allocations: 0.9187 MB / 4.351 GB, free: 55.72 MB / 0.5577 GB Notification: Performance of collectPreVariables (initialization): time 0.002442/13.08, allocations: 31.2 kB / 4.351 GB, free: 55.69 MB / 0.5577 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009147/13.08, allocations: 0.8333 MB / 4.352 GB, free: 55.43 MB / 0.5577 GB Notification: Performance of collectInitialBindings (initialization): time 0.003499/13.08, allocations: 0.9253 MB / 4.352 GB, free: 54.93 MB / 0.5577 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002198/13.08, allocations: 0 / 4.352 GB, free: 54.93 MB / 0.5577 GB Notification: Performance of setup shared object (initialization): time 0.0003925/13.08, allocations: 407.5 kB / 4.353 GB, free: 54.63 MB / 0.5577 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009037/13.09, allocations: 4.374 MB / 4.357 GB, free: 54.62 MB / 0.5577 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009643/13.1, allocations: 4.822 MB / 4.362 GB, free: 54.19 MB / 0.5577 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.09647/13.2, allocations: 33.2 MB / 4.394 GB, free: 52.25 MB / 0.5577 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.507e-05/13.2, allocations: 2.906 kB / 4.394 GB, free: 52.25 MB / 0.5577 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.04934/13.25, allocations: 12.37 MB / 4.406 GB, free: 51.97 MB / 0.5577 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007298/13.25, allocations: 2.491 MB / 4.409 GB, free: 49.39 MB / 0.5577 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.953e-05/13.25, allocations: 3.969 kB / 4.409 GB, free: 49.39 MB / 0.5577 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05869/13.31, allocations: 23.31 MB / 4.432 GB, free: 47.55 MB / 0.5577 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03287/13.34, allocations: 5.76 MB / 4.437 GB, free: 44.11 MB / 0.5577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03291/13.37, allocations: 13.71 MB / 4.451 GB, free: 35.36 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01195/13.39, allocations: 1.6 MB / 4.452 GB, free: 34.18 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002868/13.39, allocations: 350.1 kB / 4.452 GB, free: 33.99 MB / 0.5577 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/13.39, allocations: 4 kB / 4.452 GB, free: 33.98 MB / 0.5577 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08519/13.47, allocations: 24.06 MB / 4.476 GB, free: 15.23 MB / 0.5577 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.137e-05/13.47, allocations: 4.547 kB / 4.476 GB, free: 15.23 MB / 0.5577 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4958/13.97, allocations: 17.57 MB / 4.493 GB, free: 81.46 MB / 0.5577 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03384/14, allocations: 5.927 MB / 4.499 GB, free: 81.46 MB / 0.5577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01631/14.02, allocations: 12.62 MB / 4.511 GB, free: 77.12 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0107/14.03, allocations: 1.599 MB / 4.513 GB, free: 77.12 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002589/14.03, allocations: 344 kB / 4.513 GB, free: 77.12 MB / 0.5577 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. Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: Plant.ValveOpening:VARIABLE() type: Real 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 () * 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.002482/14.04, allocations: 156.7 kB / 4.513 GB, free: 77.01 MB / 0.5577 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001244/14.04, allocations: 212.1 kB / 4.513 GB, free: 77.01 MB / 0.5577 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04905/14.09, allocations: 26.1 MB / 4.539 GB, free: 76.46 MB / 0.5577 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05061/14.14, allocations: 24.36 MB / 4.563 GB, free: 75.93 MB / 0.5577 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.299e-05/14.14, allocations: 7.375 kB / 4.563 GB, free: 75.93 MB / 0.5577 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001923/14.14, allocations: 14.48 kB / 4.563 GB, free: 75.93 MB / 0.5577 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 postOpt removeSimpleEquations (simulation): time 0.0899/14.23, allocations: 43.59 MB / 4.605 GB, free: 58.41 MB / 0.5577 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.067e-05/14.23, allocations: 1.812 kB / 4.605 GB, free: 58.41 MB / 0.5577 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01057/14.24, allocations: 2.053 MB / 4.607 GB, free: 58.36 MB / 0.5577 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02304/14.26, allocations: 8.662 MB / 4.616 GB, free: 56.71 MB / 0.5577 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002737/14.26, allocations: 212.3 kB / 4.616 GB, free: 56.68 MB / 0.5577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03439/14.3, allocations: 26.19 MB / 4.642 GB, free: 39.12 MB / 0.5577 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.226e-06/14.3, allocations: 0 / 4.642 GB, free: 39.12 MB / 0.5577 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05233/14.35, allocations: 21.36 MB / 4.662 GB, free: 24.78 MB / 0.5577 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0051/14.36, allocations: 1.399 MB / 4.664 GB, free: 23.68 MB / 0.5577 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002858/14.36, allocations: 23.56 kB / 4.664 GB, free: 23.66 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01031/14.37, allocations: 1.568 MB / 4.665 GB, free: 22.56 MB / 0.5577 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002677/14.37, allocations: 433.6 kB / 4.666 GB, free: 22.39 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002274/14.37, allocations: 240.5 kB / 4.666 GB, free: 22.27 MB / 0.5577 GB Notification: Performance of sorting global known variables: time 0.001481/14.38, allocations: 0.6996 MB / 4.667 GB, free: 21.63 MB / 0.5577 GB Notification: Performance of sort global known variables: time 3.51e-07/14.38, allocations: 0 / 4.667 GB, free: 21.63 MB / 0.5577 GB Notification: Performance of remove unused functions: time 0.0216/14.4, allocations: 2.949 MB / 4.67 GB, free: 18.9 MB / 0.5577 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: 28 ($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,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse25.phase,$cse25.region,$cse32.region3boundary,$cse33.region3boundary) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (251): * Single equations (assignments): 221 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * 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.01487/14.41, allocations: 2.027 MB / 4.672 GB, free: 17.48 MB / 0.5577 GB Notification: Performance of simCode: created initialization part: time 0.03413/14.45, allocations: 16.38 MB / 4.688 GB, free: 2.941 MB / 0.5577 GB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/14.45, allocations: 0 / 4.688 GB, free: 2.941 MB / 0.5577 GB Notification: Performance of simCode: created simulation system equations: time 0.3952/14.84, allocations: 7.496 MB / 4.695 GB, free: 76.27 MB / 0.5577 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007538/14.85, allocations: 0.8249 MB / 4.696 GB, free: 76.27 MB / 0.5577 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02391/14.87, allocations: 10.04 MB / 4.705 GB, free: 75.22 MB / 0.5577 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001774/14.87, allocations: 2.158 MB / 4.708 GB, free: 74.46 MB / 0.5577 GB Notification: Performance of simCode: alias equations: time 0.01763/14.89, allocations: 10.72 MB / 4.718 GB, free: 74.28 MB / 0.5577 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004055/14.9, allocations: 498.1 kB / 4.719 GB, free: 74.28 MB / 0.5577 GB Notification: Performance of SimCode: time 1.232e-06/14.9, allocations: 0 / 4.719 GB, free: 74.28 MB / 0.5577 GB Notification: Performance of Templates: time 0.6234/15.52, allocations: 210 MB / 4.924 GB, free: 91.59 MB / 0.5733 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)