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: translateModel(ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified") translateModel(ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001124/0.001124, allocations: 179.3 kB / 16.38 MB, free: 5.766 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.699/1.699, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0009474/0.0009473, allocations: 98.95 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6097/0.6097, allocations: 48.77 MB / 367.9 MB, free: 47.42 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004084/0.0004084, allocations: 11.98 kB / 438.6 MB, free: 10.99 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1933, allocations: 60.24 MB / 498.9 MB, free: 14.61 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.04/13.23, allocations: 4 GB / 4.487 GB, free: 121.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/13.23, allocations: 96.28 kB / 4.487 GB, free: 121.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 7.559/20.79, allocations: 2.133 GB / 6.62 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.044e-06/20.79, allocations: 0 / 6.62 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0003162/20.79, allocations: 110.3 kB / 6.62 GB, free: 55.89 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: 1245 * Number of variables: 1245 Notification: Performance of Generate backend data structure: time 0.02658/20.82, allocations: 5.791 MB / 6.626 GB, free: 52.96 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/20.82, allocations: 12.95 kB / 6.626 GB, free: 52.96 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01112/20.83, allocations: 1.531 MB / 6.627 GB, free: 52.18 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01335/20.84, allocations: 3.789 MB / 6.631 GB, free: 49.6 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004886/20.84, allocations: 358.5 kB / 6.631 GB, free: 49.44 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004088/20.85, allocations: 0.504 MB / 6.632 GB, free: 49.26 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02958/20.88, allocations: 9.435 MB / 6.641 GB, free: 43.47 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000163/20.88, allocations: 3.938 kB / 6.641 GB, free: 43.47 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003135/20.88, allocations: 203.9 kB / 6.641 GB, free: 43.32 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002532/20.88, allocations: 264.5 kB / 6.641 GB, free: 43.27 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0295/20.91, allocations: 11.58 MB / 6.653 GB, free: 37.11 MB / 0.5573 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.07974/20.99, allocations: 32.59 MB / 6.684 GB, free: 6.375 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4297/21.42, allocations: 11.33 MB / 6.695 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05035/21.47, allocations: 22.05 MB / 6.717 GB, free: 48.6 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.266e-05/21.47, allocations: 87.72 kB / 6.717 GB, free: 48.55 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=482): time 9.768e-06/21.47, allocations: 3.781 kB / 6.717 GB, free: 48.55 MB / 0.5573 GB Notification: Performance of matching and sorting (n=482): time 0.05731/21.53, allocations: 17.11 MB / 6.734 GB, free: 45.91 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001518/21.53, allocations: 127.5 kB / 6.734 GB, free: 45.82 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005237/21.53, allocations: 1.855 MB / 6.736 GB, free: 45.59 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.002057/21.54, allocations: 118.6 kB / 6.736 GB, free: 45.56 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001501/21.54, allocations: 1.764 MB / 6.738 GB, free: 44.85 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003684/21.54, allocations: 1.712 MB / 6.739 GB, free: 44 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006373/21.54, allocations: 112.6 kB / 6.739 GB, free: 44 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0005105/21.54, allocations: 0.5354 MB / 6.74 GB, free: 43.68 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005773/21.55, allocations: 3.338 MB / 6.743 GB, free: 43.66 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007882/21.56, allocations: 4.947 MB / 6.748 GB, free: 41.83 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008521/21.57, allocations: 4.273 MB / 6.752 GB, free: 41.74 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.277e-05/21.57, allocations: 16.03 kB / 6.752 GB, free: 41.74 MB / 0.5573 GB Notification: Performance of matching and sorting (n=733) (initialization): time 0.02867/21.59, allocations: 11.53 MB / 6.763 GB, free: 41.34 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.006689/21.6, allocations: 18.67 MB / 6.782 GB, free: 38.46 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002845/21.6, allocations: 46.69 kB / 6.782 GB, free: 38.46 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1009/21.7, allocations: 14.5 MB / 6.796 GB, free: 37.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003849/21.71, allocations: 0.7493 MB / 6.797 GB, free: 37.48 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03045/21.74, allocations: 13.64 MB / 6.81 GB, free: 30.16 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008013/21.74, allocations: 0.8018 MB / 6.811 GB, free: 29.79 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002375/21.75, allocations: 272.2 kB / 6.811 GB, free: 29.75 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/21.75, allocations: 3.719 kB / 6.811 GB, free: 29.75 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0256/21.77, allocations: 10.96 MB / 6.822 GB, free: 25.18 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002658/21.77, allocations: 45.83 kB / 6.822 GB, free: 25.18 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06844/21.84, allocations: 10.65 MB / 6.832 GB, free: 23.37 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00467/21.85, allocations: 0.8694 MB / 6.833 GB, free: 23.34 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02694/21.87, allocations: 13.16 MB / 6.846 GB, free: 15.52 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008105/21.88, allocations: 0.7221 MB / 6.846 GB, free: 15.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002596/21.88, allocations: 272.7 kB / 6.847 GB, free: 15.15 MB / 0.573 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.009488/21.89, allocations: 1.745 MB / 6.848 GB, free: 14.19 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002629/21.9, allocations: 345.9 kB / 6.849 GB, free: 14.03 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02898/21.92, allocations: 10.72 MB / 6.859 GB, free: 9.66 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.378e-05/21.93, allocations: 48.06 kB / 6.859 GB, free: 9.66 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-05/21.93, allocations: 17.84 kB / 6.859 GB, free: 9.66 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001936/21.93, allocations: 25.22 kB / 6.859 GB, free: 9.66 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04395/21.97, allocations: 16.44 MB / 6.875 GB, free: 2.742 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.087e-05/21.97, allocations: 0 / 6.875 GB, free: 2.742 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005636/21.98, allocations: 0.8049 MB / 6.876 GB, free: 2.715 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01357/21.99, allocations: 3.905 MB / 6.88 GB, free: 1.621 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002011/21.99, allocations: 198.1 kB / 6.88 GB, free: 1.535 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5014/22.49, allocations: 49.8 MB / 6.929 GB, free: 91.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/22.49, allocations: 7.375 kB / 6.929 GB, free: 91.96 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03636/22.53, allocations: 14.32 MB / 6.943 GB, free: 91.48 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005676/22.53, allocations: 1.321 MB / 6.944 GB, free: 91.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002499/22.54, allocations: 140.3 kB / 6.944 GB, free: 91.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006124/22.54, allocations: 342.8 kB / 6.945 GB, free: 91.26 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002458/22.55, allocations: 394.5 kB / 6.945 GB, free: 91.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00123/22.55, allocations: 188.6 kB / 6.945 GB, free: 91.25 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.002683/22.55, allocations: 1.376 MB / 6.946 GB, free: 91.11 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.01e-07/22.55, allocations: 0 / 6.946 GB, free: 91.11 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.02097/22.57, allocations: 3.244 MB / 6.95 GB, free: 90.95 MB / 0.6042 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.004692/22.58, allocations: 1.383 MB / 6.951 GB, free: 90.77 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.04815/22.62, allocations: 14.71 MB / 6.965 GB, free: 90.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-05/22.62, allocations: 4.75 kB / 6.965 GB, free: 90.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0191/22.64, allocations: 7.22 MB / 6.972 GB, free: 87.85 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01107/22.65, allocations: 1.584 MB / 6.974 GB, free: 87.82 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0407/22.69, allocations: 14.72 MB / 6.988 GB, free: 83.54 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007414/22.7, allocations: 3.072 MB / 6.991 GB, free: 82.75 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.01275/22.71, allocations: 2.206 MB / 6.993 GB, free: 82.71 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003259/22.72, allocations: 307.9 kB / 6.994 GB, free: 82.71 MB / 0.6042 GB Notification: Performance of SimCode: time 1.783e-06/22.72, allocations: 6.656 kB / 6.994 GB, free: 82.71 MB / 0.6042 GB Notification: Performance of Templates: time 0.6687/23.39, allocations: 162.8 MB / 7.153 GB, free: 87.45 MB / 0.6042 GB make -j1 -f ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified.makefile (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 & ./ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified.pipe 2>&1)