Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulatorSimplified.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.ClosedLoopDigitalSimulatorSimplified,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulatorSimplified") translateModel(ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulatorSimplified,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulatorSimplified") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001009/0.00101, allocations: 172.2 kB / 17.39 MB, free: 4.309 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.075/2.075, allocations: 205.4 MB / 223.5 MB, free: 9.035 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.0007924/0.0007923, allocations: 85.38 kB / 271.9 MB, free: 8.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6415/0.6415, allocations: 48.77 MB / 369 MB, free: 47.38 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003879/0.0003879, allocations: 12 kB / 439.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1615, allocations: 60.26 MB / 0.4884 GB, free: 14.31 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.44/12.6, allocations: 4 GB / 4.489 GB, free: 19.53 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/12.6, allocations: 95.81 kB / 4.489 GB, free: 19.44 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.841/19.44, allocations: 1.758 GB / 6.246 GB, free: 38.48 MB / 0.573 GB Notification: Performance of FrontEnd: time 4.698e-06/19.45, allocations: 3.844 kB / 6.246 GB, free: 38.48 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0007301/19.45, allocations: 116.1 kB / 6.246 GB, free: 38.46 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1246 * Number of variables: 1246 Notification: Performance of Generate backend data structure: time 0.03541/19.48, allocations: 5.799 MB / 6.252 GB, free: 36.46 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.599e-05/19.48, allocations: 7.469 kB / 6.252 GB, free: 36.46 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01154/19.49, allocations: 1.483 MB / 6.254 GB, free: 36.21 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01522/19.51, allocations: 3.846 MB / 6.257 GB, free: 35.64 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000891/19.51, allocations: 360.7 kB / 6.258 GB, free: 35.62 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005503/19.51, allocations: 0.5112 MB / 6.258 GB, free: 35.61 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03643/19.55, allocations: 9.51 MB / 6.267 GB, free: 35.12 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000387/19.55, allocations: 10.62 kB / 6.267 GB, free: 35.11 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004275/19.56, allocations: 198.9 kB / 6.268 GB, free: 35.11 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003515/19.56, allocations: 263.9 kB / 6.268 GB, free: 35.1 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03079/19.59, allocations: 11.59 MB / 6.279 GB, free: 35.05 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 preOpt removeSimpleEquations (simulation): time 0.08176/19.67, allocations: 32.39 MB / 6.311 GB, free: 27.09 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02858/19.7, allocations: 11.38 MB / 6.322 GB, free: 21.79 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01046/19.71, allocations: 4.304 MB / 6.326 GB, free: 19.83 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06364/19.77, allocations: 21.96 MB / 6.348 GB, free: 4.961 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01278/19.78, allocations: 4.134 MB / 6.352 GB, free: 3.25 MB / 0.573 GB Notification: Performance of pre-optimization done (n=486): time 2.343e-05/19.78, allocations: 0 / 6.352 GB, free: 3.25 MB / 0.573 GB Notification: Performance of matching and sorting (n=486): time 0.06473/19.85, allocations: 17.24 MB / 6.368 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002092/19.85, allocations: 259.1 kB / 6.369 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005347/19.85, allocations: 2.107 MB / 6.371 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.002054/19.86, allocations: 120.2 kB / 6.371 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.00251/19.86, allocations: 1.786 MB / 6.373 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.004167/19.86, allocations: 1.725 MB / 6.374 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001843/19.87, allocations: 114.1 kB / 6.374 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0008759/19.87, allocations: 0.5437 MB / 6.375 GB, free: 7.41 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008366/19.87, allocations: 3.367 MB / 6.378 GB, free: 4.465 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4775/20.35, allocations: 5.027 MB / 6.383 GB, free: 58.91 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0201/20.37, allocations: 8.966 MB / 6.392 GB, free: 57.12 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.612e-05/20.37, allocations: 14.75 kB / 6.392 GB, free: 57.12 MB / 0.5886 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.04031/20.41, allocations: 12 MB / 6.404 GB, free: 56.88 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.001563/20.41, allocations: 1.467 MB / 6.405 GB, free: 55.12 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001695/20.41, allocations: 48.88 kB / 6.405 GB, free: 55.12 MB / 0.5886 GB Warning: The tearing heuristic was not able to avoid discrete iteration variables because otherwise the system could not have been torn. This may lead to problems during simulation. Notification: Performance of postOpt tearingSystem (initialization): time 0.09418/20.51, allocations: 15.2 MB / 6.42 GB, free: 54.96 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003364/20.51, allocations: 0.719 MB / 6.421 GB, free: 54.96 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0349/20.55, allocations: 14.01 MB / 6.434 GB, free: 52.55 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008316/20.56, allocations: 0.8142 MB / 6.435 GB, free: 52.55 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002644/20.56, allocations: 278.9 kB / 6.435 GB, free: 52.55 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/20.56, allocations: 5.75 kB / 6.435 GB, free: 52.55 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03548/20.59, allocations: 11.12 MB / 6.446 GB, free: 52.33 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002978/20.59, allocations: 46.06 kB / 6.446 GB, free: 52.33 MB / 0.5886 GB Warning: The tearing heuristic was not able to avoid discrete iteration variables because otherwise the system could not have been torn. This may lead to problems during simulation. Notification: Performance of postOpt tearingSystem (initialization): time 0.06438/20.66, allocations: 10.72 MB / 6.457 GB, free: 52.16 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004439/20.66, allocations: 0.8409 MB / 6.458 GB, free: 52.16 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02741/20.69, allocations: 13.49 MB / 6.471 GB, free: 48.45 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008089/20.7, allocations: 0.7317 MB / 6.472 GB, free: 48.32 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00226/20.7, allocations: 276.2 kB / 6.472 GB, free: 48.32 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 210 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.DigitalPI1.firstTrigger,DigitalPI1.firstTrigger,$whenCondition1,DigitalPI1.sampleTrigger,DigitalPI1.e,$PRE.DigitalPI1.e_int,DigitalPI1.e_int,DigitalPI1.e_int_wind,DigitalPI1.CSwind,DigitalPI1.CS) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (395): * Single equations (assignments): 391 * 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 {33 312} Notification: Performance of prepare postOptimizeDAE: time 0.006662/20.71, allocations: 1.756 MB / 6.473 GB, free: 48.14 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002172/20.71, allocations: 351.5 kB / 6.474 GB, free: 47.97 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02863/20.74, allocations: 10.64 MB / 6.484 GB, free: 47.52 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.075e-05/20.74, allocations: 46.31 kB / 6.484 GB, free: 47.52 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.477e-05/20.74, allocations: 23.69 kB / 6.484 GB, free: 47.52 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001109/20.74, allocations: 21.09 kB / 6.484 GB, free: 47.52 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04525/20.78, allocations: 18.15 MB / 6.502 GB, free: 42.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.965e-05/20.78, allocations: 2.938 kB / 6.502 GB, free: 42.09 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004879/20.79, allocations: 0.7872 MB / 6.503 GB, free: 42.06 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01306/20.8, allocations: 3.914 MB / 6.507 GB, free: 40.97 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002014/20.8, allocations: 195.3 kB / 6.507 GB, free: 40.88 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04263/20.85, allocations: 48.73 MB / 6.554 GB, free: 1.371 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/20.85, allocations: 1.5 kB / 6.554 GB, free: 1.371 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03678/20.88, allocations: 14.54 MB / 6.569 GB, free: 11.26 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004834/20.89, allocations: 1.31 MB / 6.57 GB, free: 10.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002404/20.89, allocations: 138.7 kB / 6.57 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005498/20.9, allocations: 355.1 kB / 6.57 GB, free: 10.34 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002422/20.9, allocations: 395.5 kB / 6.571 GB, free: 10.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001522/20.9, allocations: 192.7 kB / 6.571 GB, free: 10.24 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.003155/20.9, allocations: 1.385 MB / 6.572 GB, free: 9.664 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.11e-07/20.9, allocations: 2.938 kB / 6.572 GB, free: 9.664 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.01838/20.92, allocations: 3.256 MB / 6.575 GB, free: 9.164 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.WaterOutTSensor.y,Plant.GasInTSensor.y,Plant.GasOutTSensor.y,Plant.ValveOpeningActuator.y,Plant.WaterInTSensor.y) * Number of discrete variables: 8 (DigitalPI1.sampleTrigger,$whenCondition1,DigitalPI1.firstTrigger,DigitalPI1.e,DigitalPI1.e_int,DigitalPI1.e_int_wind,DigitalPI1.CSwind,DigitalPI1.CS) * Number of discrete states: 1 (DigitalPI1.e_int) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (408): * Single equations (assignments): 376 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.00393/20.93, allocations: 1.393 MB / 6.577 GB, free: 8.824 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.04424/20.97, allocations: 14.94 MB / 6.591 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.356e-05/20.97, allocations: 5 kB / 6.591 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.01774/20.99, allocations: 7.268 MB / 6.599 GB, free: 7.297 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01413/21, allocations: 1.671 MB / 6.6 GB, free: 6.133 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3994/21.4, allocations: 14.7 MB / 6.614 GB, free: 77.1 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004838/21.41, allocations: 3.011 MB / 6.617 GB, free: 76.29 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.00907/21.42, allocations: 2.205 MB / 6.62 GB, free: 76.26 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001838/21.42, allocations: 312.3 kB / 6.62 GB, free: 76.26 MB / 0.6198 GB Notification: Performance of SimCode: time 1.212e-06/21.42, allocations: 0 / 6.62 GB, free: 76.26 MB / 0.6198 GB Notification: Performance of Templates: time 0.2558/21.67, allocations: 166.7 MB / 6.783 GB, free: 39.98 MB / 0.6198 GB make -j1 -f ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulatorSimplified.makefile (rm -f ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulatorSimplified.pipe ; mkfifo ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulatorSimplified.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulatorSimplified.pipe >> ../files/ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulatorSimplified.sim & ./ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulatorSimplified -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulatorSimplified.pipe 2>&1)