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.001166/0.001166, allocations: 113 kB / 17.68 MB, free: 5.473 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.001078/0.001078, allocations: 190.9 kB / 18.62 MB, free: 4.543 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.617/1.617, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3027/0.3027, allocations: 48.85 MB / 320.7 MB, free: 11.04 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.001434/0.001434, allocations: 72.73 kB / 391.5 MB, free: 48.56 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1029, allocations: 59.16 MB / 450.7 MB, free: 9.051 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.4201/0.523, allocations: 170.5 MB / 0.6067 GB, free: 4.793 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005257/0.5283, allocations: 3.804 MB / 0.6104 GB, free: 1.715 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004111/0.5287, allocations: 8.906 kB / 0.6104 GB, free: 1.711 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006626/0.5295, allocations: 268.9 kB / 0.6106 GB, free: 1.488 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.0008105/0.5303, allocations: 498 kB / 0.6111 GB, free: 1.109 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003521/0.5338, allocations: 1.551 MB / 0.6126 GB, free: 0 / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001418/0.5353, allocations: 1.244 MB / 0.6138 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004336/0.5357, allocations: 365.9 kB / 0.6142 GB, free: 15.06 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005861/0.5363, allocations: 485.3 kB / 0.6147 GB, free: 14.8 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004811/0.5368, allocations: 453 kB / 0.6151 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.872e-05/0.5369, allocations: 55.72 kB / 0.6151 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00267/0.5396, allocations: 1.431 MB / 0.6165 GB, free: 13.81 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003111/0.5399, allocations: 382.5 kB / 0.6169 GB, free: 13.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004229/0.5403, allocations: 462.8 kB / 0.6173 GB, free: 13.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002128/0.5425, allocations: 1.716 MB / 0.619 GB, free: 12.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.5425, allocations: 0 / 0.619 GB, free: 12.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.5425, allocations: 2.094 kB / 0.619 GB, free: 12.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.5425, allocations: 0 / 0.619 GB, free: 12.23 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.001806/0.5443, allocations: 1.263 MB / 0.6203 GB, free: 11.24 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.909e-05/0.5443, allocations: 13.61 kB / 0.6203 GB, free: 11.24 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007144/0.5451, allocations: 159.9 kB / 0.6204 GB, free: 11.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009008/0.546, allocations: 0.6507 MB / 0.6211 GB, free: 10.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.546, allocations: 36.75 kB / 0.6211 GB, free: 10.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.445e-05/0.5461, allocations: 48.66 kB / 0.6211 GB, free: 10.63 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008615/0.547, allocations: 0.5917 MB / 0.6217 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.547, allocations: 6.891 kB / 0.6217 GB, free: 10.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.843e-05/0.547, allocations: 32.81 kB / 0.6218 GB, free: 10.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.5471, allocations: 13.03 kB / 0.6218 GB, free: 10.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006765/0.5477, allocations: 465.8 kB / 0.6222 GB, free: 10.04 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.003684/0.5514, allocations: 2.333 MB / 0.6245 GB, free: 7.918 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.5517, allocations: 142.6 kB / 0.6246 GB, free: 7.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.575e-05/0.5518, allocations: 52.84 kB / 0.6247 GB, free: 7.715 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002714/0.5521, allocations: 125.1 kB / 0.6248 GB, free: 7.574 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.5521, allocations: 34.56 kB / 0.6248 GB, free: 7.531 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.563e-06/0.5521, allocations: 0 / 0.6248 GB, free: 7.531 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004851/0.5526, allocations: 256.9 kB / 0.6251 GB, free: 7.273 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.5527, allocations: 59.34 kB / 0.6251 GB, free: 7.203 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001554/0.5542, allocations: 1.324 MB / 0.6264 GB, free: 5.855 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.761e-05/0.5543, allocations: 29.7 kB / 0.6265 GB, free: 5.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003669/0.5546, allocations: 459.2 kB / 0.6269 GB, free: 5.367 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.67e-05/0.5547, allocations: 59.19 kB / 0.6269 GB, free: 5.309 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.5548, allocations: 77.98 kB / 0.627 GB, free: 5.227 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.555, allocations: 329.8 kB / 0.6273 GB, free: 4.898 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/0.5552, allocations: 130.6 kB / 0.6275 GB, free: 4.766 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002844/0.5555, allocations: 247.3 kB / 0.6277 GB, free: 4.465 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004156/0.5559, allocations: 344.8 kB / 0.628 GB, free: 4.066 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.5559, allocations: 0 / 0.628 GB, free: 4.066 MB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007317/0.5566, allocations: 476 kB / 0.6285 GB, free: 3.594 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.5567, allocations: 8 kB / 0.6285 GB, free: 3.586 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.5567, allocations: 4 kB / 0.6285 GB, free: 3.582 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.5567, allocations: 8 kB / 0.6285 GB, free: 3.574 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000478/0.5572, allocations: 99.81 kB / 0.6286 GB, free: 3.477 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003872/0.5576, allocations: 0.6114 MB / 0.6292 GB, free: 2.844 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004448/0.558, allocations: 75.2 kB / 0.6293 GB, free: 2.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.805e-05/0.5581, allocations: 23.98 kB / 0.6293 GB, free: 2.746 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.0004263/0.5585, allocations: 294.2 kB / 0.6296 GB, free: 2.449 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.5587, allocations: 94.81 kB / 0.6297 GB, free: 2.355 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003996/0.5591, allocations: 230.2 kB / 0.6299 GB, free: 2.125 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.5591, allocations: 8 kB / 0.6299 GB, free: 2.117 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5591, allocations: 1.75 kB / 0.6299 GB, free: 2.117 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.5591, allocations: 3.984 kB / 0.6299 GB, free: 2.113 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006471/0.5598, allocations: 0.5526 MB / 0.6304 GB, free: 1.512 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.5598, allocations: 0 / 0.6304 GB, free: 1.512 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/0.56, allocations: 47.84 kB / 0.6305 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.5601, allocations: 0 / 0.6305 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.5601, allocations: 11.98 kB / 0.6305 GB, free: 1.453 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002962/0.5604, allocations: 0.5939 MB / 0.6311 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.5604, allocations: 3.984 kB / 0.6311 GB, free: 0.832 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004496/0.5609, allocations: 378.8 kB / 0.6314 GB, free: 456 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002969/0.5612, allocations: 192 kB / 0.6316 GB, free: 244 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.437e-05/0.5613, allocations: 7.984 kB / 0.6316 GB, free: 236 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000383/0.5617, allocations: 23.92 kB / 0.6316 GB, free: 216 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.112e-05/0.5617, allocations: 12.14 kB / 0.6317 GB, free: 204 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-05/0.5617, allocations: 15.98 kB / 0.6317 GB, free: 188 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001094/0.5628, allocations: 0.9381 MB / 0.6326 GB, free: 15.23 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5629, allocations: 0 / 0.6326 GB, free: 15.23 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007557/0.5636, allocations: 219.8 kB / 0.6328 GB, free: 15.02 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.001378/0.565, allocations: 0.5402 MB / 0.6333 GB, free: 14.48 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005109/0.5655, allocations: 235.9 kB / 0.6335 GB, free: 14.25 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.5655, allocations: 0 / 0.6335 GB, free: 14.25 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.5657, allocations: 68.97 kB / 0.6336 GB, free: 14.18 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/0.5671, allocations: 339.2 kB / 0.6339 GB, free: 13.85 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002161/0.5693, allocations: 1.51 MB / 0.6354 GB, free: 12.31 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005533/0.5698, allocations: 0.9814 MB / 0.6364 GB, free: 11.3 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004418/0.5703, allocations: 174.6 kB / 0.6365 GB, free: 11.12 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.5704, allocations: 67.38 kB / 0.6366 GB, free: 11.06 MB / 462.1 MB Notification: Performance of SimCode: time 2.5e-07/0.5704, allocations: 0 / 0.6366 GB, free: 11.06 MB / 462.1 MB Notification: Performance of Templates: time 0.02551/0.5959, allocations: 15.79 MB / 0.652 GB, free: 11.25 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 cvode -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe 2>&1)