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.001622/0.001622, allocations: 113.7 kB / 17.74 MB, free: 5.336 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.001872/0.001872, allocations: 189.6 kB / 18.67 MB, free: 4.41 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.591/1.591, 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.3166/0.3166, allocations: 48.84 MB / 320.7 MB, free: 11.01 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.0015/0.0015, allocations: 75.88 kB / 451.2 MB, free: 8.559 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1277, allocations: 59.16 MB / 0.4984 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.5125/0.6402, allocations: 170.6 MB / 0.6649 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005558/0.6458, allocations: 3.805 MB / 0.6687 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005657/0.6464, allocations: 11.94 kB / 0.6687 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001/0.6475, allocations: 266.4 kB / 0.6689 GB, free: 11.61 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.001265/0.6488, allocations: 493.5 kB / 0.6694 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00427/0.6531, allocations: 1.549 MB / 0.6709 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001799/0.6549, allocations: 1.241 MB / 0.6721 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007481/0.6556, allocations: 373.6 kB / 0.6725 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001043/0.6567, allocations: 494.3 kB / 0.6729 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008523/0.6575, allocations: 450.4 kB / 0.6734 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001821/0.6577, allocations: 60 kB / 0.6734 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003399/0.6612, allocations: 1.427 MB / 0.6748 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004402/0.6616, allocations: 383 kB / 0.6752 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007775/0.6624, allocations: 449.7 kB / 0.6756 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003339/0.6657, allocations: 1.722 MB / 0.6773 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.6658, allocations: 0 / 0.6773 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.054e-06/0.6658, allocations: 0 / 0.6773 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.86e-05/0.6658, allocations: 0 / 0.6773 GB, free: 3.008 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.003139/0.669, allocations: 1.262 MB / 0.6785 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.669, allocations: 11.89 kB / 0.6785 GB, free: 1.68 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008312/0.6699, allocations: 166.6 kB / 0.6787 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/0.6711, allocations: 0.643 MB / 0.6793 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.676e-05/0.6711, allocations: 37 kB / 0.6794 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.6712, allocations: 51.94 kB / 0.6794 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001193/0.6724, allocations: 0.5996 MB / 0.68 GB, free: 140 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.6725, allocations: 7.922 kB / 0.68 GB, free: 132 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.145e-05/0.6726, allocations: 31.94 kB / 0.68 GB, free: 100 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.604e-05/0.6726, allocations: 12 kB / 0.68 GB, free: 88 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000779/0.6734, allocations: 459.8 kB / 0.6805 GB, free: 15.63 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.004229/0.6776, allocations: 2.329 MB / 0.6828 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002683/0.6779, allocations: 146.6 kB / 0.6829 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.878e-05/0.678, allocations: 52.84 kB / 0.683 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002767/0.6783, allocations: 125 kB / 0.6831 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.48e-05/0.6783, allocations: 38.56 kB / 0.6831 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 5.56e-06/0.6784, allocations: 4 kB / 0.6831 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0005844/0.679, allocations: 252.8 kB / 0.6834 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.679, allocations: 55.41 kB / 0.6834 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001734/0.6807, allocations: 1.324 MB / 0.6847 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.636e-05/0.6808, allocations: 29.7 kB / 0.6847 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003675/0.6812, allocations: 455.1 kB / 0.6852 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.19e-05/0.6813, allocations: 63.17 kB / 0.6852 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.6814, allocations: 85.97 kB / 0.6853 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.6816, allocations: 325.9 kB / 0.6856 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002102/0.6818, allocations: 130.6 kB / 0.6857 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002866/0.6821, allocations: 249.4 kB / 0.686 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004535/0.6825, allocations: 328.9 kB / 0.6863 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.6826, allocations: 4 kB / 0.6863 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008265/0.6834, allocations: 475.9 kB / 0.6867 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.6834, allocations: 11.91 kB / 0.6868 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.6834, allocations: 4 kB / 0.6868 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/0.6835, allocations: 8 kB / 0.6868 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000471/0.6839, allocations: 109.3 kB / 0.6869 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004353/0.6844, allocations: 0.606 MB / 0.6875 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005049/0.6849, allocations: 71.14 kB / 0.6875 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.365e-05/0.685, allocations: 31.92 kB / 0.6876 GB, free: 7.961 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.0004321/0.6854, allocations: 285.7 kB / 0.6878 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001787/0.6856, allocations: 94.81 kB / 0.6879 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004309/0.686, allocations: 247.2 kB / 0.6882 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.686, allocations: 0 / 0.6882 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.6861, allocations: 3.984 kB / 0.6882 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.6861, allocations: 96 / 0.6882 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007289/0.6868, allocations: 0.5496 MB / 0.6887 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.6868, allocations: 0 / 0.6887 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002284/0.687, allocations: 51.91 kB / 0.6888 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.922e-06/0.6871, allocations: 7.922 kB / 0.6888 GB, free: 6.668 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.6871, allocations: 0 / 0.6888 GB, free: 6.668 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003553/0.6874, allocations: 0.6016 MB / 0.6893 GB, free: 6.043 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.6875, allocations: 3.938 kB / 0.6894 GB, free: 6.043 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005029/0.688, allocations: 378.6 kB / 0.6897 GB, free: 5.656 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002598/0.6882, allocations: 188 kB / 0.6899 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.6884, allocations: 7.984 kB / 0.6899 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004193/0.6888, allocations: 16.14 kB / 0.6899 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/0.6888, allocations: 11.98 kB / 0.6899 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-05/0.6889, allocations: 15.98 kB / 0.6899 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001168/0.6901, allocations: 0.9381 MB / 0.6909 GB, free: 4.453 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6901, allocations: 0 / 0.6909 GB, free: 4.453 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007617/0.6908, allocations: 223.8 kB / 0.6911 GB, free: 4.234 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.001433/0.6923, allocations: 0.5445 MB / 0.6916 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005334/0.6928, allocations: 239.8 kB / 0.6918 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.6928, allocations: 1.062 kB / 0.6918 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.693, allocations: 67.91 kB / 0.6919 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001557/0.6946, allocations: 327.8 kB / 0.6922 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002403/0.697, allocations: 1.555 MB / 0.6937 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005952/0.6976, allocations: 0.984 MB / 0.6947 GB, free: 472 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001791/0.6978, allocations: 67.42 kB / 0.6948 GB, free: 404 kB / 0.5294 GB Notification: Performance of SimCode: time 3.01e-07/0.6978, allocations: 0 / 0.6948 GB, free: 404 kB / 0.5294 GB Notification: Performance of Templates: time 0.02537/0.7231, allocations: 17.04 MB / 0.7114 GB, free: 15.32 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)