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") [: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.000886/0.0008886, allocations: 191.3 kB / 8.139 MB, free: 2.215 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9973/0.9973, allocations: 205.2 MB / 213.7 MB, free: 13.86 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.0008481/0.0008481, allocations: 99.44 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2698/0.2698, allocations: 48.76 MB / 358.4 MB, free: 52.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.284e-06/7.304e-06, allocations: 3.938 kB / 424.7 MB, free: 8.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08561/0.08563, allocations: 60.25 MB / 485 MB, free: 11.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.981/6.066, allocations: 3.999 GB / 4.472 GB, free: 78.78 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000345/6.067, allocations: 84.14 kB / 4.473 GB, free: 78.71 MB / 0.5105 GB Notification: Performance of FrontEnd: time 5.745/11.81, allocations: 2.125 GB / 6.597 GB, free: 23.13 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0002343/11.81, allocations: 107.5 kB / 6.597 GB, free: 23.03 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.01987/11.83, allocations: 5.398 MB / 6.603 GB, free: 17.58 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/11.83, allocations: 12.03 kB / 6.603 GB, free: 17.57 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009317/11.84, allocations: 1.481 MB / 6.604 GB, free: 16.08 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01076/11.85, allocations: 3.797 MB / 6.608 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002789/11.85, allocations: 148 kB / 6.608 GB, free: 12.1 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002637/11.85, allocations: 295.8 kB / 6.608 GB, free: 11.81 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02019/11.87, allocations: 11.11 MB / 6.619 GB, free: 0.6875 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2021/12.08, allocations: 8.84 MB / 6.628 GB, free: 75.95 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.423e-05/12.08, allocations: 0 / 6.628 GB, free: 75.95 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008639/12.08, allocations: 7.594 kB / 6.628 GB, free: 75.95 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001699/12.08, allocations: 276.4 kB / 6.628 GB, free: 75.94 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05383/12.13, allocations: 35.28 MB / 6.662 GB, free: 66 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007942/12.14, allocations: 5.21 MB / 6.667 GB, free: 65.97 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006045/12.15, allocations: 4.148 MB / 6.671 GB, free: 65.93 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03506/12.18, allocations: 22.99 MB / 6.694 GB, free: 58.54 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.972e-05/12.18, allocations: 89.83 kB / 6.694 GB, free: 58.5 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=503): time 7.154e-06/12.18, allocations: 3.094 kB / 6.694 GB, free: 58.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=503): time 0.02941/12.21, allocations: 11.07 MB / 6.705 GB, free: 57.98 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/12.21, allocations: 136 kB / 6.705 GB, free: 57.88 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002739/12.21, allocations: 1.656 MB / 6.707 GB, free: 57.65 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0009758/12.21, allocations: 31.58 kB / 6.707 GB, free: 57.62 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000832/12.22, allocations: 1.523 MB / 6.708 GB, free: 56.9 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002339/12.22, allocations: 1.716 MB / 6.71 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006903/12.22, allocations: 0 / 6.71 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0003884/12.22, allocations: 0.5472 MB / 6.71 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004773/12.22, allocations: 3.331 MB / 6.714 GB, free: 55.55 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005291/12.23, allocations: 4.922 MB / 6.718 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009963/12.24, allocations: 5.706 MB / 6.724 GB, free: 53.65 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.595e-05/12.24, allocations: 11.47 kB / 6.724 GB, free: 53.65 MB / 0.5573 GB Notification: Performance of matching and sorting (n=755) (initialization): time 0.02295/12.26, allocations: 12.8 MB / 6.736 GB, free: 50.18 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.003241/12.27, allocations: 18.46 MB / 6.754 GB, free: 46.91 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.793e-05/12.27, allocations: 48.25 kB / 6.754 GB, free: 46.91 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03616/12.3, allocations: 8.877 MB / 6.763 GB, free: 44.96 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003222/12.3, allocations: 0.7869 MB / 6.764 GB, free: 44.93 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02508/12.33, allocations: 16.31 MB / 6.78 GB, free: 36.86 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005338/12.34, allocations: 0.6685 MB / 6.781 GB, free: 36.57 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001015/12.34, allocations: 278.9 kB / 6.781 GB, free: 36.53 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 9.448e-06/12.34, allocations: 3.406 kB / 6.781 GB, free: 36.53 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02251/12.36, allocations: 11.84 MB / 6.792 GB, free: 32.16 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001548/12.36, allocations: 42.81 kB / 6.792 GB, free: 32.16 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02913/12.39, allocations: 7.342 MB / 6.8 GB, free: 30.48 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004064/12.39, allocations: 0.9004 MB / 6.8 GB, free: 30.45 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0236/12.42, allocations: 15.23 MB / 6.815 GB, free: 22.16 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005696/12.42, allocations: 0.5861 MB / 6.816 GB, free: 21.94 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001202/12.42, allocations: 277.5 kB / 6.816 GB, free: 21.89 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 (424): * Single equations (assignments): 420 * 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.002167/12.42, allocations: 232.1 kB / 6.816 GB, free: 21.74 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001322/12.43, allocations: 334.5 kB / 6.817 GB, free: 21.58 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02731/12.45, allocations: 11.87 MB / 6.828 GB, free: 17.29 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.492e-05/12.45, allocations: 48.62 kB / 6.828 GB, free: 17.29 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.077e-05/12.45, allocations: 21.47 kB / 6.828 GB, free: 17.29 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.252e-05/12.45, allocations: 28.14 kB / 6.828 GB, free: 17.29 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03638/12.49, allocations: 17.32 MB / 6.845 GB, free: 10.47 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.701e-05/12.49, allocations: 0 / 6.845 GB, free: 10.47 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004989/12.5, allocations: 0.8206 MB / 6.846 GB, free: 10.44 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01365/12.51, allocations: 3.84 MB / 6.85 GB, free: 9.375 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001374/12.51, allocations: 143.8 kB / 6.85 GB, free: 9.332 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2312/12.74, allocations: 45.51 MB / 6.894 GB, free: 68.27 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/12.74, allocations: 0 / 6.894 GB, free: 68.27 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03473/12.78, allocations: 15.77 MB / 6.91 GB, free: 67.57 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003857/12.78, allocations: 1.34 MB / 6.911 GB, free: 67.32 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00195/12.78, allocations: 71.06 kB / 6.911 GB, free: 67.32 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004878/12.79, allocations: 240.1 kB / 6.911 GB, free: 67.3 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001371/12.79, allocations: 294.4 kB / 6.912 GB, free: 67.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0012/12.79, allocations: 200.8 kB / 6.912 GB, free: 67.3 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.002178/12.79, allocations: 1.192 MB / 6.913 GB, free: 67.16 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01406/12.81, allocations: 2.937 MB / 6.916 GB, free: 67 MB / 0.573 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 (426): * Single equations (assignments): 400 * 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.003521/12.81, allocations: 1.563 MB / 6.917 GB, free: 66.79 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03609/12.85, allocations: 14.46 MB / 6.932 GB, free: 66.48 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/12.85, allocations: 4.562 kB / 6.932 GB, free: 66.48 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01306/12.86, allocations: 6.836 MB / 6.938 GB, free: 64.25 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007729/12.87, allocations: 1.349 MB / 6.94 GB, free: 64.24 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02989/12.9, allocations: 12.04 MB / 6.951 GB, free: 62.82 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00601/12.9, allocations: 3.421 MB / 6.955 GB, free: 62.04 MB / 0.573 GB Notification: Performance of SimCode: time 8.82e-07/12.9, allocations: 0 / 6.955 GB, free: 62.04 MB / 0.573 GB Notification: Performance of Templates: time 0.383/13.29, allocations: 166 MB / 7.117 GB, free: 75.62 MB / 0.573 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)