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.001716/0.001716, allocations: 174.8 kB / 13.63 MB, free: 1.684 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.847/1.847, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.0008061/0.0008062, allocations: 86 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3617/0.3617, allocations: 48.78 MB / 364.3 MB, free: 6.867 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.167e-05/3.171e-05, allocations: 4 kB / 432.5 MB, free: 16.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1485, allocations: 60.25 MB / 492.7 MB, free: 4.383 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.54/10.69, allocations: 3.674 GB / 4.156 GB, free: 35.04 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/10.69, allocations: 91.08 kB / 4.156 GB, free: 35 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.201/14.89, allocations: 1.045 GB / 5.2 GB, free: 33.71 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.014e-06/14.89, allocations: 0 / 5.2 GB, free: 33.71 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0003352/14.89, allocations: 122.8 kB / 5.2 GB, free: 33.59 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: 1371 * Number of variables: 1371 Notification: Performance of Generate backend data structure: time 0.02682/14.92, allocations: 6.016 MB / 5.206 GB, free: 27.53 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/14.92, allocations: 8.031 kB / 5.206 GB, free: 27.52 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01327/14.93, allocations: 2.013 MB / 5.208 GB, free: 25.5 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01353/14.95, allocations: 4.145 MB / 5.212 GB, free: 21.32 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004836/14.95, allocations: 392.6 kB / 5.213 GB, free: 20.94 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003748/14.95, allocations: 0.558 MB / 5.213 GB, free: 20.39 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03578/14.99, allocations: 12.88 MB / 5.226 GB, free: 7.398 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001717/14.99, allocations: 4 kB / 5.226 GB, free: 7.395 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003001/14.99, allocations: 222.5 kB / 5.226 GB, free: 7.18 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002292/14.99, allocations: 282.2 kB / 5.226 GB, free: 6.906 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03605/15.03, allocations: 14.82 MB / 5.241 GB, free: 8.078 MB / 0.573 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.4987/15.52, allocations: 41.08 MB / 5.281 GB, free: 36.05 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0289/15.55, allocations: 21.69 MB / 5.302 GB, free: 24.5 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009101/15.56, allocations: 4.815 MB / 5.307 GB, free: 24.46 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1832/15.75, allocations: 97.03 MB / 5.402 GB, free: 27.74 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002109/15.75, allocations: 114.8 kB / 5.402 GB, free: 27.7 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=593): time 8.125e-06/15.75, allocations: 7.125 kB / 5.402 GB, free: 27.69 MB / 0.6355 GB Notification: Performance of matching and sorting (n=594): time 0.0841/15.83, allocations: 27.56 MB / 5.429 GB, free: 25.83 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/15.83, allocations: 137.1 kB / 5.429 GB, free: 25.73 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002532/15.83, allocations: 1.444 MB / 5.43 GB, free: 25.56 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.002744/15.84, allocations: 137.5 kB / 5.43 GB, free: 25.53 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001007/15.84, allocations: 1.421 MB / 5.432 GB, free: 25.05 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.004247/15.84, allocations: 2.066 MB / 5.434 GB, free: 24 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001159/15.84, allocations: 103.3 kB / 5.434 GB, free: 24 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0005671/15.84, allocations: 0.514 MB / 5.434 GB, free: 23.69 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00817/15.85, allocations: 4.958 MB / 5.439 GB, free: 23.67 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01006/15.86, allocations: 5.591 MB / 5.445 GB, free: 23.18 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01031/15.87, allocations: 5.584 MB / 5.45 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.082e-05/15.87, allocations: 6.938 kB / 5.45 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=678) (initialization): time 0.04119/15.91, allocations: 16.68 MB / 5.466 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.001485/15.91, allocations: 3.291 MB / 5.47 GB, free: 9.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.366e-05/15.91, allocations: 15.89 kB / 5.47 GB, free: 9.141 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7113/16.62, allocations: 29.57 MB / 5.498 GB, free: 115.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002952/16.63, allocations: 420.8 kB / 5.499 GB, free: 115.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06585/16.69, allocations: 22.42 MB / 5.521 GB, free: 112.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01152/16.71, allocations: 0.6824 MB / 5.521 GB, free: 112.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003629/16.71, allocations: 348 kB / 5.522 GB, free: 112.9 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/16.71, allocations: 5.688 kB / 5.522 GB, free: 112.9 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05487/16.76, allocations: 16.21 MB / 5.538 GB, free: 112.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.525e-05/16.76, allocations: 6.312 kB / 5.538 GB, free: 112.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2018/16.97, allocations: 23.29 MB / 5.56 GB, free: 112.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003011/16.97, allocations: 483.9 kB / 5.561 GB, free: 112.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04167/17.01, allocations: 21.65 MB / 5.582 GB, free: 110.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00816/17.02, allocations: 0.6698 MB / 5.583 GB, free: 110.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002557/17.02, allocations: 347.8 kB / 5.583 GB, free: 110.1 MB / 0.6355 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 (196): * Single equations (assignments): 192 * 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 449} Notification: Performance of prepare postOptimizeDAE: time 0.003456/17.02, allocations: 371.5 kB / 5.583 GB, free: 110 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001998/17.03, allocations: 351 kB / 5.584 GB, free: 110 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05074/17.08, allocations: 33.63 MB / 5.616 GB, free: 100 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001429/17.08, allocations: 95.09 kB / 5.616 GB, free: 100 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.342e-05/17.08, allocations: 16.84 kB / 5.617 GB, free: 100 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002004/17.08, allocations: 29.91 kB / 5.617 GB, free: 100 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07709/17.16, allocations: 51.37 MB / 5.667 GB, free: 62.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.939e-05/17.16, allocations: 0 / 5.667 GB, free: 62.47 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00745/17.16, allocations: 1.162 MB / 5.668 GB, free: 61.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01505/17.18, allocations: 4.585 MB / 5.672 GB, free: 58.3 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002508/17.18, allocations: 275.9 kB / 5.673 GB, free: 58.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4534/17.63, allocations: 51.18 MB / 5.723 GB, free: 99.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/17.63, allocations: 2.266 kB / 5.723 GB, free: 99.77 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04441/17.68, allocations: 20.2 MB / 5.742 GB, free: 99.1 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005278/17.68, allocations: 1.692 MB / 5.744 GB, free: 98.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001582/17.69, allocations: 202.6 kB / 5.744 GB, free: 98.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006199/17.69, allocations: 0.5503 MB / 5.745 GB, free: 98.88 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001693/17.69, allocations: 470.1 kB / 5.745 GB, free: 98.87 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009635/17.69, allocations: 264.6 kB / 5.745 GB, free: 98.87 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001748/17.7, allocations: 1.155 MB / 5.746 GB, free: 98.75 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.42e-07/17.7, allocations: 2.75 kB / 5.746 GB, free: 98.75 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.01787/17.71, allocations: 4.108 MB / 5.751 GB, free: 98.75 MB / 0.6355 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 (529): * Single equations (assignments): 492 * 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.0115/17.73, allocations: 2.87 MB / 5.753 GB, free: 98.47 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.04937/17.77, allocations: 19.51 MB / 5.772 GB, free: 98.11 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-05/17.77, allocations: 5.406 kB / 5.772 GB, free: 98.11 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.01832/17.79, allocations: 9.042 MB / 5.781 GB, free: 95.56 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01171/17.81, allocations: 1.884 MB / 5.783 GB, free: 95.52 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03226/17.84, allocations: 14.32 MB / 5.797 GB, free: 93.64 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003916/17.84, allocations: 3.556 MB / 5.801 GB, free: 92.82 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.007914/17.85, allocations: 1.847 MB / 5.802 GB, free: 92.62 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002101/17.85, allocations: 320.7 kB / 5.803 GB, free: 92.62 MB / 0.6355 GB Notification: Performance of SimCode: time 1.853e-06/17.85, allocations: 0 / 5.803 GB, free: 92.62 MB / 0.6355 GB Notification: Performance of Templates: time 0.6992/18.55, allocations: 307 MB / 6.102 GB, free: 47.38 MB / 0.6355 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)