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.001734/0.001733, allocations: 176.2 kB / 8.348 MB, free: 0.7266 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.643/1.643, 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.0009576/0.0009576, allocations: 89.84 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.4868/0.4868, allocations: 48.77 MB / 358.8 MB, free: 53.24 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.826e-05/1.828e-05, allocations: 3.938 kB / 425.4 MB, free: 8.137 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1449, allocations: 60.26 MB / 485.6 MB, free: 11.73 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.6/10.74, allocations: 3.999 GB / 4.473 GB, free: 83.8 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/10.74, allocations: 87.25 kB / 4.473 GB, free: 83.72 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 7.936/18.68, allocations: 2.11 GB / 6.583 GB, free: 7.551 MB / 0.5421 GB Notification: Performance of FrontEnd: time 2.465e-06/18.68, allocations: 4 kB / 6.583 GB, free: 7.547 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 0.0002968/18.68, allocations: 107.8 kB / 6.583 GB, free: 7.445 MB / 0.5421 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.02501/18.71, allocations: 5.485 MB / 6.589 GB, free: 1.91 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/18.71, allocations: 8.031 kB / 6.589 GB, free: 1.902 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01025/18.72, allocations: 1.523 MB / 6.59 GB, free: 384 kB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01324/18.73, allocations: 3.782 MB / 6.594 GB, free: 12.56 MB / 0.5577 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004107/18.73, allocations: 151.9 kB / 6.594 GB, free: 12.41 MB / 0.5577 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00444/18.73, allocations: 302.7 kB / 6.594 GB, free: 12.12 MB / 0.5577 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02635/18.76, allocations: 10.84 MB / 6.605 GB, free: 1.273 MB / 0.5577 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4594/19.22, allocations: 8.637 MB / 6.613 GB, free: 35.22 MB / 0.5577 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001445/19.22, allocations: 6.5 kB / 6.613 GB, free: 35.22 MB / 0.5577 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002335/19.22, allocations: 6.469 kB / 6.613 GB, free: 35.22 MB / 0.5577 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003007/19.22, allocations: 267.7 kB / 6.613 GB, free: 35.21 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.0673/19.29, allocations: 32.13 MB / 6.645 GB, free: 27.64 MB / 0.5577 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02517/19.32, allocations: 11.33 MB / 6.656 GB, free: 26.25 MB / 0.5577 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009157/19.32, allocations: 4.082 MB / 6.66 GB, free: 26.2 MB / 0.5577 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05292/19.38, allocations: 22.69 MB / 6.682 GB, free: 18.74 MB / 0.5577 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001624/19.38, allocations: 88.42 kB / 6.682 GB, free: 18.7 MB / 0.5577 GB Notification: Performance of pre-optimization done (n=491): time 2.103e-05/19.38, allocations: 0 / 6.682 GB, free: 18.7 MB / 0.5577 GB Notification: Performance of matching and sorting (n=491): time 0.03845/19.42, allocations: 10.61 MB / 6.692 GB, free: 18.16 MB / 0.5577 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.628e-05/19.42, allocations: 131.2 kB / 6.693 GB, free: 18.07 MB / 0.5577 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004443/19.42, allocations: 1.639 MB / 6.694 GB, free: 17.84 MB / 0.5577 GB Notification: Performance of collectPreVariables (initialization): time 0.002099/19.42, allocations: 32.95 kB / 6.694 GB, free: 17.8 MB / 0.5577 GB Notification: Performance of collectInitialEqns (initialization): time 0.001619/19.42, allocations: 1.756 MB / 6.696 GB, free: 17.08 MB / 0.5577 GB Notification: Performance of collectInitialBindings (initialization): time 0.003431/19.43, allocations: 1.675 MB / 6.698 GB, free: 16.08 MB / 0.5577 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001677/19.43, allocations: 0 / 6.698 GB, free: 16.08 MB / 0.5577 GB Notification: Performance of setup shared object (initialization): time 0.0007175/19.43, allocations: 0.5401 MB / 6.698 GB, free: 15.76 MB / 0.5577 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006663/19.44, allocations: 3.191 MB / 6.701 GB, free: 15.74 MB / 0.5577 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009496/19.45, allocations: 4.765 MB / 6.706 GB, free: 13.93 MB / 0.5577 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01282/19.46, allocations: 5.314 MB / 6.711 GB, free: 12.63 MB / 0.5577 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001329/19.46, allocations: 13.81 kB / 6.711 GB, free: 12.63 MB / 0.5577 GB Notification: Performance of matching and sorting (n=743) (initialization): time 0.03616/19.5, allocations: 12.15 MB / 6.723 GB, free: 7.848 MB / 0.5577 GB Notification: Performance of prepare postOptimizeDAE: time 0.008241/19.5, allocations: 18.49 MB / 6.741 GB, free: 4.582 MB / 0.5733 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001869/19.5, allocations: 48.67 kB / 6.741 GB, free: 4.582 MB / 0.5733 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03909/19.54, allocations: 8.83 MB / 6.75 GB, free: 2.625 MB / 0.5733 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003639/19.55, allocations: 0.7707 MB / 6.75 GB, free: 2.602 MB / 0.5733 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03465/19.58, allocations: 15.38 MB / 6.765 GB, free: 10.55 MB / 0.589 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006926/19.59, allocations: 0.6829 MB / 6.766 GB, free: 10.26 MB / 0.589 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001783/19.59, allocations: 271.7 kB / 6.766 GB, free: 10.22 MB / 0.589 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/19.59, allocations: 2.969 kB / 6.766 GB, free: 10.22 MB / 0.589 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03367/19.62, allocations: 11.26 MB / 6.777 GB, free: 5.863 MB / 0.589 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002483/19.62, allocations: 48.28 kB / 6.777 GB, free: 5.863 MB / 0.589 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03051/19.66, allocations: 7.298 MB / 6.785 GB, free: 4.184 MB / 0.589 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004295/19.66, allocations: 0.8841 MB / 6.785 GB, free: 4.156 MB / 0.589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02819/19.69, allocations: 14.52 MB / 6.8 GB, free: 12.04 MB / 0.6046 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006325/19.69, allocations: 0.5893 MB / 6.8 GB, free: 11.83 MB / 0.6046 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001696/19.7, allocations: 277.2 kB / 6.8 GB, free: 11.78 MB / 0.6046 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (412): * Single equations (assignments): 408 * 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.002719/19.7, allocations: 235.2 kB / 6.801 GB, free: 11.63 MB / 0.6046 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03188/19.73, allocations: 10.62 MB / 6.811 GB, free: 7.652 MB / 0.6046 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002392/19.73, allocations: 329.4 kB / 6.811 GB, free: 7.496 MB / 0.6046 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03175/19.76, allocations: 11.26 MB / 6.822 GB, free: 3.234 MB / 0.6046 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.18e-05/19.76, allocations: 46.5 kB / 6.822 GB, free: 3.234 MB / 0.6046 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.866e-05/19.76, allocations: 23.33 kB / 6.822 GB, free: 3.234 MB / 0.6046 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001647/19.77, allocations: 28.56 kB / 6.822 GB, free: 3.23 MB / 0.6046 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4348/20.2, allocations: 17.02 MB / 6.839 GB, free: 81.39 MB / 0.6046 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.465e-05/20.2, allocations: 4.75 kB / 6.839 GB, free: 81.39 MB / 0.6046 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005126/20.21, allocations: 0.8167 MB / 6.84 GB, free: 81.39 MB / 0.6046 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01337/20.22, allocations: 3.808 MB / 6.844 GB, free: 81.21 MB / 0.6046 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002006/20.22, allocations: 139 kB / 6.844 GB, free: 81.21 MB / 0.6046 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0411/20.26, allocations: 47.02 MB / 6.89 GB, free: 52.52 MB / 0.6046 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/20.26, allocations: 7.234 kB / 6.89 GB, free: 52.51 MB / 0.6046 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03425/20.3, allocations: 15.07 MB / 6.904 GB, free: 51.8 MB / 0.6046 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004124/20.3, allocations: 1.325 MB / 6.906 GB, free: 51.54 MB / 0.6046 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001904/20.3, allocations: 64.89 kB / 6.906 GB, free: 51.54 MB / 0.6046 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005071/20.31, allocations: 258.8 kB / 6.906 GB, free: 51.54 MB / 0.6046 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001928/20.31, allocations: 391.1 kB / 6.906 GB, free: 51.53 MB / 0.6046 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009554/20.31, allocations: 193.6 kB / 6.907 GB, free: 51.53 MB / 0.6046 GB Notification: Performance of sorting global known variables: time 0.002162/20.31, allocations: 1.176 MB / 6.908 GB, free: 51.39 MB / 0.6046 GB Notification: Performance of sort global known variables: time 2.31e-07/20.31, allocations: 0 / 6.908 GB, free: 51.39 MB / 0.6046 GB Notification: Performance of remove unused functions: time 0.01628/20.33, allocations: 2.986 MB / 6.911 GB, free: 51.22 MB / 0.6046 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (414): * Single equations (assignments): 388 * 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.03901/20.37, allocations: 17.08 MB / 6.927 GB, free: 49.86 MB / 0.6046 GB Notification: Performance of simCode: created initialization part: time 0.03891/20.41, allocations: 13.88 MB / 6.941 GB, free: 49.54 MB / 0.6046 GB Notification: Performance of simCode: created event and clocks part: time 1.127e-05/20.41, allocations: 4.344 kB / 6.941 GB, free: 49.54 MB / 0.6046 GB Notification: Performance of simCode: created simulation system equations: time 0.01284/20.42, allocations: 6.909 MB / 6.948 GB, free: 47.19 MB / 0.6046 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008583/20.43, allocations: 1.42 MB / 6.949 GB, free: 47.17 MB / 0.6046 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03117/20.46, allocations: 12.24 MB / 6.961 GB, free: 45.52 MB / 0.6046 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002922/20.46, allocations: 3.077 MB / 6.964 GB, free: 44.73 MB / 0.6046 GB Notification: Performance of simCode: alias equations: time 0.009357/20.47, allocations: 2.415 MB / 6.966 GB, free: 44.69 MB / 0.6046 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003753/20.48, allocations: 1.701 MB / 6.968 GB, free: 44.68 MB / 0.6046 GB Notification: Performance of SimCode: time 7.92e-07/20.48, allocations: 0 / 6.968 GB, free: 44.68 MB / 0.6046 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6288/21.1, allocations: 189.2 MB / 7.153 GB, free: 74.17 MB / 0.6046 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001535/21.1, allocations: 149.9 kB / 7.153 GB, free: 73.98 MB / 0.6046 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.643/28.75, allocations: 3.938 kB / 7.153 GB, free: 73.97 MB / 0.6046 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)