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.001604/0.001604, allocations: 112 kB / 17.07 MB, free: 5.992 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.001855/0.001855, allocations: 198.8 kB / 18.01 MB, free: 5.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.439/1.439, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2864/0.2864, allocations: 48.85 MB / 320.1 MB, free: 11 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.001646/0.001646, allocations: 67.91 kB / 450.5 MB, free: 8.551 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1177, allocations: 59.16 MB / 0.4977 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.4146/0.5323, allocations: 170.5 MB / 0.6643 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005931/0.5383, allocations: 3.799 MB / 0.668 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005039/0.5388, allocations: 11.88 kB / 0.668 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009171/0.5398, allocations: 266.4 kB / 0.6683 GB, free: 11.59 MB / 0.5137 GB [/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.001071/0.5409, allocations: 497.5 kB / 0.6687 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00392/0.5448, allocations: 1.552 MB / 0.6703 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001683/0.5465, allocations: 1.241 MB / 0.6715 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005717/0.5471, allocations: 377.5 kB / 0.6718 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007593/0.5479, allocations: 486.4 kB / 0.6723 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005281/0.5484, allocations: 442.4 kB / 0.6727 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.86e-05/0.5485, allocations: 56 kB / 0.6728 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00324/0.5518, allocations: 1.423 MB / 0.6742 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004225/0.5522, allocations: 394.9 kB / 0.6745 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005782/0.5528, allocations: 453.7 kB / 0.675 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003295/0.5561, allocations: 1.724 MB / 0.6766 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.575e-06/0.5561, allocations: 0 / 0.6766 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5561, allocations: 3.938 kB / 0.6767 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.314e-05/0.5562, allocations: 0 / 0.6767 GB, free: 2.988 MB / 0.5137 GB 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.002149/0.5583, allocations: 1.295 MB / 0.6779 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.5584, allocations: 15.89 kB / 0.6779 GB, free: 1.621 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007294/0.5591, allocations: 163.2 kB / 0.6781 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009553/0.5601, allocations: 0.6593 MB / 0.6787 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.5601, allocations: 37 kB / 0.6788 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.252e-05/0.5602, allocations: 48 kB / 0.6788 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.5612, allocations: 0.6034 MB / 0.6794 GB, free: 68 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.5612, allocations: 0 / 0.6794 GB, free: 68 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.155e-05/0.5613, allocations: 27.94 kB / 0.6794 GB, free: 40 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/0.5613, allocations: 12 kB / 0.6794 GB, free: 28 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009225/0.5623, allocations: 467.8 kB / 0.6799 GB, free: 15.56 MB / 0.5294 GB 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.004183/0.5665, allocations: 2.34 MB / 0.6822 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002767/0.5667, allocations: 130.7 kB / 0.6823 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.394e-05/0.5668, allocations: 56.84 kB / 0.6823 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002665/0.5671, allocations: 121.1 kB / 0.6825 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.569e-05/0.5672, allocations: 42.5 kB / 0.6825 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.5672, allocations: 0 / 0.6825 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0005041/0.5677, allocations: 261.3 kB / 0.6828 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.5678, allocations: 55.41 kB / 0.6828 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001698/0.5695, allocations: 1.32 MB / 0.6841 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.721e-05/0.5695, allocations: 33.7 kB / 0.6841 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003625/0.5699, allocations: 467.8 kB / 0.6846 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.627e-05/0.57, allocations: 59.52 kB / 0.6846 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.5701, allocations: 82.02 kB / 0.6847 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.5702, allocations: 325.9 kB / 0.685 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002328/0.5705, allocations: 132.9 kB / 0.6851 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002854/0.5708, allocations: 245.5 kB / 0.6854 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005379/0.5713, allocations: 340.9 kB / 0.6857 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.5713, allocations: 0 / 0.6857 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007237/0.5721, allocations: 480.8 kB / 0.6862 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.5721, allocations: 11.91 kB / 0.6862 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/0.5721, allocations: 4 kB / 0.6862 GB, free: 8.723 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/0.5721, allocations: 11.98 kB / 0.6862 GB, free: 8.711 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004399/0.5726, allocations: 107.8 kB / 0.6863 GB, free: 8.605 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004526/0.573, allocations: 0.6057 MB / 0.6869 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004437/0.5735, allocations: 79.55 kB / 0.687 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.672e-05/0.5736, allocations: 23.92 kB / 0.687 GB, free: 7.875 MB / 0.5294 GB 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.0003964/0.574, allocations: 293.6 kB / 0.6873 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/0.5741, allocations: 99.33 kB / 0.6874 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004231/0.5745, allocations: 237.5 kB / 0.6876 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.5746, allocations: 4 kB / 0.6876 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.5746, allocations: 7.984 kB / 0.6876 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.5746, allocations: 0 / 0.6876 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006849/0.5753, allocations: 0.5488 MB / 0.6881 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-06/0.5753, allocations: 0.5625 kB / 0.6881 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002327/0.5755, allocations: 43.91 kB / 0.6882 GB, free: 6.586 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.5755, allocations: 3.984 kB / 0.6882 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.5756, allocations: 4.875 kB / 0.6882 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004631/0.576, allocations: 0.6016 MB / 0.6888 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.576, allocations: 4.031 kB / 0.6888 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004924/0.5765, allocations: 383.1 kB / 0.6891 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003148/0.5769, allocations: 196.5 kB / 0.6893 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.734e-05/0.577, allocations: 4 kB / 0.6893 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004038/0.5774, allocations: 15.98 kB / 0.6893 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.5774, allocations: 13.8 kB / 0.6894 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.648e-05/0.5775, allocations: 16.11 kB / 0.6894 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001256/0.5787, allocations: 0.942 MB / 0.6903 GB, free: 4.348 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5787, allocations: 4 kB / 0.6903 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000741/0.5795, allocations: 215.6 kB / 0.6905 GB, free: 4.133 MB / 0.5294 GB 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.001448/0.5809, allocations: 0.5431 MB / 0.691 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000502/0.5815, allocations: 239.8 kB / 0.6913 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.5815, allocations: 0 / 0.6913 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.5816, allocations: 63.97 kB / 0.6913 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/0.5831, allocations: 339.9 kB / 0.6916 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002466/0.5856, allocations: 1.543 MB / 0.6932 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007537/0.5863, allocations: 0.9847 MB / 0.6941 GB, free: 376 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000491/0.5868, allocations: 170.6 kB / 0.6943 GB, free: 200 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.587, allocations: 59.44 kB / 0.6943 GB, free: 140 kB / 0.5294 GB Notification: Performance of SimCode: time 9.92e-07/0.587, allocations: 4 kB / 0.6943 GB, free: 136 kB / 0.5294 GB Notification: Performance of Templates: time 0.02691/0.6139, allocations: 15.9 MB / 0.7099 GB, free: 208 kB / 0.545 GB 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)