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.001737/0.001737, allocations: 106.9 kB / 17.74 MB, free: 5.363 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.002364/0.002365, allocations: 192.5 kB / 18.67 MB, free: 4.438 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.455/1.455, allocations: 205.1 MB / 224.5 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.2733/0.2733, allocations: 48.84 MB / 320.7 MB, free: 11.02 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.001716/0.001716, allocations: 67.89 kB / 451.2 MB, free: 8.582 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1196, allocations: 59.16 MB / 0.4984 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.5022/0.6218, allocations: 170.5 MB / 0.6649 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00611/0.628, allocations: 3.809 MB / 0.6687 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000607/0.6286, allocations: 7.938 kB / 0.6687 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.6298, allocations: 270.3 kB / 0.6689 GB, free: 11.77 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.001322/0.6312, allocations: 493.6 kB / 0.6694 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004391/0.6356, allocations: 1.553 MB / 0.6709 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001745/0.6373, allocations: 1.233 MB / 0.6721 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007028/0.6381, allocations: 381.6 kB / 0.6725 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009713/0.639, allocations: 498.3 kB / 0.6729 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007393/0.6398, allocations: 450.4 kB / 0.6734 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001732/0.64, allocations: 56 kB / 0.6734 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003276/0.6433, allocations: 1.419 MB / 0.6748 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000463/0.6437, allocations: 383 kB / 0.6752 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007952/0.6445, allocations: 457.7 kB / 0.6756 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003167/0.6477, allocations: 1.718 MB / 0.6773 GB, free: 3.172 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.6478, allocations: 4 kB / 0.6773 GB, free: 3.168 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.304e-06/0.6478, allocations: 0 / 0.6773 GB, free: 3.168 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.264e-05/0.6478, allocations: 4 kB / 0.6773 GB, free: 3.164 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.002447/0.6503, allocations: 1.262 MB / 0.6785 GB, free: 1.848 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.6503, allocations: 19.83 kB / 0.6786 GB, free: 1.828 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007867/0.6511, allocations: 154.7 kB / 0.6787 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009509/0.6521, allocations: 0.6431 MB / 0.6793 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.308e-05/0.6521, allocations: 38 kB / 0.6794 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.191e-05/0.6522, allocations: 52 kB / 0.6794 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.6532, allocations: 0.6035 MB / 0.68 GB, free: 300 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.6532, allocations: 0 / 0.68 GB, free: 300 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.065e-05/0.6533, allocations: 31.94 kB / 0.68 GB, free: 268 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.6533, allocations: 12 kB / 0.68 GB, free: 256 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007171/0.6541, allocations: 467.8 kB / 0.6805 GB, free: 15.79 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.003854/0.6579, allocations: 2.331 MB / 0.6828 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002452/0.6582, allocations: 134.6 kB / 0.6829 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.312e-05/0.6583, allocations: 48.84 kB / 0.6829 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002613/0.6585, allocations: 125.1 kB / 0.6831 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.6586, allocations: 42.56 kB / 0.6831 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.6586, allocations: 0 / 0.6831 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0005009/0.6591, allocations: 256.8 kB / 0.6833 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.6592, allocations: 51.41 kB / 0.6834 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001503/0.6607, allocations: 1.32 MB / 0.6847 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.716e-05/0.6607, allocations: 33.7 kB / 0.6847 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003751/0.6611, allocations: 463.1 kB / 0.6852 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.504e-05/0.6612, allocations: 55.19 kB / 0.6852 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.6613, allocations: 89.97 kB / 0.6853 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.6614, allocations: 321.9 kB / 0.6856 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/0.6617, allocations: 127.8 kB / 0.6857 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002792/0.6619, allocations: 249.4 kB / 0.686 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003898/0.6623, allocations: 332.9 kB / 0.6863 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.6624, allocations: 4 kB / 0.6863 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006997/0.6631, allocations: 484 kB / 0.6867 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.6631, allocations: 7.906 kB / 0.6868 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.6631, allocations: 8 kB / 0.6868 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.6631, allocations: 4.531 kB / 0.6868 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004371/0.6636, allocations: 103.9 kB / 0.6869 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003633/0.664, allocations: 0.6055 MB / 0.6875 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004227/0.6644, allocations: 79.19 kB / 0.6875 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.76e-05/0.6644, allocations: 24.88 kB / 0.6876 GB, free: 8.129 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.0003629/0.6648, allocations: 295.1 kB / 0.6878 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.665, allocations: 94.81 kB / 0.6879 GB, free: 7.738 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004016/0.6654, allocations: 249.4 kB / 0.6882 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.6654, allocations: 0 / 0.6882 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.6654, allocations: 0 / 0.6882 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.6654, allocations: 0 / 0.6882 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006373/0.666, allocations: 0.5535 MB / 0.6887 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.666, allocations: 0 / 0.6887 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002271/0.6663, allocations: 51.84 kB / 0.6888 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.6663, allocations: 0 / 0.6888 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.6663, allocations: 8 kB / 0.6888 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003008/0.6666, allocations: 0.5962 MB / 0.6893 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.6666, allocations: 0 / 0.6893 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004353/0.6671, allocations: 379.2 kB / 0.6897 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002235/0.6673, allocations: 192 kB / 0.6899 GB, free: 5.613 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.124e-05/0.6674, allocations: 8.156 kB / 0.6899 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003819/0.6678, allocations: 15.98 kB / 0.6899 GB, free: 5.59 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.159e-05/0.6678, allocations: 7.984 kB / 0.6899 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-05/0.6679, allocations: 15.98 kB / 0.6899 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001053/0.6689, allocations: 0.9381 MB / 0.6909 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.01e-07/0.6689, allocations: 0 / 0.6909 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007619/0.6697, allocations: 227.8 kB / 0.6911 GB, free: 4.395 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.001352/0.6711, allocations: 0.5392 MB / 0.6916 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005379/0.6716, allocations: 236.5 kB / 0.6918 GB, free: 3.621 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/0.6716, allocations: 4.312 kB / 0.6918 GB, free: 3.617 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.6718, allocations: 67.91 kB / 0.6919 GB, free: 3.551 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00151/0.6733, allocations: 335.8 kB / 0.6922 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002251/0.6756, allocations: 1.555 MB / 0.6937 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005327/0.6761, allocations: 0.9801 MB / 0.6947 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.6763, allocations: 71.42 kB / 0.6948 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of SimCode: time 8.72e-07/0.6763, allocations: 0 / 0.6948 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of Templates: time 0.02433/0.7006, allocations: 17.15 MB / 0.7115 GB, free: 15.37 MB / 0.5606 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)