Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulator.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.OpenLoopSimulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulator") translateModel(ThermoPower.Examples.HRB.Simulators.OpenLoopSimulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulator") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008873/0.0008874, allocations: 184.9 kB / 8.136 MB, free: 2.199 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.075/1.075, allocations: 205.2 MB / 213.7 MB, free: 13.85 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.0009795/0.0009795, allocations: 96.92 kB / 261.8 MB, free: 13.52 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3323/0.3323, allocations: 48.75 MB / 358.4 MB, free: 53.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.091e-06/6.112e-06, allocations: 0 / 424.7 MB, free: 8.219 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1109, allocations: 60.25 MB / 485 MB, free: 11.83 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.816/5.927, allocations: 3.673 GB / 4.147 GB, free: 124.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001752/5.927, allocations: 88.66 kB / 4.147 GB, free: 124.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.515/8.442, allocations: 0.911 GB / 5.058 GB, free: 34.95 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0004247/8.442, allocations: 119 kB / 5.058 GB, free: 34.93 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1371 * Number of variables: 1371 Notification: Performance of Generate backend data structure: time 0.02461/8.467, allocations: 5.942 MB / 5.064 GB, free: 33.02 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/8.467, allocations: 8.125 kB / 5.064 GB, free: 33.02 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01353/8.481, allocations: 2.067 MB / 5.066 GB, free: 32.76 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01209/8.493, allocations: 4.175 MB / 5.07 GB, free: 32.1 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003508/8.493, allocations: 170.1 kB / 5.07 GB, free: 32.09 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00267/8.496, allocations: 325.3 kB / 5.071 GB, free: 32.08 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02067/8.516, allocations: 11.99 MB / 5.082 GB, free: 31.24 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01967/8.536, allocations: 9.762 MB / 5.092 GB, free: 27.39 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001491/8.536, allocations: 0 / 5.092 GB, free: 27.39 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001765/8.538, allocations: 7.094 kB / 5.092 GB, free: 27.39 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001868/8.538, allocations: 293.6 kB / 5.092 GB, free: 27.36 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2893/8.827, allocations: 77.29 MB / 5.168 GB, free: 82.1 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009886/8.837, allocations: 8.837 MB / 5.176 GB, free: 82.01 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005716/8.843, allocations: 5.034 MB / 5.181 GB, free: 81.97 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1954/9.039, allocations: 113.1 MB / 5.292 GB, free: 42.46 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001303/9.039, allocations: 112.5 kB / 5.292 GB, free: 42.42 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=602): time 1.636e-05/9.039, allocations: 0 / 5.292 GB, free: 42.42 MB / 0.5886 GB Notification: Performance of matching and sorting (n=603): time 0.08087/9.12, allocations: 28.82 MB / 5.32 GB, free: 40.86 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/9.12, allocations: 142 kB / 5.32 GB, free: 40.75 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002051/9.122, allocations: 1.087 MB / 5.321 GB, free: 40.61 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.001794/9.124, allocations: 31.98 kB / 5.321 GB, free: 40.57 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007713/9.124, allocations: 1.21 MB / 5.322 GB, free: 40.06 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.003348/9.128, allocations: 2.017 MB / 5.324 GB, free: 38.82 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001381/9.129, allocations: 0 / 5.324 GB, free: 38.82 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0005666/9.13, allocations: 0.5186 MB / 5.325 GB, free: 38.51 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007071/9.137, allocations: 4.467 MB / 5.329 GB, free: 38.49 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007499/9.144, allocations: 5.072 MB / 5.334 GB, free: 38.02 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01282/9.157, allocations: 6.767 MB / 5.341 GB, free: 37.91 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.429e-05/9.157, allocations: 0 / 5.341 GB, free: 37.91 MB / 0.5886 GB Notification: Performance of matching and sorting (n=689) (initialization): time 0.04086/9.198, allocations: 15.96 MB / 5.356 GB, free: 32.53 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009256/9.199, allocations: 3.214 MB / 5.359 GB, free: 29.12 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.653e-05/9.199, allocations: 8 kB / 5.359 GB, free: 29.12 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01597/9.215, allocations: 4.455 MB / 5.364 GB, free: 25.67 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007057/9.222, allocations: 1.238 MB / 5.365 GB, free: 24.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2296/9.452, allocations: 49.9 MB / 5.414 GB, free: 93.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006532/9.458, allocations: 0.5405 MB / 5.414 GB, free: 93.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001324/9.46, allocations: 232.7 kB / 5.414 GB, free: 93.79 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 7.765e-06/9.46, allocations: 3.656 kB / 5.414 GB, free: 93.79 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03845/9.498, allocations: 14.82 MB / 5.429 GB, free: 93.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.354e-05/9.498, allocations: 7.438 kB / 5.429 GB, free: 93.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0166/9.515, allocations: 4.458 MB / 5.433 GB, free: 93.22 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006413/9.521, allocations: 1.201 MB / 5.434 GB, free: 93.22 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04651/9.568, allocations: 49.2 MB / 5.483 GB, free: 64.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006312/9.574, allocations: 0.5333 MB / 5.483 GB, free: 64.24 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001552/9.576, allocations: 227.7 kB / 5.483 GB, free: 64.24 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 13 (Plant.Boiler.WaterSide.fluidState[11].phase,Plant.Boiler.WaterSide.fluidState[10].phase,Plant.Boiler.WaterSide.fluidState[9].phase,Plant.Boiler.WaterSide.fluidState[8].phase,Plant.Boiler.WaterSide.fluidState[7].phase,Plant.Boiler.WaterSide.fluidState[6].phase,Plant.Boiler.WaterSide.fluidState[5].phase,Plant.Boiler.WaterSide.fluidState[4].phase,Plant.Boiler.WaterSide.fluidState[3].phase,Plant.Boiler.WaterSide.fluidState[2].phase,Plant.Boiler.WaterSide.fluidState[1].phase,Plant.WaterOut.fluidState.phase,Plant.WaterIn.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (609): * Single equations (assignments): 583 * 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,(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,(11,62.8%) 20,(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 prepare postOptimizeDAE: time 0.001938/9.578, allocations: 210.8 kB / 5.483 GB, free: 64.13 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00311/9.581, allocations: 0.9191 MB / 5.484 GB, free: 63.98 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03976/9.621, allocations: 19.59 MB / 5.504 GB, free: 63.25 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001024/9.621, allocations: 88.8 kB / 5.504 GB, free: 63.25 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.874e-05/9.621, allocations: 17.5 kB / 5.504 GB, free: 63.25 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001479/9.621, allocations: 28.78 kB / 5.504 GB, free: 63.25 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05422/9.675, allocations: 28.85 MB / 5.532 GB, free: 53.74 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.455e-05/9.675, allocations: 3.906 kB / 5.532 GB, free: 53.73 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006274/9.682, allocations: 1.046 MB / 5.533 GB, free: 53.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01492/9.696, allocations: 4.571 MB / 5.537 GB, free: 52.43 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001665/9.698, allocations: 216.4 kB / 5.538 GB, free: 52.36 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2242/9.922, allocations: 48.19 MB / 5.585 GB, free: 93.09 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/9.922, allocations: 0 / 5.585 GB, free: 93.09 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04427/9.967, allocations: 24.45 MB / 5.608 GB, free: 92.49 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004464/9.971, allocations: 1.68 MB / 5.61 GB, free: 92.22 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001323/9.973, allocations: 115 kB / 5.61 GB, free: 92.22 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005203/9.978, allocations: 426.5 kB / 5.611 GB, free: 92.2 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008593/9.979, allocations: 364 kB / 5.611 GB, free: 92.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007314/9.979, allocations: 258.5 kB / 5.611 GB, free: 92.2 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.001047/9.98, allocations: 0.8198 MB / 5.612 GB, free: 92.09 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.02138/10, allocations: 4.156 MB / 5.616 GB, free: 92.09 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (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.Xtilde[1,1],Plant.Boiler.GasSide.Xtilde[1,2],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: 22 ($cse41.phase,$cse41.region,$cse43.phase,$cse43.region,$cse44.phase,$cse44.region,$cse45.phase,$cse45.region,$cse46.phase,$cse46.region,$cse47.phase,$cse47.region,$cse48.phase,$cse48.region,$cse49.phase,$cse49.region,$cse50.phase,$cse50.region,$cse51.phase,$cse51.region,$cse52.phase,$cse52.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (538): * Single equations (assignments): 501 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * 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,(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,(11,62.8%) 20,(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.009348/10.01, allocations: 3.208 MB / 5.619 GB, free: 91.82 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.03794/10.05, allocations: 23.61 MB / 5.642 GB, free: 87.23 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/10.05, allocations: 8.781 kB / 5.642 GB, free: 87.23 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01523/10.06, allocations: 10.22 MB / 5.652 GB, free: 84.98 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008001/10.07, allocations: 1.419 MB / 5.654 GB, free: 84.96 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02999/10.1, allocations: 16.05 MB / 5.669 GB, free: 83.23 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006177/10.11, allocations: 4.01 MB / 5.673 GB, free: 82.43 MB / 0.5886 GB Notification: Performance of SimCode: time 9.02e-07/10.11, allocations: 3.391 kB / 5.673 GB, free: 82.43 MB / 0.5886 GB Notification: Performance of Templates: time 0.4402/10.55, allocations: 219.4 MB / 5.887 GB, free: 101.5 MB / 0.5886 GB make -j1 -f ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulator.makefile (rm -f ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulator.pipe ; mkfifo ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulator.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulator.pipe >> ../files/ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulator.sim & ./ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulator -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulator.pipe 2>&1)