Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.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.Test.GasComponents.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine") translateModel(ThermoPower.Test.GasComponents.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine") [: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.0009976/0.0009976, allocations: 190.6 kB / 8.136 MB, free: 2.219 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.054/1.054, 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.0007946/0.0007945, allocations: 89.67 kB / 261.7 MB, free: 13.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3211/0.3211, allocations: 48.76 MB / 358.4 MB, free: 53.37 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.768e-06/9.809e-06, allocations: 8.219 kB / 424.7 MB, free: 8.285 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1097, allocations: 60.25 MB / 485 MB, free: 11.9 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.209/1.318, allocations: 0.7173 GB / 1.191 GB, free: 93.44 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/1.319, allocations: 75.97 kB / 1.191 GB, free: 93.37 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.5433/1.862, allocations: 202.5 MB / 1.389 GB, free: 100 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.188e-05/1.862, allocations: 22.42 kB / 1.389 GB, free: 99.99 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001277/1.863, allocations: 0.9991 MB / 1.39 GB, free: 98.95 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/1.863, allocations: 15.97 kB / 1.39 GB, free: 98.94 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006429/1.864, allocations: 146.7 kB / 1.39 GB, free: 98.79 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008819/1.865, allocations: 0.6801 MB / 1.391 GB, free: 98.09 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/1.865, allocations: 16 kB / 1.391 GB, free: 98.07 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.71e-05/1.865, allocations: 31.91 kB / 1.391 GB, free: 98.04 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005461/1.866, allocations: 417.9 kB / 1.391 GB, free: 97.63 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000674/1.866, allocations: 0.5118 MB / 1.391 GB, free: 97.11 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/1.866, allocations: 3.938 kB / 1.391 GB, free: 97.11 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.218e-05/1.866, allocations: 0 / 1.391 GB, free: 97.11 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/1.866, allocations: 12 kB / 1.391 GB, free: 97.09 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003125/1.87, allocations: 2.205 MB / 1.394 GB, free: 94.77 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/1.87, allocations: 101.8 kB / 1.394 GB, free: 94.66 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.949e-05/1.87, allocations: 48.86 kB / 1.394 GB, free: 94.61 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002118/1.87, allocations: 117.2 kB / 1.394 GB, free: 94.48 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/1.87, allocations: 42.81 kB / 1.394 GB, free: 94.43 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 1.723e-06/1.87, allocations: 3.938 kB / 1.394 GB, free: 94.42 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14): time 0.0003593/1.87, allocations: 188.7 kB / 1.394 GB, free: 94.23 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.058e-05/1.87, allocations: 55.41 kB / 1.394 GB, free: 94.16 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009461/1.871, allocations: 0.957 MB / 1.395 GB, free: 93.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/1.871, allocations: 25.7 kB / 1.395 GB, free: 93.17 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000136/1.872, allocations: 346.6 kB / 1.395 GB, free: 92.82 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.854e-05/1.872, allocations: 55.2 kB / 1.396 GB, free: 92.77 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.481e-05/1.872, allocations: 0 / 1.396 GB, free: 92.77 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.913e-05/1.872, allocations: 326 kB / 1.396 GB, free: 92.45 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/1.872, allocations: 117.6 kB / 1.396 GB, free: 92.32 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/1.872, allocations: 236.4 kB / 1.396 GB, free: 92.04 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001927/1.872, allocations: 144.8 kB / 1.396 GB, free: 91.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/1.872, allocations: 0 / 1.396 GB, free: 91.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005278/1.873, allocations: 427.3 kB / 1.397 GB, free: 91.48 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/1.873, allocations: 4 kB / 1.397 GB, free: 91.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/1.873, allocations: 4 kB / 1.397 GB, free: 91.47 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/1.873, allocations: 8 kB / 1.397 GB, free: 91.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004133/1.873, allocations: 99.81 kB / 1.397 GB, free: 91.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002575/1.873, allocations: 0.6094 MB / 1.397 GB, free: 90.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003859/1.874, allocations: 51.64 kB / 1.397 GB, free: 90.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.019e-05/1.874, allocations: 20 kB / 1.397 GB, free: 90.66 MB / 0.5105 GB Warning: Assuming fixed start value for the following 1 variables: Inertia1.phi:VARIABLE(unit = "rad" ) "Absolute rotation angle of component" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001277/1.874, allocations: 116.9 kB / 1.398 GB, free: 90.54 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/1.874, allocations: 79 kB / 1.398 GB, free: 90.46 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003588/1.875, allocations: 220 kB / 1.398 GB, free: 90.23 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/1.875, allocations: 8 kB / 1.398 GB, free: 90.23 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.875, allocations: 3.906 kB / 1.398 GB, free: 90.22 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/1.875, allocations: 0 / 1.398 GB, free: 90.22 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000518/1.875, allocations: 0.5166 MB / 1.398 GB, free: 89.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/1.875, allocations: 0 / 1.398 GB, free: 89.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002338/1.875, allocations: 51.88 kB / 1.398 GB, free: 89.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/1.875, allocations: 0 / 1.398 GB, free: 89.62 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/1.875, allocations: 0 / 1.398 GB, free: 89.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002127/1.876, allocations: 0.6016 MB / 1.399 GB, free: 89 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/1.876, allocations: 7.922 kB / 1.399 GB, free: 88.99 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003318/1.876, allocations: 348.6 kB / 1.399 GB, free: 88.63 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001963/1.876, allocations: 192.2 kB / 1.4 GB, free: 88.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.307e-05/1.876, allocations: 3.984 kB / 1.4 GB, free: 88.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003867/1.877, allocations: 27.98 kB / 1.4 GB, free: 88.39 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.365e-05/1.877, allocations: 11.98 kB / 1.4 GB, free: 88.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.078e-05/1.877, allocations: 15.98 kB / 1.4 GB, free: 88.37 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0006527/1.877, allocations: 0.7256 MB / 1.4 GB, free: 87.64 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009156/1.878, allocations: 283.6 kB / 1.401 GB, free: 87.37 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Inertia1.phi,Inertia1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001587/1.88, allocations: 1.093 MB / 1.402 GB, free: 86.42 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003922/1.88, allocations: 215.8 kB / 1.402 GB, free: 86.21 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/1.88, allocations: 4 kB / 1.402 GB, free: 86.21 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001196/1.88, allocations: 59.92 kB / 1.402 GB, free: 86.15 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007106/1.881, allocations: 148.4 kB / 1.402 GB, free: 86.01 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/1.883, allocations: 1.112 MB / 1.403 GB, free: 84.87 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005217/1.883, allocations: 1.075 MB / 1.404 GB, free: 83.77 MB / 0.5105 GB Notification: Performance of SimCode: time 2.91e-07/1.883, allocations: 0 / 1.404 GB, free: 83.77 MB / 0.5105 GB Notification: Performance of Templates: time 0.01846/1.902, allocations: 13.11 MB / 1.417 GB, free: 70.71 MB / 0.5105 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.makefile (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe 2>&1)