Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS.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.HRB.Simulators.OpenLoopSimulatorSS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS") translateModel(ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001024/0.001024, allocations: 180.6 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.621/1.621, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.0009453/0.0009454, allocations: 83.48 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5579/0.5579, allocations: 48.77 MB / 358.8 MB, free: 53.16 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.468e-05/1.47e-05, allocations: 0 / 425.3 MB, free: 8.238 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1551, allocations: 60.25 MB / 485.5 MB, free: 11.84 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.52/10.68, allocations: 3.674 GB / 4.148 GB, free: 3.812 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002872/10.68, allocations: 87.95 kB / 4.148 GB, free: 3.727 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 4.737/15.42, allocations: 1.035 GB / 5.182 GB, free: 24.32 MB / 0.5577 GB Notification: Performance of FrontEnd: time 2.776e-06/15.42, allocations: 3.031 kB / 5.182 GB, free: 24.32 MB / 0.5577 GB Notification: Performance of Transformations before backend: time 0.0003538/15.42, allocations: 113.9 kB / 5.182 GB, free: 24.31 MB / 0.5577 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1371 * Number of variables: 1371 Notification: Performance of Generate backend data structure: time 0.03254/15.45, allocations: 6.016 MB / 5.188 GB, free: 22.79 MB / 0.5577 GB Notification: Performance of prepare preOptimizeDAE: time 7.316e-05/15.45, allocations: 9.281 kB / 5.188 GB, free: 22.79 MB / 0.5577 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0162/15.47, allocations: 2.016 MB / 5.19 GB, free: 22.53 MB / 0.5577 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01387/15.48, allocations: 4.137 MB / 5.194 GB, free: 22 MB / 0.5577 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006194/15.48, allocations: 166.7 kB / 5.195 GB, free: 22 MB / 0.5577 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007061/15.49, allocations: 327.7 kB / 5.195 GB, free: 21.99 MB / 0.5577 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03396/15.52, allocations: 11.61 MB / 5.206 GB, free: 21.97 MB / 0.5577 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03766/15.56, allocations: 9.481 MB / 5.215 GB, free: 21.57 MB / 0.5577 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004361/15.56, allocations: 1.438 kB / 5.215 GB, free: 21.57 MB / 0.5577 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004307/15.56, allocations: 7.469 kB / 5.215 GB, free: 21.57 MB / 0.5577 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004828/15.56, allocations: 281.1 kB / 5.216 GB, free: 21.56 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 preOpt removeSimpleEquations (simulation): time 0.1584/15.72, allocations: 72.68 MB / 5.287 GB, free: 20.46 MB / 0.589 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02831/15.75, allocations: 19.33 MB / 5.306 GB, free: 25.77 MB / 0.6046 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009641/15.76, allocations: 4.742 MB / 5.31 GB, free: 25.73 MB / 0.6046 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1891/15.95, allocations: 97.01 MB / 5.405 GB, free: 10.75 MB / 0.6515 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002105/15.95, allocations: 114.9 kB / 5.405 GB, free: 10.67 MB / 0.6515 GB Notification: Performance of pre-optimization done (n=602): time 2.185e-05/15.95, allocations: 4 kB / 5.405 GB, free: 10.66 MB / 0.6515 GB Notification: Performance of matching and sorting (n=603): time 0.5559/16.51, allocations: 30.71 MB / 5.435 GB, free: 117 MB / 0.6515 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/16.51, allocations: 140.2 kB / 5.435 GB, free: 116.9 MB / 0.6515 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002285/16.51, allocations: 1.076 MB / 5.436 GB, free: 116.8 MB / 0.6515 GB Notification: Performance of collectPreVariables (initialization): time 0.00279/16.51, allocations: 30.67 kB / 5.436 GB, free: 116.8 MB / 0.6515 GB Notification: Performance of collectInitialEqns (initialization): time 0.001202/16.51, allocations: 1.434 MB / 5.438 GB, free: 116.2 MB / 0.6515 GB Notification: Performance of collectInitialBindings (initialization): time 0.004083/16.52, allocations: 2.015 MB / 5.44 GB, free: 115.2 MB / 0.6515 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000911/16.52, allocations: 0 / 5.44 GB, free: 115.2 MB / 0.6515 GB Notification: Performance of setup shared object (initialization): time 0.0005736/16.52, allocations: 0.5148 MB / 5.44 GB, free: 114.9 MB / 0.6515 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007604/16.53, allocations: 4.979 MB / 5.445 GB, free: 114.9 MB / 0.6515 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009519/16.53, allocations: 5.588 MB / 5.45 GB, free: 114.4 MB / 0.6515 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01972/16.55, allocations: 7.311 MB / 5.458 GB, free: 114.3 MB / 0.6515 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.988e-05/16.55, allocations: 4.266 kB / 5.458 GB, free: 114.3 MB / 0.6515 GB Notification: Performance of matching and sorting (n=689) (initialization): time 0.05171/16.61, allocations: 18.45 MB / 5.476 GB, free: 113.9 MB / 0.6515 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006756/16.61, allocations: 3.225 MB / 5.479 GB, free: 110.6 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.631e-05/16.61, allocations: 9.844 kB / 5.479 GB, free: 110.6 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08702/16.69, allocations: 23.64 MB / 5.502 GB, free: 110.5 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002165/16.7, allocations: 407.7 kB / 5.502 GB, free: 110.5 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05606/16.75, allocations: 26.11 MB / 5.528 GB, free: 107.9 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007994/16.76, allocations: 0.5861 MB / 5.528 GB, free: 107.9 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002547/16.76, allocations: 356.1 kB / 5.529 GB, free: 107.9 MB / 0.6515 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/16.76, allocations: 3.438 kB / 5.529 GB, free: 107.9 MB / 0.6515 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04792/16.81, allocations: 18.19 MB / 5.546 GB, free: 107 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.854e-05/16.81, allocations: 10.44 kB / 5.546 GB, free: 107 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06541/16.88, allocations: 18.99 MB / 5.565 GB, free: 103.5 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002417/16.88, allocations: 491.3 kB / 5.565 GB, free: 103.5 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05102/16.93, allocations: 25.36 MB / 5.59 GB, free: 91.22 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007806/16.94, allocations: 0.5816 MB / 5.591 GB, free: 91.21 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00237/16.94, allocations: 350.8 kB / 5.591 GB, free: 91.13 MB / 0.6515 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 13 (Plant.Boiler.WaterSide.fluidState[11].phase,Plant.Boiler.WaterSide.fluidState[10].phase,Plant.Boiler.WaterSide.fluidState[9].phase,Plant.Boiler.WaterSide.fluidState[8].phase,Plant.Boiler.WaterSide.fluidState[7].phase,Plant.Boiler.WaterSide.fluidState[6].phase,Plant.Boiler.WaterSide.fluidState[5].phase,Plant.Boiler.WaterSide.fluidState[4].phase,Plant.Boiler.WaterSide.fluidState[3].phase,Plant.Boiler.WaterSide.fluidState[2].phase,Plant.Boiler.WaterSide.fluidState[1].phase,Plant.WaterOut.fluidState.phase,Plant.WaterIn.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (197): * Single equations (assignments): 193 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {34 459} Notification: Performance of prepare postOptimizeDAE: time 0.003095/16.94, allocations: 158.4 kB / 5.591 GB, free: 91.02 MB / 0.6515 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001422/16.94, allocations: 323.7 kB / 5.592 GB, free: 90.88 MB / 0.6515 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0547/17, allocations: 34.76 MB / 5.625 GB, free: 67.04 MB / 0.6515 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001454/17, allocations: 95.64 kB / 5.626 GB, free: 66.97 MB / 0.6515 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.405e-05/17, allocations: 20 kB / 5.626 GB, free: 66.95 MB / 0.6515 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002256/17, allocations: 28.27 kB / 5.626 GB, free: 66.95 MB / 0.6515 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.558/17.56, allocations: 51.96 MB / 5.676 GB, free: 117.4 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7e-05/17.56, allocations: 1.125 kB / 5.676 GB, free: 117.4 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007975/17.57, allocations: 1.191 MB / 5.678 GB, free: 117.4 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01597/17.58, allocations: 4.601 MB / 5.682 GB, free: 117.2 MB / 0.6515 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002663/17.58, allocations: 209.7 kB / 5.682 GB, free: 117.2 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04531/17.63, allocations: 49.58 MB / 5.731 GB, free: 88.48 MB / 0.6515 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/17.63, allocations: 0 / 5.731 GB, free: 88.48 MB / 0.6515 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04666/17.68, allocations: 21.7 MB / 5.752 GB, free: 87.62 MB / 0.6515 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005616/17.68, allocations: 1.679 MB / 5.753 GB, free: 87.35 MB / 0.6515 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002251/17.68, allocations: 109.1 kB / 5.754 GB, free: 87.34 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007055/17.69, allocations: 484.4 kB / 5.754 GB, free: 87.33 MB / 0.6515 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002379/17.69, allocations: 480.3 kB / 5.755 GB, free: 87.32 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001616/17.7, allocations: 258 kB / 5.755 GB, free: 87.32 MB / 0.6515 GB Notification: Performance of sorting global known variables: time 0.001643/17.7, allocations: 0.8058 MB / 5.756 GB, free: 87.21 MB / 0.6515 GB Notification: Performance of sort global known variables: time 5.71e-07/17.7, allocations: 2.344 kB / 5.756 GB, free: 87.21 MB / 0.6515 GB Notification: Performance of remove unused functions: time 0.02357/17.72, allocations: 3.815 MB / 5.759 GB, free: 87.21 MB / 0.6515 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (Plant.Boiler.WaterSide.p,Plant.Boiler.WaterSide.htilde[1],Plant.Boiler.WaterSide.htilde[2],Plant.Boiler.WaterSide.htilde[3],Plant.Boiler.WaterSide.htilde[4],Plant.Boiler.WaterSide.htilde[5],Plant.Boiler.WaterSide.htilde[6],Plant.Boiler.WaterSide.htilde[7],Plant.Boiler.WaterSide.htilde[8],Plant.Boiler.WaterSide.htilde[9],Plant.Boiler.WaterSide.htilde[10],Plant.Boiler.TubeWalls.Tvol[1],Plant.Boiler.TubeWalls.Tvol[2],Plant.Boiler.TubeWalls.Tvol[3],Plant.Boiler.TubeWalls.Tvol[4],Plant.Boiler.TubeWalls.Tvol[5],Plant.Boiler.TubeWalls.Tvol[6],Plant.Boiler.TubeWalls.Tvol[7],Plant.Boiler.TubeWalls.Tvol[8],Plant.Boiler.TubeWalls.Tvol[9],Plant.Boiler.TubeWalls.Tvol[10],Plant.Boiler.GasSide.Ttilde[1],Plant.Boiler.GasSide.Ttilde[2],Plant.Boiler.GasSide.Ttilde[3],Plant.Boiler.GasSide.Ttilde[4],Plant.Boiler.GasSide.Ttilde[5],Plant.Boiler.GasSide.Ttilde[6],Plant.Boiler.GasSide.Ttilde[7],Plant.Boiler.GasSide.Ttilde[8],Plant.Boiler.GasSide.Ttilde[9],Plant.Boiler.GasSide.Ttilde[10],Plant.Boiler.GasSide.Xtilde[1,1],Plant.Boiler.GasSide.Xtilde[1,2],Plant.Boiler.GasSide.p,Plant.GasFlowActuator.y,Plant.WaterInTSensor.y,Plant.WaterOutTSensor.y,Plant.GasInTSensor.y,Plant.GasOutTSensor.y,Plant.ValveOpeningActuator.y) * Number of discrete variables: 22 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (538): * Single equations (assignments): 501 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 22 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 22 {(11,62.8%) 20,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(11,62.8%) 20,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01543/17.74, allocations: 3.069 MB / 5.762 GB, free: 86.92 MB / 0.6515 GB Notification: Performance of simCode: created initialization part: time 0.04788/17.78, allocations: 19.47 MB / 5.781 GB, free: 82.23 MB / 0.6515 GB Notification: Performance of simCode: created event and clocks part: time 1.566e-05/17.78, allocations: 6.438 kB / 5.781 GB, free: 82.23 MB / 0.6515 GB Notification: Performance of simCode: created simulation system equations: time 0.01732/17.8, allocations: 8.94 MB / 5.79 GB, free: 77.22 MB / 0.6515 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01193/17.81, allocations: 1.526 MB / 5.792 GB, free: 77 MB / 0.6515 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0322/17.85, allocations: 14.15 MB / 5.805 GB, free: 71.89 MB / 0.6515 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005053/17.85, allocations: 3.545 MB / 5.809 GB, free: 70.48 MB / 0.6515 GB Notification: Performance of simCode: alias equations: time 0.008873/17.86, allocations: 1.816 MB / 5.811 GB, free: 70.27 MB / 0.6515 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002731/17.86, allocations: 318.5 kB / 5.811 GB, free: 70.24 MB / 0.6515 GB Notification: Performance of SimCode: time 1.132e-06/17.86, allocations: 0 / 5.811 GB, free: 70.24 MB / 0.6515 GB Notification: Performance of Templates: time 1.059/18.92, allocations: 278.4 MB / 6.083 GB, free: 114.1 MB / 0.6515 GB make -j1 -f ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS.makefile (rm -f ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS.pipe ; mkfifo ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS.pipe >> ../files/ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS.sim & ./ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS.pipe 2>&1)