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.001109/0.001109, allocations: 175.4 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.692/1.692, 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.0009329/0.0009328, allocations: 86.66 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.3311/0.3311, allocations: 48.79 MB / 364.3 MB, free: 6.871 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.605e-05/3.607e-05, allocations: 4 kB / 432.6 MB, free: 16.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1257, allocations: 60.25 MB / 492.8 MB, free: 4.293 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.33/10.46, allocations: 4 GB / 4.481 GB, free: 6.508 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/10.46, allocations: 95.05 kB / 4.481 GB, free: 6.422 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 7.921/18.38, allocations: 2.132 GB / 6.613 GB, free: 37.07 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.615e-06/18.38, allocations: 0 / 6.613 GB, free: 37.07 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0003922/18.38, allocations: 106.8 kB / 6.613 GB, free: 37.07 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.02736/18.41, allocations: 5.484 MB / 6.618 GB, free: 35.29 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/18.41, allocations: 7.344 kB / 6.618 GB, free: 35.29 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003888/18.41, allocations: 0.7542 MB / 6.619 GB, free: 35.21 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0101/18.42, allocations: 1.525 MB / 6.62 GB, free: 34.97 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01143/18.43, allocations: 3.785 MB / 6.624 GB, free: 34.46 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004399/18.43, allocations: 359.7 kB / 6.624 GB, free: 34.45 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003178/18.44, allocations: 0.5147 MB / 6.625 GB, free: 34.42 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02444/18.46, allocations: 9.32 MB / 6.634 GB, free: 33.93 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001428/18.46, allocations: 5.844 kB / 6.634 GB, free: 33.93 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002041/18.46, allocations: 200.3 kB / 6.634 GB, free: 33.93 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002336/18.46, allocations: 272 kB / 6.634 GB, free: 33.92 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02409/18.49, allocations: 11.39 MB / 6.646 GB, free: 33.87 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.06442/18.55, allocations: 32.59 MB / 6.677 GB, free: 25.98 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02415/18.58, allocations: 11.22 MB / 6.688 GB, free: 24.62 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008439/18.58, allocations: 4.206 MB / 6.692 GB, free: 23.76 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04068/18.63, allocations: 22.78 MB / 6.715 GB, free: 8.871 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.107e-05/18.63, allocations: 94 kB / 6.715 GB, free: 8.793 MB / 0.573 GB Notification: Performance of pre-optimization done (n=482): time 7.484e-06/18.63, allocations: 0 / 6.715 GB, free: 8.793 MB / 0.573 GB Notification: Performance of matching and sorting (n=482): time 0.02742/18.65, allocations: 9.658 MB / 6.724 GB, free: 5.055 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/18.65, allocations: 130.6 kB / 6.724 GB, free: 4.957 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004123/18.66, allocations: 1.84 MB / 6.726 GB, free: 4.145 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.002378/18.66, allocations: 121.1 kB / 6.726 GB, free: 4.043 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001628/18.66, allocations: 1.76 MB / 6.728 GB, free: 2.688 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003438/18.66, allocations: 1.712 MB / 6.73 GB, free: 1.371 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000611/18.67, allocations: 114.5 kB / 6.73 GB, free: 1.281 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0005302/18.67, allocations: 0.5315 MB / 6.73 GB, free: 0.875 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007627/18.67, allocations: 3.401 MB / 6.734 GB, free: 0 / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008072/18.68, allocations: 4.877 MB / 6.738 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007781/18.69, allocations: 4.225 MB / 6.742 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-05/18.69, allocations: 18.23 kB / 6.742 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of matching and sorting (n=733) (initialization): time 0.03161/18.72, allocations: 11.37 MB / 6.754 GB, free: 6.051 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.006988/18.73, allocations: 18.67 MB / 6.772 GB, free: 2.777 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001461/18.73, allocations: 44.78 kB / 6.772 GB, free: 2.777 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1/18.83, allocations: 14.41 MB / 6.786 GB, free: 0.6953 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003315/18.83, allocations: 0.7537 MB / 6.787 GB, free: 0.6719 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02316/18.86, allocations: 13.56 MB / 6.8 GB, free: 9.445 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006765/18.86, allocations: 0.8041 MB / 6.801 GB, free: 9.062 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00198/18.86, allocations: 276.9 kB / 6.801 GB, free: 9.016 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/18.86, allocations: 3.906 kB / 6.801 GB, free: 9.016 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02458/18.89, allocations: 10.8 MB / 6.812 GB, free: 4.652 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002023/18.89, allocations: 48.17 kB / 6.812 GB, free: 4.652 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06885/18.96, allocations: 10.59 MB / 6.822 GB, free: 2.207 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004448/18.96, allocations: 0.8741 MB / 6.823 GB, free: 1.449 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3688/19.33, allocations: 13.07 MB / 6.836 GB, free: 82.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006148/19.34, allocations: 0.7191 MB / 6.836 GB, free: 82.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001439/19.34, allocations: 275.1 kB / 6.836 GB, free: 82.95 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 () * 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.001796/19.34, allocations: 421.1 kB / 6.837 GB, free: 82.85 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001172/19.34, allocations: 338.2 kB / 6.837 GB, free: 82.83 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02809/19.37, allocations: 10.6 MB / 6.848 GB, free: 82.37 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.168e-05/19.37, allocations: 45.44 kB / 6.848 GB, free: 82.37 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.237e-05/19.37, allocations: 20.59 kB / 6.848 GB, free: 82.37 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001585/19.37, allocations: 23.72 kB / 6.848 GB, free: 82.37 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03809/19.41, allocations: 16.33 MB / 6.864 GB, free: 81.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-05/19.41, allocations: 0 / 6.864 GB, free: 81.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005151/19.41, allocations: 0.7997 MB / 6.864 GB, free: 81.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0134/19.43, allocations: 3.896 MB / 6.868 GB, free: 81.38 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001687/19.43, allocations: 196.1 kB / 6.868 GB, free: 81.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0408/19.47, allocations: 48.64 MB / 6.916 GB, free: 51.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/19.47, allocations: 3.938 kB / 6.916 GB, free: 51.24 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02965/19.5, allocations: 14.13 MB / 6.93 GB, free: 50.52 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004029/19.5, allocations: 1.334 MB / 6.931 GB, free: 50.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001159/19.5, allocations: 150 kB / 6.931 GB, free: 50.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004302/19.51, allocations: 332.9 kB / 6.931 GB, free: 50.25 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001248/19.51, allocations: 394.6 kB / 6.932 GB, free: 50.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005776/19.51, allocations: 194.8 kB / 6.932 GB, free: 50.25 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.002124/19.51, allocations: 1.354 MB / 6.933 GB, free: 50.09 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/19.51, allocations: 0 / 6.933 GB, free: 50.09 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.01435/19.53, allocations: 3.238 MB / 6.936 GB, free: 49.93 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 () * 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.03039/19.56, allocations: 15.99 MB / 6.952 GB, free: 44.39 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.03795/19.6, allocations: 14.53 MB / 6.966 GB, free: 39.32 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 9.487e-06/19.6, allocations: 4.594 kB / 6.966 GB, free: 39.32 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.01295/19.61, allocations: 7.096 MB / 6.973 GB, free: 35.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008507/19.62, allocations: 1.586 MB / 6.975 GB, free: 34.77 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02547/19.64, allocations: 12.62 MB / 6.987 GB, free: 30.26 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002812/19.65, allocations: 3.072 MB / 6.99 GB, free: 28.96 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.008701/19.65, allocations: 2.356 MB / 6.992 GB, free: 28.91 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003023/19.66, allocations: 1.695 MB / 6.994 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of SimCode: time 1.072e-06/19.66, allocations: 0 / 6.994 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6062/20.26, allocations: 211.6 MB / 7.201 GB, free: 55.26 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001488/20.26, allocations: 192.9 kB / 7.201 GB, free: 55.04 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.076/28.34, allocations: 0 / 7.201 GB, free: 55.04 MB / 0.6198 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)