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: "" <> buildModelFMU(ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified,fileNamePrefix="ThermoPower_ThermoPower_Examples_HRB_Simulators_OpenLoopSimulatorSimplified",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified,fileNamePrefix="ThermoPower_ThermoPower_Examples_HRB_Simulators_OpenLoopSimulatorSimplified",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001646/0.001646, allocations: 180.4 kB / 16.38 MB, free: 5.762 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.903/1.903, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001073/0.001073, allocations: 89.28 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.602/0.602, allocations: 48.78 MB / 367.9 MB, free: 47.42 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003871/0.0003877, allocations: 8 kB / 438.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1736, allocations: 60.25 MB / 499 MB, free: 14.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.55/11.72, allocations: 4 GB / 4.487 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/11.72, allocations: 100.5 kB / 4.487 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 7.672/19.4, allocations: 2.133 GB / 6.62 GB, free: 32.73 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.725e-06/19.4, allocations: 0 / 6.62 GB, free: 32.73 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0003509/19.4, allocations: 116.9 kB / 6.62 GB, free: 32.72 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: 1245 * Number of variables: 1245 Notification: Performance of Generate backend data structure: time 0.02365/19.42, allocations: 5.794 MB / 6.626 GB, free: 30.89 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/19.42, allocations: 12.09 kB / 6.626 GB, free: 30.89 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003904/19.42, allocations: 0.7802 MB / 6.626 GB, free: 30.81 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009444/19.43, allocations: 1.528 MB / 6.628 GB, free: 30.57 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.011/19.44, allocations: 3.785 MB / 6.632 GB, free: 30.05 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000494/19.44, allocations: 357.4 kB / 6.632 GB, free: 30.04 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003189/19.45, allocations: 0.5121 MB / 6.632 GB, free: 30.02 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.025/19.47, allocations: 9.44 MB / 6.642 GB, free: 29.53 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002618/19.47, allocations: 5.688 kB / 6.642 GB, free: 29.53 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002882/19.48, allocations: 205.8 kB / 6.642 GB, free: 29.53 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002714/19.48, allocations: 267.8 kB / 6.642 GB, free: 29.52 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02344/19.5, allocations: 11.58 MB / 6.653 GB, free: 29.47 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.07168/19.57, allocations: 32.61 MB / 6.685 GB, free: 21.57 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02533/19.6, allocations: 11.33 MB / 6.696 GB, free: 20.23 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04771/19.64, allocations: 22.04 MB / 6.718 GB, free: 10.53 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.355e-05/19.64, allocations: 88.91 kB / 6.718 GB, free: 10.45 MB / 0.573 GB Notification: Performance of pre-optimization done (n=482): time 1.059e-05/19.64, allocations: 0 / 6.718 GB, free: 10.45 MB / 0.573 GB Notification: Performance of matching and sorting (n=482): time 0.05376/19.7, allocations: 17.11 MB / 6.735 GB, free: 3.078 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.207e-05/19.7, allocations: 127.9 kB / 6.735 GB, free: 2.98 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004421/19.7, allocations: 1.862 MB / 6.737 GB, free: 2.184 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001801/19.71, allocations: 119.7 kB / 6.737 GB, free: 2.086 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001727/19.71, allocations: 1.763 MB / 6.738 GB, free: 0.7305 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003396/19.71, allocations: 1.707 MB / 6.74 GB, free: 15.41 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00172/19.71, allocations: 114.8 kB / 6.74 GB, free: 15.32 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0007578/19.71, allocations: 0.5324 MB / 6.741 GB, free: 14.91 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007017/19.72, allocations: 3.337 MB / 6.744 GB, free: 13.46 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008932/19.73, allocations: 4.942 MB / 6.749 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007967/19.74, allocations: 4.278 MB / 6.753 GB, free: 8.043 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.315e-05/19.74, allocations: 14.28 kB / 6.753 GB, free: 8.043 MB / 0.5886 GB Notification: Performance of matching and sorting (n=733) (initialization): time 0.02802/19.76, allocations: 11.54 MB / 6.764 GB, free: 3.121 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.006595/19.77, allocations: 18.68 MB / 6.782 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001306/19.77, allocations: 46.91 kB / 6.782 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09772/19.87, allocations: 14.49 MB / 6.797 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003226/19.87, allocations: 0.7541 MB / 6.797 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02869/19.9, allocations: 13.63 MB / 6.811 GB, free: 6.422 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007/19.91, allocations: 0.8085 MB / 6.811 GB, free: 6.035 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002084/19.91, allocations: 277.8 kB / 6.812 GB, free: 5.992 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/19.91, allocations: 2.625 kB / 6.812 GB, free: 5.992 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02708/19.94, allocations: 10.95 MB / 6.822 GB, free: 1.426 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002132/19.94, allocations: 47.47 kB / 6.822 GB, free: 1.426 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3895/20.33, allocations: 10.72 MB / 6.833 GB, free: 80.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005403/20.33, allocations: 0.8659 MB / 6.834 GB, free: 80.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01964/20.35, allocations: 13.15 MB / 6.847 GB, free: 76.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006995/20.36, allocations: 0.7248 MB / 6.847 GB, free: 76.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001888/20.36, allocations: 273.3 kB / 6.848 GB, free: 76.48 MB / 0.6198 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.006129/20.37, allocations: 1.745 MB / 6.849 GB, free: 76.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00196/20.37, allocations: 344.6 kB / 6.85 GB, free: 76.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02606/20.4, allocations: 10.73 MB / 6.86 GB, free: 75.81 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.332e-05/20.4, allocations: 49.25 kB / 6.86 GB, free: 75.81 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-05/20.4, allocations: 17.22 kB / 6.86 GB, free: 75.81 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001685/20.4, allocations: 25.22 kB / 6.86 GB, free: 75.81 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03904/20.44, allocations: 16.44 MB / 6.876 GB, free: 75.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.196e-05/20.44, allocations: 2.781 kB / 6.876 GB, free: 75.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005467/20.44, allocations: 0.8023 MB / 6.877 GB, free: 75.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01444/20.46, allocations: 3.911 MB / 6.881 GB, free: 74.84 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001883/20.46, allocations: 193.5 kB / 6.881 GB, free: 74.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04513/20.5, allocations: 49.81 MB / 6.93 GB, free: 44.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/20.5, allocations: 0 / 6.93 GB, free: 44.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0315/20.53, allocations: 14.31 MB / 6.944 GB, free: 43.97 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004975/20.54, allocations: 1.331 MB / 6.945 GB, free: 43.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002272/20.54, allocations: 136.7 kB / 6.945 GB, free: 43.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00573/20.55, allocations: 345.1 kB / 6.945 GB, free: 43.71 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002292/20.55, allocations: 381.3 kB / 6.946 GB, free: 43.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001535/20.55, allocations: 191.2 kB / 6.946 GB, free: 43.7 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.00281/20.55, allocations: 1.372 MB / 6.947 GB, free: 43.56 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/20.55, allocations: 6.406 kB / 6.947 GB, free: 43.56 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.01809/20.57, allocations: 3.242 MB / 6.95 GB, free: 43.4 MB / 0.6198 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.04199/20.61, allocations: 16.18 MB / 6.966 GB, free: 37.07 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.04436/20.66, allocations: 14.71 MB / 6.981 GB, free: 32.02 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.55e-05/20.66, allocations: 3.844 kB / 6.981 GB, free: 32.02 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.01648/20.67, allocations: 7.217 MB / 6.988 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009588/20.68, allocations: 1.584 MB / 6.989 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1141/20.8, allocations: 71.24 MB / 7.059 GB, free: 9.34 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006322/20.8, allocations: 3.077 MB / 7.062 GB, free: 8.043 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.009936/20.81, allocations: 2.202 MB / 7.064 GB, free: 7.996 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005222/20.82, allocations: 1.71 MB / 7.066 GB, free: 6.672 MB / 0.6511 GB Notification: Performance of SimCode: time 2.043e-06/20.82, allocations: 0 / 7.066 GB, free: 6.672 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6628/21.48, allocations: 205.9 MB / 7.267 GB, free: 78.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001349/21.48, allocations: 231.5 kB / 7.267 GB, free: 78.25 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.208/29.69, allocations: 3.938 kB / 7.267 GB, free: 78.25 MB / 0.6511 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Examples_HRB_Simulators_OpenLoopSimulatorSimplified_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Examples_HRB_Simulators_OpenLoopSimulatorSimplified.fmu > ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified.pipe 2>&1)