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.001571/0.001571, allocations: 115.5 kB / 17.69 MB, free: 5.438 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.001709/0.001709, allocations: 192 kB / 18.63 MB, free: 4.504 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.308/1.308, allocations: 205.1 MB / 224.5 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2673/0.2673, allocations: 48.84 MB / 320.7 MB, free: 11.05 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.001392/0.001392, allocations: 69.41 kB / 391.5 MB, free: 48.6 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09834/0.09974, allocations: 59.16 MB / 450.7 MB, free: 9.059 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.378/0.4778, allocations: 170.5 MB / 0.6067 GB, free: 4.684 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005229/0.4831, allocations: 3.808 MB / 0.6104 GB, free: 1.602 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003722/0.4835, allocations: 8.656 kB / 0.6104 GB, free: 1.598 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008017/0.4843, allocations: 261.5 kB / 0.6107 GB, free: 1.383 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0008632/0.4852, allocations: 498.4 kB / 0.6111 GB, free: 1.004 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003423/0.4887, allocations: 1.551 MB / 0.6126 GB, free: 15.9 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001251/0.4899, allocations: 1.241 MB / 0.6139 GB, free: 15.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004785/0.4904, allocations: 373.6 kB / 0.6142 GB, free: 14.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005485/0.491, allocations: 478 kB / 0.6147 GB, free: 14.7 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005236/0.4915, allocations: 463.4 kB / 0.6151 GB, free: 14.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.741e-05/0.4916, allocations: 55.62 kB / 0.6152 GB, free: 14.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002438/0.4941, allocations: 1.423 MB / 0.6165 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003431/0.4944, allocations: 382.4 kB / 0.6169 GB, free: 13.47 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004217/0.4948, allocations: 460 kB / 0.6174 GB, free: 13.17 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002014/0.4969, allocations: 1.723 MB / 0.619 GB, free: 12.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.4969, allocations: 0 / 0.619 GB, free: 12.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.4969, allocations: 3.938 kB / 0.619 GB, free: 12.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.4969, allocations: 0 / 0.619 GB, free: 12.12 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.001976/0.4989, allocations: 1.262 MB / 0.6203 GB, free: 11.13 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.4989, allocations: 14.33 kB / 0.6203 GB, free: 11.13 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007384/0.4997, allocations: 156.7 kB / 0.6204 GB, free: 11.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009828/0.5007, allocations: 0.648 MB / 0.6211 GB, free: 10.55 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.852e-05/0.5007, allocations: 37.16 kB / 0.6211 GB, free: 10.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.369e-05/0.5008, allocations: 48.72 kB / 0.6211 GB, free: 10.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009156/0.5017, allocations: 0.6024 MB / 0.6217 GB, free: 10.17 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.5018, allocations: 1.812 kB / 0.6217 GB, free: 10.17 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.336e-05/0.5018, allocations: 29.06 kB / 0.6218 GB, free: 10.15 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.5019, allocations: 12.84 kB / 0.6218 GB, free: 10.15 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006492/0.5025, allocations: 464.7 kB / 0.6222 GB, free: 9.934 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.003844/0.5064, allocations: 2.339 MB / 0.6245 GB, free: 7.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002444/0.5066, allocations: 130.7 kB / 0.6246 GB, free: 7.633 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.673e-05/0.5067, allocations: 52.84 kB / 0.6247 GB, free: 7.578 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002705/0.507, allocations: 125.1 kB / 0.6248 GB, free: 7.438 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.5071, allocations: 42.5 kB / 0.6248 GB, free: 7.387 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.402e-06/0.5071, allocations: 0 / 0.6248 GB, free: 7.387 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004882/0.5076, allocations: 253.2 kB / 0.6251 GB, free: 7.133 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.5076, allocations: 51.41 kB / 0.6251 GB, free: 7.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001588/0.5092, allocations: 1.324 MB / 0.6264 GB, free: 5.723 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.742e-05/0.5093, allocations: 37.7 kB / 0.6265 GB, free: 5.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003396/0.5096, allocations: 459.2 kB / 0.6269 GB, free: 5.227 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.244e-05/0.5096, allocations: 59.19 kB / 0.627 GB, free: 5.168 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.5098, allocations: 81.97 kB / 0.627 GB, free: 5.082 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.5099, allocations: 321.9 kB / 0.6273 GB, free: 4.762 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.5101, allocations: 130.5 kB / 0.6275 GB, free: 4.629 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002823/0.5104, allocations: 253.4 kB / 0.6277 GB, free: 4.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003972/0.5108, allocations: 336.9 kB / 0.628 GB, free: 3.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.5108, allocations: 0 / 0.628 GB, free: 3.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000705/0.5115, allocations: 476.4 kB / 0.6285 GB, free: 3.457 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.5116, allocations: 15.97 kB / 0.6285 GB, free: 3.441 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.5116, allocations: 4 kB / 0.6285 GB, free: 3.438 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.5116, allocations: 8 kB / 0.6285 GB, free: 3.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004385/0.512, allocations: 99.81 kB / 0.6286 GB, free: 3.332 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000436/0.5125, allocations: 0.6094 MB / 0.6292 GB, free: 2.699 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004297/0.5129, allocations: 72.45 kB / 0.6293 GB, free: 2.629 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-05/0.513, allocations: 24.08 kB / 0.6293 GB, free: 2.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.0003649/0.5134, allocations: 290.4 kB / 0.6296 GB, free: 2.312 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.5135, allocations: 98.81 kB / 0.6297 GB, free: 2.215 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000406/0.5139, allocations: 245.5 kB / 0.6299 GB, free: 1.969 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.5139, allocations: 4 kB / 0.6299 GB, free: 1.965 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.237e-06/0.5139, allocations: 0 / 0.6299 GB, free: 1.965 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.514, allocations: 0 / 0.6299 GB, free: 1.965 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006528/0.5146, allocations: 0.5585 MB / 0.6304 GB, free: 1.359 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.5146, allocations: 3.984 kB / 0.6304 GB, free: 1.355 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002327/0.5149, allocations: 43.91 kB / 0.6305 GB, free: 1.312 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.5149, allocations: 0 / 0.6305 GB, free: 1.312 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.5149, allocations: 8 kB / 0.6305 GB, free: 1.305 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003032/0.5152, allocations: 0.5938 MB / 0.6311 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.5152, allocations: 4.031 kB / 0.6311 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004451/0.5157, allocations: 374.8 kB / 0.6314 GB, free: 308 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003009/0.516, allocations: 200 kB / 0.6316 GB, free: 88 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.968e-05/0.5161, allocations: 0 / 0.6316 GB, free: 88 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003843/0.5165, allocations: 19.98 kB / 0.6316 GB, free: 68 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.446e-05/0.5165, allocations: 7.984 kB / 0.6317 GB, free: 60 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.534e-05/0.5165, allocations: 15.98 kB / 0.6317 GB, free: 44 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00107/0.5176, allocations: 0.938 MB / 0.6326 GB, free: 15.09 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5176, allocations: 8.062 kB / 0.6326 GB, free: 15.09 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007021/0.5183, allocations: 223.8 kB / 0.6328 GB, free: 14.87 MB / 462.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.001308/0.5197, allocations: 0.5343 MB / 0.6333 GB, free: 14.34 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004843/0.5202, allocations: 248 kB / 0.6336 GB, free: 14.09 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.5202, allocations: 0 / 0.6336 GB, free: 14.09 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.5203, allocations: 59.97 kB / 0.6336 GB, free: 14.04 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/0.5217, allocations: 336 kB / 0.6339 GB, free: 13.7 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002161/0.5239, allocations: 1.514 MB / 0.6354 GB, free: 12.16 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006107/0.5245, allocations: 0.9931 MB / 0.6364 GB, free: 11.14 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004452/0.5249, allocations: 170.6 kB / 0.6366 GB, free: 10.97 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.5251, allocations: 59.44 kB / 0.6366 GB, free: 10.91 MB / 462.1 MB Notification: Performance of SimCode: time 2.31e-07/0.5251, allocations: 0 / 0.6366 GB, free: 10.91 MB / 462.1 MB Notification: Performance of Templates: time 0.02578/0.5509, allocations: 15.79 MB / 0.652 GB, free: 11.1 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 -s gbode -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe 2>&1)