Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified.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.OpenLoopSimulatorSimplified,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified") translateModel(ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001003/0.001003, allocations: 176.5 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.057/2.057, allocations: 205.4 MB / 223.5 MB, free: 9.031 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.0007931/0.0007933, allocations: 90.34 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.6409/0.6409, allocations: 48.78 MB / 368.9 MB, free: 47.37 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003624/0.0003625, allocations: 12 kB / 439.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1517, allocations: 60.26 MB / 0.4884 GB, free: 14.3 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.49/12.64, allocations: 4 GB / 4.488 GB, free: 19.14 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/12.64, allocations: 102.2 kB / 4.489 GB, free: 19.05 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 7.211/19.86, allocations: 1.757 GB / 6.245 GB, free: 30.67 MB / 0.5573 GB Notification: Performance of FrontEnd: time 5.25e-06/19.86, allocations: 0 / 6.245 GB, free: 30.67 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0006768/19.86, allocations: 108.8 kB / 6.245 GB, free: 30.66 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1245 * Number of variables: 1245 Notification: Performance of Generate backend data structure: time 0.03318/19.89, allocations: 5.754 MB / 6.251 GB, free: 28.7 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.142e-05/19.89, allocations: 13.25 kB / 6.251 GB, free: 28.7 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01224/19.9, allocations: 1.472 MB / 6.252 GB, free: 28.46 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01491/19.92, allocations: 3.83 MB / 6.256 GB, free: 27.89 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007653/19.92, allocations: 353.2 kB / 6.256 GB, free: 27.88 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004979/19.92, allocations: 0.5106 MB / 6.257 GB, free: 27.86 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04269/19.97, allocations: 9.472 MB / 6.266 GB, free: 27.37 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004784/19.97, allocations: 9.656 kB / 6.266 GB, free: 27.36 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005433/19.97, allocations: 206.4 kB / 6.266 GB, free: 27.36 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003529/19.97, allocations: 266.3 kB / 6.267 GB, free: 27.35 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0333/20.01, allocations: 11.58 MB / 6.278 GB, free: 27.3 MB / 0.5573 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.08567/20.09, allocations: 32.38 MB / 6.31 GB, free: 13.58 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0372/20.13, allocations: 11.34 MB / 6.321 GB, free: 8.273 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008714/20.14, allocations: 4.279 MB / 6.325 GB, free: 6.324 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05739/20.19, allocations: 21.93 MB / 6.346 GB, free: 7.473 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001584/20.19, allocations: 96.33 kB / 6.346 GB, free: 7.395 MB / 0.573 GB Notification: Performance of pre-optimization done (n=482): time 1.187e-05/20.2, allocations: 0 / 6.346 GB, free: 7.395 MB / 0.573 GB Notification: Performance of matching and sorting (n=482): time 0.07425/20.27, allocations: 17.72 MB / 6.364 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001967/20.27, allocations: 124.9 kB / 6.364 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006511/20.28, allocations: 2.078 MB / 6.366 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.00251/20.28, allocations: 117.7 kB / 6.366 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.002289/20.28, allocations: 1.759 MB / 6.368 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.004757/20.29, allocations: 1.708 MB / 6.369 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002307/20.29, allocations: 116 kB / 6.369 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0009578/20.29, allocations: 0.5432 MB / 6.37 GB, free: 7.949 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009203/20.3, allocations: 3.337 MB / 6.373 GB, free: 5.031 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4404/20.74, allocations: 4.968 MB / 6.378 GB, free: 65.45 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02052/20.76, allocations: 8.893 MB / 6.387 GB, free: 63.68 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.39e-05/20.76, allocations: 10.94 kB / 6.387 GB, free: 63.68 MB / 0.5886 GB Notification: Performance of matching and sorting (n=733) (initialization): time 0.02605/20.79, allocations: 11.54 MB / 6.398 GB, free: 63.45 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009238/20.79, allocations: 1.453 MB / 6.399 GB, free: 61.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.769e-05/20.79, allocations: 47.19 kB / 6.4 GB, free: 61.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08846/20.87, allocations: 14.56 MB / 6.414 GB, free: 61.54 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003544/20.88, allocations: 0.7581 MB / 6.414 GB, free: 61.54 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03069/20.91, allocations: 13.64 MB / 6.428 GB, free: 59.14 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006994/20.92, allocations: 0.807 MB / 6.429 GB, free: 59.14 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002062/20.92, allocations: 278.6 kB / 6.429 GB, free: 59.14 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/20.92, allocations: 3.875 kB / 6.429 GB, free: 59.14 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02946/20.95, allocations: 10.96 MB / 6.44 GB, free: 58.92 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002251/20.95, allocations: 45.25 kB / 6.44 GB, free: 58.92 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05978/21.01, allocations: 10.65 MB / 6.45 GB, free: 58.75 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004041/21.01, allocations: 0.8721 MB / 6.451 GB, free: 58.75 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02532/21.04, allocations: 13.15 MB / 6.464 GB, free: 55.04 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006572/21.04, allocations: 0.7188 MB / 6.464 GB, free: 54.92 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001852/21.05, allocations: 278.4 kB / 6.465 GB, free: 54.92 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 208 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (402): * Single equations (assignments): 398 * 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 {32 300} Notification: Performance of prepare postOptimizeDAE: time 0.00648/21.05, allocations: 1.74 MB / 6.466 GB, free: 54.73 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001756/21.05, allocations: 346.8 kB / 6.467 GB, free: 54.57 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02264/21.08, allocations: 10.71 MB / 6.477 GB, free: 54.11 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.829e-05/21.08, allocations: 46.59 kB / 6.477 GB, free: 54.11 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.429e-05/21.08, allocations: 20.12 kB / 6.477 GB, free: 54.11 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001491/21.08, allocations: 21.23 kB / 6.477 GB, free: 54.11 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04277/21.12, allocations: 16.45 MB / 6.493 GB, free: 47.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.236e-05/21.12, allocations: 0 / 6.493 GB, free: 47.34 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005728/21.13, allocations: 0.8035 MB / 6.494 GB, free: 47.29 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01294/21.14, allocations: 3.907 MB / 6.498 GB, free: 46.2 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002008/21.14, allocations: 190.9 kB / 6.498 GB, free: 46.11 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04475/21.19, allocations: 48.74 MB / 6.546 GB, free: 6.578 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/21.19, allocations: 3.375 kB / 6.546 GB, free: 6.578 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03551/21.22, allocations: 14.32 MB / 6.56 GB, free: 356 kB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006389/21.23, allocations: 1.4 MB / 6.561 GB, free: 0 / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003129/21.23, allocations: 158.8 kB / 6.561 GB, free: 0 / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006433/21.24, allocations: 347.6 kB / 6.562 GB, free: 15.92 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003068/21.24, allocations: 386.8 kB / 6.562 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001969/21.24, allocations: 191.1 kB / 6.562 GB, free: 15.83 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.003629/21.25, allocations: 1.382 MB / 6.563 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.064e-06/21.25, allocations: 0 / 6.563 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.01881/21.26, allocations: 3.244 MB / 6.567 GB, free: 14.76 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 38 (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.p,Plant.GasFlowActuator.y,Plant.WaterInTSensor.y,Plant.WaterOutTSensor.y,Plant.GasInTSensor.y,Plant.GasOutTSensor.y,Plant.ValveOpeningActuator.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (404): * Single equations (assignments): 378 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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,(10,64.0%) 21,(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,(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.004153/21.27, allocations: 1.391 MB / 6.568 GB, free: 14.42 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0458/21.31, allocations: 14.72 MB / 6.582 GB, free: 5.059 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.367e-05/21.31, allocations: 5 kB / 6.582 GB, free: 5.055 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.01636/21.33, allocations: 7.232 MB / 6.589 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01322/21.34, allocations: 1.656 MB / 6.591 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03503/21.38, allocations: 14.62 MB / 6.605 GB, free: 1.492 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3916/21.77, allocations: 2.994 MB / 6.608 GB, free: 84.45 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.01039/21.78, allocations: 2.212 MB / 6.61 GB, free: 84.42 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001877/21.78, allocations: 310 kB / 6.611 GB, free: 84.42 MB / 0.6198 GB Notification: Performance of SimCode: time 1.173e-06/21.78, allocations: 0.9688 kB / 6.611 GB, free: 84.42 MB / 0.6198 GB Notification: Performance of Templates: time 0.2736/22.06, allocations: 164.2 MB / 6.771 GB, free: 51.02 MB / 0.6198 GB make -j1 -f ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified.makefile (rm -f ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified.pipe ; mkfifo ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified.pipe >> ../files/ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified.sim & ./ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified.pipe 2>&1)