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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008759/0.0008764, allocations: 89.39 kB / 16.32 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 180.2 kB / 17.21 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.667/1.667, allocations: 205.4 MB / 223.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4456/0.4456, allocations: 48.77 MB / 320.4 MB, free: 3.836 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005204/0.0005207, allocations: 20 kB / 391.2 MB, free: 14.3 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.125, allocations: 60.26 MB / 451.4 MB, free: 1.902 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.415/0.5401, allocations: 155.1 MB / 0.5923 GB, free: 2.16 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005133/0.5453, allocations: 3.586 MB / 0.5958 GB, free: 14.57 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004303/0.5457, allocations: 4 kB / 0.5958 GB, free: 14.56 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006724/0.5464, allocations: 198.8 kB / 0.596 GB, free: 14.37 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009465/0.5474, allocations: 465.8 kB / 0.5964 GB, free: 13.91 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003269/0.5507, allocations: 1.134 MB / 0.5975 GB, free: 12.8 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001569/0.5523, allocations: 1.395 MB / 0.5989 GB, free: 11.4 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004763/0.5528, allocations: 307.8 kB / 0.5992 GB, free: 11.1 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006991/0.5535, allocations: 422.5 kB / 0.5996 GB, free: 10.69 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005364/0.554, allocations: 446.4 kB / 0.6 GB, free: 10.25 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.234e-05/0.5541, allocations: 28 kB / 0.6001 GB, free: 10.22 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002642/0.5567, allocations: 1.096 MB / 0.6011 GB, free: 9.125 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003887/0.5571, allocations: 359 kB / 0.6015 GB, free: 8.773 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002355/0.5574, allocations: 181.3 kB / 0.6016 GB, free: 8.59 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0017/0.5591, allocations: 1.226 MB / 0.6028 GB, free: 7.363 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.5591, allocations: 0 / 0.6028 GB, free: 7.363 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.5591, allocations: 0 / 0.6028 GB, free: 7.363 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.5592, allocations: 0 / 0.6028 GB, free: 7.363 MB / 478.1 MB 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.001961/0.5611, allocations: 1.095 MB / 0.6039 GB, free: 6.215 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/0.5612, allocations: 12.03 kB / 0.6039 GB, free: 6.203 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000732/0.5619, allocations: 154.7 kB / 0.6041 GB, free: 6.051 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009393/0.5629, allocations: 0.6086 MB / 0.6047 GB, free: 5.398 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.399e-05/0.5629, allocations: 37 kB / 0.6047 GB, free: 5.363 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.907e-05/0.563, allocations: 48 kB / 0.6047 GB, free: 5.316 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.564, allocations: 0.6073 MB / 0.6053 GB, free: 4.695 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.5641, allocations: 0 / 0.6053 GB, free: 4.695 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.754e-05/0.5641, allocations: 24 kB / 0.6054 GB, free: 4.672 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/0.5642, allocations: 12 kB / 0.6054 GB, free: 4.66 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006694/0.5648, allocations: 463.7 kB / 0.6058 GB, free: 4.207 MB / 478.1 MB 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.003795/0.5686, allocations: 2.359 MB / 0.6081 GB, free: 1.688 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002366/0.5689, allocations: 134.6 kB / 0.6082 GB, free: 1.547 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.615e-05/0.569, allocations: 52.84 kB / 0.6083 GB, free: 1.492 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002491/0.5692, allocations: 125.1 kB / 0.6084 GB, free: 1.352 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.5693, allocations: 39.69 kB / 0.6085 GB, free: 1.305 MB / 478.1 MB Notification: Performance of pre-optimization done (n=14): time 2.174e-06/0.5693, allocations: 0 / 0.6085 GB, free: 1.305 MB / 478.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004738/0.5698, allocations: 248.9 kB / 0.6087 GB, free: 1.055 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.5698, allocations: 59.34 kB / 0.6088 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001493/0.5713, allocations: 1.324 MB / 0.61 GB, free: 15.63 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.946e-05/0.5714, allocations: 33.7 kB / 0.6101 GB, free: 15.59 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003554/0.5717, allocations: 455.1 kB / 0.6105 GB, free: 15.14 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.286e-05/0.5718, allocations: 59.17 kB / 0.6106 GB, free: 15.09 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.63e-05/0.5718, allocations: 4 kB / 0.6106 GB, free: 15.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.5719, allocations: 322 kB / 0.6109 GB, free: 14.77 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.5721, allocations: 129.6 kB / 0.611 GB, free: 14.64 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002601/0.5724, allocations: 241.5 kB / 0.6112 GB, free: 14.34 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002364/0.5727, allocations: 151.8 kB / 0.6114 GB, free: 14.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.5727, allocations: 4 kB / 0.6114 GB, free: 14.19 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006566/0.5733, allocations: 468.5 kB / 0.6118 GB, free: 13.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.5734, allocations: 7.938 kB / 0.6118 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.5734, allocations: 12 kB / 0.6118 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.5734, allocations: 4 kB / 0.6118 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004156/0.5738, allocations: 107.8 kB / 0.612 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003558/0.5742, allocations: 0.6055 MB / 0.6125 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004122/0.5746, allocations: 75.2 kB / 0.6126 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.403e-05/0.5747, allocations: 32.02 kB / 0.6126 GB, free: 12.86 MB / 494.1 MB Warning: Assuming fixed start value for the following 1 variables: Inertia1.phi:VARIABLE(unit = "rad" fixed = true ) "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 () * Number of clocked 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.0003738/0.5751, allocations: 297.6 kB / 0.6129 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.5752, allocations: 96.14 kB / 0.613 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004126/0.5756, allocations: 238.8 kB / 0.6132 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.5756, allocations: 0 / 0.6132 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.361e-06/0.5756, allocations: 0 / 0.6132 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.5756, allocations: 4 kB / 0.6133 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006341/0.5763, allocations: 0.5565 MB / 0.6138 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.5763, allocations: 2.25 kB / 0.6138 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002143/0.5765, allocations: 43.97 kB / 0.6138 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.5765, allocations: 0 / 0.6138 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.5765, allocations: 7.953 kB / 0.6138 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002875/0.5768, allocations: 0.5977 MB / 0.6144 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.5768, allocations: 0 / 0.6144 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003895/0.5772, allocations: 386 kB / 0.6148 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002158/0.5775, allocations: 196 kB / 0.615 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.874e-05/0.5776, allocations: 4 kB / 0.615 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003614/0.5779, allocations: 19.98 kB / 0.615 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.47e-05/0.578, allocations: 7.984 kB / 0.615 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.706e-05/0.578, allocations: 15.98 kB / 0.615 GB, free: 10.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001011/0.579, allocations: 0.9459 MB / 0.616 GB, free: 9.344 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.579, allocations: 0 / 0.616 GB, free: 9.344 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000695/0.5797, allocations: 227.7 kB / 0.6162 GB, free: 9.121 MB / 494.1 MB 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 () * Number of clocked 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.001161/0.5809, allocations: 0.4967 MB / 0.6167 GB, free: 8.664 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004714/0.5814, allocations: 243.6 kB / 0.6169 GB, free: 8.426 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.5814, allocations: 0 / 0.6169 GB, free: 8.426 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.5815, allocations: 65.03 kB / 0.617 GB, free: 8.363 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001405/0.583, allocations: 321.1 kB / 0.6173 GB, free: 8.047 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00223/0.5852, allocations: 1.747 MB / 0.619 GB, free: 6.285 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004978/0.5857, allocations: 0.9883 MB / 0.6199 GB, free: 5.27 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005533/0.5863, allocations: 174.3 kB / 0.6201 GB, free: 5.098 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.5864, allocations: 59.42 kB / 0.6202 GB, free: 5.039 MB / 494.1 MB Notification: Performance of SimCode: time 4.91e-07/0.5864, allocations: 0 / 0.6202 GB, free: 5.039 MB / 494.1 MB Notification: Performance of Templates: time 0.2201/0.8065, allocations: 14.37 MB / 0.6342 GB, free: 153.1 MB / 494.1 MB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: