Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.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.TestGasTurbineStodola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola") translateModel(ThermoPower.Test.GasComponents.TestGasTurbineStodola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 107.2 kB / 16.62 MB, free: 6.969 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.001609/0.001609, allocations: 190 kB / 17.54 MB, free: 6.062 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.343/1.343, allocations: 205.1 MB / 223.4 MB, free: 12.44 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2641/0.2641, allocations: 48.84 MB / 319.6 MB, free: 11.26 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.002278/0.002278, allocations: 62.11 kB / 389.6 MB, free: 48.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1161, allocations: 59.16 MB / 448.7 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.3853/0.5015, allocations: 168.5 MB / 0.6028 GB, free: 7.355 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004781/0.5063, allocations: 3.784 MB / 0.6065 GB, free: 4.285 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005144/0.5068, allocations: 9.906 kB / 0.6065 GB, free: 4.281 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009197/0.5078, allocations: 235.5 kB / 0.6067 GB, free: 4.094 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007848/0.5086, allocations: 419 kB / 0.6071 GB, free: 3.773 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003265/0.5119, allocations: 1.364 MB / 0.6084 GB, free: 2.836 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001369/0.5133, allocations: 1.213 MB / 0.6096 GB, free: 2.156 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004681/0.5138, allocations: 353.2 kB / 0.61 GB, free: 1.926 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006122/0.5144, allocations: 472 kB / 0.6104 GB, free: 1.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004638/0.5149, allocations: 436.3 kB / 0.6108 GB, free: 1.441 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.578e-05/0.515, allocations: 55.22 kB / 0.6109 GB, free: 1.441 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002583/0.5175, allocations: 1.542 MB / 0.6124 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002857/0.5178, allocations: 331.1 kB / 0.6127 GB, free: 464 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003592/0.5182, allocations: 406.9 kB / 0.6131 GB, free: 200 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002128/0.5203, allocations: 1.701 MB / 0.6147 GB, free: 15.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.361e-06/0.5204, allocations: 0 / 0.6147 GB, free: 15.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.5204, allocations: 0 / 0.6147 GB, free: 15.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.5204, allocations: 6.781 kB / 0.6148 GB, free: 15.16 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001755/0.5222, allocations: 1.114 MB / 0.6158 GB, free: 14.28 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.5222, allocations: 14.17 kB / 0.6159 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000738/0.523, allocations: 145.1 kB / 0.616 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006722/0.5236, allocations: 0.5043 MB / 0.6165 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.07e-05/0.5237, allocations: 37.41 kB / 0.6165 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.362e-05/0.5238, allocations: 55.28 kB / 0.6166 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009475/0.5247, allocations: 0.6062 MB / 0.6172 GB, free: 13.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.5247, allocations: 3.938 kB / 0.6172 GB, free: 13.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.46e-05/0.5248, allocations: 35.38 kB / 0.6172 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.5248, allocations: 12.75 kB / 0.6172 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000647/0.5255, allocations: 469.8 kB / 0.6177 GB, free: 13.14 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.004014/0.5295, allocations: 2.322 MB / 0.6199 GB, free: 11.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000258/0.5298, allocations: 133.3 kB / 0.6201 GB, free: 11.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.93e-05/0.5299, allocations: 59.09 kB / 0.6201 GB, free: 11.15 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002442/0.5301, allocations: 117 kB / 0.6202 GB, free: 11.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.5302, allocations: 38.88 kB / 0.6203 GB, free: 11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.843e-06/0.5302, allocations: 4 kB / 0.6203 GB, free: 11 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004787/0.5307, allocations: 236 kB / 0.6205 GB, free: 10.87 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.5307, allocations: 57.7 kB / 0.6205 GB, free: 10.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.5318, allocations: 0.9832 MB / 0.6215 GB, free: 9.816 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.3e-05/0.5318, allocations: 29.7 kB / 0.6215 GB, free: 9.781 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002676/0.5321, allocations: 383.3 kB / 0.6219 GB, free: 9.398 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.417e-05/0.5322, allocations: 59.19 kB / 0.622 GB, free: 9.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.5323, allocations: 82.03 kB / 0.622 GB, free: 9.254 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.5324, allocations: 329.9 kB / 0.6224 GB, free: 8.926 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002033/0.5326, allocations: 126.1 kB / 0.6225 GB, free: 8.797 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002754/0.5329, allocations: 258.3 kB / 0.6227 GB, free: 8.484 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004201/0.5333, allocations: 341.7 kB / 0.623 GB, free: 8.086 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.5334, allocations: 0 / 0.623 GB, free: 8.086 MB / 446.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000728/0.5341, allocations: 468.9 kB / 0.6235 GB, free: 7.621 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.5341, allocations: 11.94 kB / 0.6235 GB, free: 7.609 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.5341, allocations: 7.938 kB / 0.6235 GB, free: 7.602 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.5342, allocations: 12.5 kB / 0.6235 GB, free: 7.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005482/0.5347, allocations: 111.9 kB / 0.6236 GB, free: 7.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003935/0.5351, allocations: 0.6063 MB / 0.6242 GB, free: 6.852 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005087/0.5356, allocations: 75.2 kB / 0.6243 GB, free: 6.777 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.146e-05/0.5357, allocations: 20 kB / 0.6243 GB, free: 6.758 MB / 446.1 MB Warning: Assuming fixed start value for the following 1 variables: ConstantSpeed1.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (48): * Single equations (assignments): 47 * 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.0003967/0.5361, allocations: 258.9 kB / 0.6246 GB, free: 6.496 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.5362, allocations: 75.06 kB / 0.6246 GB, free: 6.422 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004108/0.5367, allocations: 226.1 kB / 0.6248 GB, free: 6.195 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.5367, allocations: 3.938 kB / 0.6248 GB, free: 6.191 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.5367, allocations: 0 / 0.6248 GB, free: 6.191 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.5367, allocations: 0 / 0.6248 GB, free: 6.191 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001259/0.538, allocations: 0.8089 MB / 0.6256 GB, free: 5.316 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.538, allocations: 0 / 0.6256 GB, free: 5.316 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002437/0.5382, allocations: 43.91 kB / 0.6257 GB, free: 5.273 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.5383, allocations: 4 kB / 0.6257 GB, free: 5.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.5383, allocations: 7.984 kB / 0.6257 GB, free: 5.262 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000434/0.5387, allocations: 0.5978 MB / 0.6263 GB, free: 4.641 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/0.5387, allocations: 5.516 kB / 0.6263 GB, free: 4.637 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005002/0.5392, allocations: 381.7 kB / 0.6266 GB, free: 4.238 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002012/0.5395, allocations: 168.2 kB / 0.6268 GB, free: 4.055 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.059e-05/0.5395, allocations: 4.156 kB / 0.6268 GB, free: 4.051 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004265/0.54, allocations: 31.88 kB / 0.6268 GB, free: 4.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.925e-05/0.54, allocations: 7.984 kB / 0.6268 GB, free: 4.012 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.093e-05/0.5401, allocations: 20.86 kB / 0.6269 GB, free: 3.992 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008351/0.5409, allocations: 0.6942 MB / 0.6275 GB, free: 3.305 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5409, allocations: 0 / 0.6275 GB, free: 3.305 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007927/0.5417, allocations: 211.8 kB / 0.6277 GB, free: 3.098 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (ConstantSpeed1.phi) * 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 (16): * Single equations (assignments): 15 * 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.00138/0.5431, allocations: 0.5494 MB / 0.6283 GB, free: 2.551 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005849/0.5437, allocations: 244.6 kB / 0.6285 GB, free: 2.312 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.5437, allocations: 4.312 kB / 0.6285 GB, free: 2.309 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000145/0.5439, allocations: 71.91 kB / 0.6286 GB, free: 2.238 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/0.5453, allocations: 314.8 kB / 0.6289 GB, free: 1.926 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001839/0.5472, allocations: 1.377 MB / 0.6302 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00045/0.5476, allocations: 0.9174 MB / 0.6311 GB, free: 15.57 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004535/0.5481, allocations: 137.6 kB / 0.6313 GB, free: 15.43 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.5482, allocations: 59.38 kB / 0.6313 GB, free: 15.37 MB / 462.1 MB Notification: Performance of SimCode: time 3.91e-07/0.5482, allocations: 3.938 kB / 0.6313 GB, free: 15.37 MB / 462.1 MB Notification: Performance of Templates: time 0.02196/0.5702, allocations: 14.32 MB / 0.6453 GB, free: 1.02 MB / 462.1 MB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.makefile (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe 2>&1)