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.001135/0.001135, allocations: 174.8 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.778/1.778, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.0008517/0.0008519, allocations: 89.92 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3668/0.3668, allocations: 48.77 MB / 364.3 MB, free: 6.871 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.636e-05/3.638e-05, allocations: 4 kB / 432.5 MB, free: 16.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1544, allocations: 60.26 MB / 492.7 MB, free: 4.375 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.22/11.38, allocations: 4 GB / 4.481 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/11.38, allocations: 90.03 kB / 4.481 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.807/18.19, allocations: 2.132 GB / 6.613 GB, free: 52.65 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.523e-06/18.19, allocations: 3.688 kB / 6.613 GB, free: 52.65 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0003407/18.19, allocations: 101.3 kB / 6.613 GB, free: 52.64 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.02331/18.21, allocations: 5.482 MB / 6.618 GB, free: 49.61 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/18.21, allocations: 10.84 kB / 6.618 GB, free: 49.61 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009869/18.22, allocations: 1.52 MB / 6.62 GB, free: 48.82 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01163/18.23, allocations: 3.785 MB / 6.623 GB, free: 46.26 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004108/18.23, allocations: 353.4 kB / 6.624 GB, free: 46.11 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003131/18.23, allocations: 0.5069 MB / 6.624 GB, free: 45.92 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02316/18.26, allocations: 9.32 MB / 6.633 GB, free: 40.42 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001752/18.26, allocations: 7.922 kB / 6.633 GB, free: 40.42 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002275/18.26, allocations: 203.4 kB / 6.633 GB, free: 40.27 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002321/18.26, allocations: 268.2 kB / 6.634 GB, free: 40.21 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02005/18.28, allocations: 11.39 MB / 6.645 GB, free: 31.05 MB / 0.5573 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.3701/18.65, allocations: 32.57 MB / 6.677 GB, free: 52 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02229/18.67, allocations: 11.23 MB / 6.688 GB, free: 50.66 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007536/18.68, allocations: 4.201 MB / 6.692 GB, free: 50.63 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0381/18.72, allocations: 22.79 MB / 6.714 GB, free: 43.27 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.198e-05/18.72, allocations: 91.84 kB / 6.714 GB, free: 43.23 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=482): time 7.444e-06/18.72, allocations: 2.906 kB / 6.714 GB, free: 43.23 MB / 0.5573 GB Notification: Performance of matching and sorting (n=482): time 0.0242/18.74, allocations: 9.657 MB / 6.723 GB, free: 42.73 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.848e-05/18.74, allocations: 124.5 kB / 6.724 GB, free: 42.63 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002782/18.75, allocations: 1.846 MB / 6.725 GB, free: 42.39 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001358/18.75, allocations: 115.9 kB / 6.725 GB, free: 42.36 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000954/18.75, allocations: 1.758 MB / 6.727 GB, free: 41.65 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002144/18.75, allocations: 1.71 MB / 6.729 GB, free: 40.8 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004352/18.75, allocations: 117.3 kB / 6.729 GB, free: 40.8 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002818/18.75, allocations: 0.5318 MB / 6.729 GB, free: 40.48 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004689/18.76, allocations: 3.266 MB / 6.733 GB, free: 40.46 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00548/18.76, allocations: 4.87 MB / 6.737 GB, free: 38.63 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006239/18.77, allocations: 4.222 MB / 6.742 GB, free: 38.53 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.604e-05/18.77, allocations: 13.94 kB / 6.742 GB, free: 38.53 MB / 0.5573 GB Notification: Performance of matching and sorting (n=733) (initialization): time 0.01966/18.79, allocations: 11.37 MB / 6.753 GB, free: 38.12 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.003637/18.79, allocations: 18.67 MB / 6.771 GB, free: 35.24 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.433e-05/18.79, allocations: 44.47 kB / 6.771 GB, free: 35.24 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09425/18.89, allocations: 14.42 MB / 6.785 GB, free: 33.29 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00317/18.89, allocations: 0.7555 MB / 6.786 GB, free: 33.27 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02256/18.91, allocations: 13.56 MB / 6.799 GB, free: 26.05 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005684/18.92, allocations: 0.8088 MB / 6.8 GB, free: 25.68 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009544/18.92, allocations: 270.8 kB / 6.8 GB, free: 25.64 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/18.92, allocations: 6.531 kB / 6.8 GB, free: 25.64 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01881/18.94, allocations: 10.79 MB / 6.811 GB, free: 21.28 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001584/18.94, allocations: 51.06 kB / 6.811 GB, free: 21.28 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06474/19, allocations: 10.59 MB / 6.821 GB, free: 19.46 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004196/19.01, allocations: 0.8729 MB / 6.822 GB, free: 19.44 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01869/19.02, allocations: 13.07 MB / 6.835 GB, free: 11.71 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006242/19.03, allocations: 0.7268 MB / 6.835 GB, free: 11.39 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001489/19.03, allocations: 268 kB / 6.836 GB, free: 11.34 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 () * 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.00164/19.03, allocations: 422.8 kB / 6.836 GB, free: 11.04 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000986/19.03, allocations: 347 kB / 6.836 GB, free: 10.88 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02358/19.06, allocations: 10.6 MB / 6.847 GB, free: 6.648 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.327e-05/19.06, allocations: 48.09 kB / 6.847 GB, free: 6.648 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.605e-05/19.06, allocations: 24.66 kB / 6.847 GB, free: 6.648 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001235/19.06, allocations: 26 kB / 6.847 GB, free: 6.648 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03408/19.09, allocations: 16.34 MB / 6.863 GB, free: 15.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.475e-05/19.09, allocations: 2.062 kB / 6.863 GB, free: 15.93 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004717/19.1, allocations: 0.7935 MB / 6.863 GB, free: 15.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01396/19.11, allocations: 3.901 MB / 6.867 GB, free: 13.49 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001384/19.11, allocations: 199.1 kB / 6.867 GB, free: 13.34 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3601/19.47, allocations: 48.63 MB / 6.915 GB, free: 88.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/19.47, allocations: 9 kB / 6.915 GB, free: 88.58 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0317/19.5, allocations: 14.12 MB / 6.929 GB, free: 88.09 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00371/19.51, allocations: 1.325 MB / 6.93 GB, free: 87.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001207/19.51, allocations: 142.6 kB / 6.93 GB, free: 87.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004174/19.51, allocations: 348.2 kB / 6.931 GB, free: 87.82 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001227/19.52, allocations: 388.5 kB / 6.931 GB, free: 87.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000549/19.52, allocations: 193.3 kB / 6.931 GB, free: 87.82 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.002027/19.52, allocations: 1.352 MB / 6.932 GB, free: 87.66 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.2e-07/19.52, allocations: 0 / 6.932 GB, free: 87.66 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.01178/19.53, allocations: 3.242 MB / 6.936 GB, free: 87.5 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 () * 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.00285/19.53, allocations: 1.404 MB / 6.937 GB, free: 87.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.03598/19.57, allocations: 14.53 MB / 6.951 GB, free: 86.94 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/19.57, allocations: 0.7812 kB / 6.951 GB, free: 86.94 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.01225/19.58, allocations: 7.106 MB / 6.958 GB, free: 84.41 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008711/19.59, allocations: 1.575 MB / 6.96 GB, free: 84.37 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01798/19.61, allocations: 11.2 MB / 6.971 GB, free: 82.79 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00266/19.61, allocations: 3.076 MB / 6.974 GB, free: 81.99 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.007607/19.62, allocations: 2.355 MB / 6.976 GB, free: 81.95 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001223/19.62, allocations: 294.7 kB / 6.976 GB, free: 81.95 MB / 0.6042 GB Notification: Performance of SimCode: time 1.001e-06/19.62, allocations: 0 / 6.976 GB, free: 81.95 MB / 0.6042 GB Notification: Performance of Templates: time 0.5651/20.18, allocations: 169 MB / 7.141 GB, free: 88.31 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)