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.001045/0.001045, allocations: 113.3 kB / 16.63 MB, free: 6.812 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.001088/0.001088, allocations: 181.8 kB / 17.55 MB, free: 5.934 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.357/1.357, allocations: 205.1 MB / 223.4 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2794/0.2794, allocations: 48.83 MB / 319.6 MB, free: 11.27 MB / 270.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.001562/0.001562, allocations: 69.58 kB / 389.5 MB, free: 48.94 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1159, allocations: 59.16 MB / 448.7 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.428/0.544, allocations: 168.5 MB / 0.6027 GB, free: 7.398 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005389/0.5494, allocations: 3.828 MB / 0.6064 GB, free: 4.297 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005769/0.55, allocations: 4.875 kB / 0.6064 GB, free: 4.297 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008458/0.5509, allocations: 240.2 kB / 0.6067 GB, free: 4.105 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009496/0.5519, allocations: 455.6 kB / 0.6071 GB, free: 3.77 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003763/0.5556, allocations: 1.449 MB / 0.6085 GB, free: 2.777 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001471/0.5571, allocations: 1.246 MB / 0.6097 GB, free: 2.082 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004695/0.5576, allocations: 365.2 kB / 0.6101 GB, free: 1.844 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006093/0.5582, allocations: 484.6 kB / 0.6106 GB, free: 1.594 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005116/0.5587, allocations: 477 kB / 0.611 GB, free: 1.34 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.62e-05/0.5588, allocations: 59.44 kB / 0.6111 GB, free: 1.336 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002709/0.5615, allocations: 1.552 MB / 0.6126 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003204/0.5619, allocations: 380.4 kB / 0.6129 GB, free: 328 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004058/0.5623, allocations: 461 kB / 0.6134 GB, free: 16 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002361/0.5647, allocations: 1.798 MB / 0.6151 GB, free: 14.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.5647, allocations: 0 / 0.6151 GB, free: 14.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.5647, allocations: 0 / 0.6151 GB, free: 14.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.5647, allocations: 0 / 0.6151 GB, free: 14.93 MB / 446.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.001873/0.5666, allocations: 1.276 MB / 0.6164 GB, free: 13.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.5666, allocations: 11.39 kB / 0.6164 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007072/0.5673, allocations: 158.7 kB / 0.6165 GB, free: 13.85 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008233/0.5682, allocations: 0.6378 MB / 0.6172 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.162e-05/0.5682, allocations: 37.62 kB / 0.6172 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.358e-05/0.5683, allocations: 48.09 kB / 0.6173 GB, free: 13.33 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009533/0.5693, allocations: 0.5958 MB / 0.6178 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.5693, allocations: 0 / 0.6178 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.169e-05/0.5694, allocations: 27.69 kB / 0.6179 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.5694, allocations: 12.69 kB / 0.6179 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006482/0.57, allocations: 469.7 kB / 0.6183 GB, free: 12.74 MB / 446.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.003807/0.5739, allocations: 2.362 MB / 0.6206 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002602/0.5741, allocations: 138.5 kB / 0.6208 GB, free: 10.63 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.792e-05/0.5742, allocations: 56.94 kB / 0.6208 GB, free: 10.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002646/0.5745, allocations: 121.1 kB / 0.6209 GB, free: 10.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.5745, allocations: 46.5 kB / 0.621 GB, free: 10.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.933e-06/0.5746, allocations: 0 / 0.621 GB, free: 10.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005151/0.5751, allocations: 252.8 kB / 0.6212 GB, free: 10.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.5751, allocations: 59.41 kB / 0.6213 GB, free: 10.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001481/0.5766, allocations: 1.328 MB / 0.6226 GB, free: 8.703 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.286e-05/0.5767, allocations: 25.7 kB / 0.6226 GB, free: 8.672 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003581/0.577, allocations: 459.2 kB / 0.623 GB, free: 8.219 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.009e-05/0.5771, allocations: 59.19 kB / 0.6231 GB, free: 8.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.5772, allocations: 81.97 kB / 0.6232 GB, free: 8.074 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.5773, allocations: 321.9 kB / 0.6235 GB, free: 7.754 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.5775, allocations: 134 kB / 0.6236 GB, free: 7.621 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002629/0.5778, allocations: 245.4 kB / 0.6238 GB, free: 7.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004025/0.5782, allocations: 336.9 kB / 0.6242 GB, free: 6.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5782, allocations: 0 / 0.6242 GB, free: 6.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006943/0.5789, allocations: 481 kB / 0.6246 GB, free: 6.453 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.579, allocations: 8 kB / 0.6246 GB, free: 6.445 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.579, allocations: 4 kB / 0.6246 GB, free: 6.441 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.579, allocations: 11.98 kB / 0.6246 GB, free: 6.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004444/0.5794, allocations: 100.6 kB / 0.6247 GB, free: 6.332 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000362/0.5798, allocations: 0.6057 MB / 0.6253 GB, free: 5.703 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004961/0.5803, allocations: 79.25 kB / 0.6254 GB, free: 5.625 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.092e-05/0.5804, allocations: 20 kB / 0.6254 GB, free: 5.605 MB / 446.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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000391/0.5808, allocations: 289.6 kB / 0.6257 GB, free: 5.312 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/0.5809, allocations: 96.69 kB / 0.6258 GB, free: 5.219 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003938/0.5813, allocations: 241.5 kB / 0.626 GB, free: 4.977 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.5814, allocations: 4 kB / 0.626 GB, free: 4.973 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.5814, allocations: 0 / 0.626 GB, free: 4.973 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.5814, allocations: 0 / 0.626 GB, free: 4.973 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006555/0.582, allocations: 0.5565 MB / 0.6266 GB, free: 4.367 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.582, allocations: 0 / 0.6266 GB, free: 4.367 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002387/0.5823, allocations: 47.91 kB / 0.6266 GB, free: 4.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.5823, allocations: 7.938 kB / 0.6266 GB, free: 4.312 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.5823, allocations: 0 / 0.6266 GB, free: 4.312 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003128/0.5826, allocations: 0.6038 MB / 0.6272 GB, free: 3.688 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5826, allocations: 0 / 0.6272 GB, free: 3.688 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004608/0.5831, allocations: 387.2 kB / 0.6276 GB, free: 3.293 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002341/0.5834, allocations: 191.9 kB / 0.6278 GB, free: 3.086 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.932e-05/0.5835, allocations: 4 kB / 0.6278 GB, free: 3.082 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004467/0.5839, allocations: 24.12 kB / 0.6278 GB, free: 3.059 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.453e-05/0.584, allocations: 7.984 kB / 0.6278 GB, free: 3.051 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.48e-05/0.584, allocations: 15.98 kB / 0.6278 GB, free: 3.035 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001107/0.5851, allocations: 0.9381 MB / 0.6287 GB, free: 2.086 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5851, allocations: 0 / 0.6287 GB, free: 2.086 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007797/0.5859, allocations: 223.8 kB / 0.6289 GB, free: 1.867 MB / 446.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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001413/0.5873, allocations: 0.5416 MB / 0.6295 GB, free: 1.332 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005189/0.5879, allocations: 247.8 kB / 0.6297 GB, free: 1.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.5879, allocations: 5 kB / 0.6297 GB, free: 1.086 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.588, allocations: 63.97 kB / 0.6298 GB, free: 1.023 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001495/0.5895, allocations: 346.8 kB / 0.6301 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002316/0.5918, allocations: 1.749 MB / 0.6318 GB, free: 14.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005868/0.5924, allocations: 0.9851 MB / 0.6328 GB, free: 13.89 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005304/0.593, allocations: 162.6 kB / 0.6329 GB, free: 13.72 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.5931, allocations: 71.42 kB / 0.633 GB, free: 13.65 MB / 462.1 MB Notification: Performance of SimCode: time 4.01e-07/0.5931, allocations: 0 / 0.633 GB, free: 13.65 MB / 462.1 MB Notification: Performance of Templates: time 0.02552/0.6187, allocations: 15.33 MB / 0.648 GB, free: 14.3 MB / 478.1 MB 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)