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.001073/0.001073, allocations: 109.7 kB / 16.51 MB, free: 6.707 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.0009971/0.0009971, allocations: 186.5 kB / 17.42 MB, free: 6.074 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.34/1.34, allocations: 205.1 MB / 223.3 MB, free: 12.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2945/0.2945, allocations: 48.84 MB / 319.5 MB, free: 11.32 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.00147/0.00147, allocations: 58.94 kB / 389.4 MB, free: 49.03 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1114, allocations: 59.17 MB / 448.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.4278/0.5393, allocations: 168.6 MB / 0.6027 GB, free: 7.211 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006023/0.5454, allocations: 3.941 MB / 0.6065 GB, free: 4.062 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006543/0.5461, allocations: 8.25 kB / 0.6065 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000922/0.547, allocations: 230.7 kB / 0.6068 GB, free: 3.879 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009908/0.548, allocations: 465.6 kB / 0.6072 GB, free: 3.535 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004067/0.5521, allocations: 1.411 MB / 0.6086 GB, free: 2.543 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002409/0.5545, allocations: 1.656 MB / 0.6102 GB, free: 1.656 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004747/0.555, allocations: 315.1 kB / 0.6105 GB, free: 1.461 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006395/0.5557, allocations: 421.3 kB / 0.6109 GB, free: 1.262 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005626/0.5562, allocations: 464.5 kB / 0.6113 GB, free: 1.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.326e-05/0.5563, allocations: 27.25 kB / 0.6114 GB, free: 1.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003551/0.5599, allocations: 1.7 MB / 0.613 GB, free: 108 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003576/0.5603, allocations: 342.4 kB / 0.6134 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004862/0.5608, allocations: 428.4 kB / 0.6138 GB, free: 15.63 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002864/0.5636, allocations: 1.782 MB / 0.6155 GB, free: 14.56 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.5637, allocations: 0 / 0.6155 GB, free: 14.56 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.5637, allocations: 0 / 0.6155 GB, free: 14.56 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.5637, allocations: 0 / 0.6155 GB, free: 14.56 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.002026/0.5657, allocations: 1.265 MB / 0.6167 GB, free: 13.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.5658, allocations: 11.72 kB / 0.6168 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007383/0.5665, allocations: 164.6 kB / 0.6169 GB, free: 13.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008917/0.5674, allocations: 0.63 MB / 0.6175 GB, free: 13 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.437e-05/0.5675, allocations: 37.22 kB / 0.6176 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.293e-05/0.5675, allocations: 48.41 kB / 0.6176 GB, free: 12.97 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009933/0.5685, allocations: 0.6067 MB / 0.6182 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.5686, allocations: 0 / 0.6182 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.527e-05/0.5686, allocations: 24.97 kB / 0.6182 GB, free: 12.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.5687, allocations: 12.44 kB / 0.6182 GB, free: 12.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006833/0.5693, allocations: 468.6 kB / 0.6187 GB, free: 12.38 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.0042/0.5736, allocations: 2.37 MB / 0.621 GB, free: 10.33 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002439/0.5738, allocations: 138.5 kB / 0.6211 GB, free: 10.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.368e-05/0.5739, allocations: 48.94 kB / 0.6212 GB, free: 10.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002579/0.5742, allocations: 129 kB / 0.6213 GB, free: 9.988 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.5742, allocations: 38.56 kB / 0.6213 GB, free: 9.941 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.5742, allocations: 0 / 0.6213 GB, free: 9.941 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005/0.5747, allocations: 256.8 kB / 0.6216 GB, free: 9.684 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.5748, allocations: 51.41 kB / 0.6216 GB, free: 9.621 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001541/0.5763, allocations: 1.324 MB / 0.6229 GB, free: 8.273 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.528e-05/0.5764, allocations: 29.7 kB / 0.6229 GB, free: 8.238 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003342/0.5767, allocations: 459.1 kB / 0.6234 GB, free: 7.785 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.186e-05/0.5768, allocations: 63.23 kB / 0.6234 GB, free: 7.723 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.5769, allocations: 81.97 kB / 0.6235 GB, free: 7.637 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.577, allocations: 321.9 kB / 0.6238 GB, free: 7.316 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.5772, allocations: 126 kB / 0.624 GB, free: 7.191 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002764/0.5775, allocations: 252.4 kB / 0.6242 GB, free: 6.887 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003982/0.5779, allocations: 332.9 kB / 0.6245 GB, free: 6.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.5779, allocations: 4 kB / 0.6245 GB, free: 6.496 MB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007081/0.5786, allocations: 471.9 kB / 0.625 GB, free: 6.027 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.5787, allocations: 8.531 kB / 0.625 GB, free: 6.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.5787, allocations: 4 kB / 0.625 GB, free: 6.016 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/0.5787, allocations: 12 kB / 0.625 GB, free: 6.004 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005105/0.5792, allocations: 99.88 kB / 0.6251 GB, free: 5.906 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004198/0.5797, allocations: 0.6055 MB / 0.6257 GB, free: 5.277 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004926/0.5802, allocations: 79.19 kB / 0.6257 GB, free: 5.199 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-05/0.5802, allocations: 24 kB / 0.6258 GB, free: 5.176 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.0003988/0.5806, allocations: 298.2 kB / 0.6261 GB, free: 4.875 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.5808, allocations: 94.81 kB / 0.6261 GB, free: 4.781 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004009/0.5812, allocations: 237.5 kB / 0.6264 GB, free: 4.543 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.5812, allocations: 5.938 kB / 0.6264 GB, free: 4.539 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.5812, allocations: 0 / 0.6264 GB, free: 4.539 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.5812, allocations: 3.938 kB / 0.6264 GB, free: 4.535 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007026/0.5819, allocations: 0.5566 MB / 0.6269 GB, free: 3.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.582, allocations: 0 / 0.6269 GB, free: 3.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.5822, allocations: 43.91 kB / 0.627 GB, free: 3.887 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.5822, allocations: 3.938 kB / 0.627 GB, free: 3.883 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.5823, allocations: 8 kB / 0.627 GB, free: 3.875 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003679/0.5826, allocations: 0.5899 MB / 0.6276 GB, free: 3.262 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5826, allocations: 0 / 0.6276 GB, free: 3.262 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005091/0.5832, allocations: 395.3 kB / 0.6279 GB, free: 2.859 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002709/0.5834, allocations: 188.1 kB / 0.6281 GB, free: 2.656 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.5835, allocations: 4 kB / 0.6281 GB, free: 2.652 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004353/0.584, allocations: 23.97 kB / 0.6281 GB, free: 2.629 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.763e-05/0.584, allocations: 8.484 kB / 0.6281 GB, free: 2.621 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.693e-05/0.5841, allocations: 15.98 kB / 0.6282 GB, free: 2.605 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00112/0.5852, allocations: 0.9421 MB / 0.6291 GB, free: 1.652 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5852, allocations: 0 / 0.6291 GB, free: 1.652 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007973/0.586, allocations: 223.8 kB / 0.6293 GB, free: 1.434 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.001349/0.5874, allocations: 0.5537 MB / 0.6298 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005202/0.5879, allocations: 235.9 kB / 0.6301 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.5879, allocations: 4 kB / 0.6301 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.5881, allocations: 63.92 kB / 0.6301 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001535/0.5896, allocations: 324.5 kB / 0.6304 GB, free: 272 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002304/0.5919, allocations: 1.755 MB / 0.6321 GB, free: 14.48 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005172/0.5925, allocations: 0.9941 MB / 0.6331 GB, free: 13.46 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005151/0.593, allocations: 162.6 kB / 0.6333 GB, free: 13.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.5931, allocations: 67.42 kB / 0.6333 GB, free: 13.24 MB / 462.1 MB Notification: Performance of SimCode: time 2.324e-06/0.5931, allocations: 0 / 0.6333 GB, free: 13.24 MB / 462.1 MB Notification: Performance of Templates: time 0.02501/0.6181, allocations: 14.88 MB / 0.6479 GB, free: 14.33 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)