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.7 kB / 17.07 MB, free: 5.973 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.001242/0.001242, allocations: 198.8 kB / 18 MB, free: 5.059 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.415/1.415, allocations: 205.1 MB / 223.9 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2584/0.2584, allocations: 48.85 MB / 320.1 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.001445/0.001445, allocations: 67.89 kB / 450.5 MB, free: 8.559 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.116, allocations: 59.15 MB / 0.4977 GB, free: 13.28 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.4859/0.6019, allocations: 170.6 MB / 0.6643 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005987/0.608, allocations: 3.798 MB / 0.668 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000479/0.6085, allocations: 11.94 kB / 0.668 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009224/0.6095, allocations: 278.2 kB / 0.6683 GB, free: 11.62 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.001541/0.611, allocations: 0.4976 MB / 0.6687 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004485/0.6155, allocations: 1.557 MB / 0.6703 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001649/0.6172, allocations: 1.245 MB / 0.6715 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007093/0.6179, allocations: 377.6 kB / 0.6718 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009938/0.6189, allocations: 494.4 kB / 0.6723 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007331/0.6197, allocations: 446.4 kB / 0.6727 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000119/0.6198, allocations: 52 kB / 0.6728 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002999/0.6228, allocations: 1.427 MB / 0.6742 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003754/0.6232, allocations: 383 kB / 0.6746 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006331/0.6238, allocations: 457.7 kB / 0.675 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002966/0.6268, allocations: 1.73 MB / 0.6767 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.6268, allocations: 0 / 0.6767 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.314e-06/0.6268, allocations: 0 / 0.6767 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.729e-05/0.6269, allocations: 0 / 0.6767 GB, free: 2.992 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.003987/0.6309, allocations: 1.258 MB / 0.6779 GB, free: 1.68 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.173e-05/0.631, allocations: 11.89 kB / 0.6779 GB, free: 1.668 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/0.632, allocations: 155.3 kB / 0.6781 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001572/0.6336, allocations: 0.6508 MB / 0.6787 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.058e-05/0.6337, allocations: 37 kB / 0.6787 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.6338, allocations: 51.94 kB / 0.6788 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.635, allocations: 0.5995 MB / 0.6794 GB, free: 132 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.635, allocations: 7.938 kB / 0.6794 GB, free: 124 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.988e-05/0.6351, allocations: 27.94 kB / 0.6794 GB, free: 96 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.6351, allocations: 12 kB / 0.6794 GB, free: 84 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007593/0.6359, allocations: 469.1 kB / 0.6799 GB, free: 15.62 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.005086/0.641, allocations: 2.328 MB / 0.6821 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003321/0.6414, allocations: 134.6 kB / 0.6823 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.6415, allocations: 60.83 kB / 0.6823 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003257/0.6418, allocations: 125.1 kB / 0.6824 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.6419, allocations: 34.56 kB / 0.6825 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.954e-06/0.6419, allocations: 4 kB / 0.6825 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0006052/0.6425, allocations: 252.9 kB / 0.6827 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.6425, allocations: 55.41 kB / 0.6828 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001807/0.6444, allocations: 1.324 MB / 0.6841 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.238e-05/0.6444, allocations: 33.64 kB / 0.6841 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003955/0.6448, allocations: 463.1 kB / 0.6845 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.719e-05/0.6449, allocations: 55.2 kB / 0.6846 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.645, allocations: 81.97 kB / 0.6847 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.6452, allocations: 325.9 kB / 0.685 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/0.6454, allocations: 126.6 kB / 0.6851 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002998/0.6457, allocations: 241.5 kB / 0.6853 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000435/0.6462, allocations: 344.8 kB / 0.6857 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.6462, allocations: 0 / 0.6857 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009126/0.6471, allocations: 484.5 kB / 0.6861 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/0.6471, allocations: 11.91 kB / 0.6861 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.6472, allocations: 4 kB / 0.6861 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/0.6472, allocations: 9.062 kB / 0.6861 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004654/0.6477, allocations: 103.8 kB / 0.6862 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004053/0.6481, allocations: 0.6094 MB / 0.6868 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004636/0.6486, allocations: 67.2 kB / 0.6869 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.861e-05/0.6486, allocations: 24.16 kB / 0.6869 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.0004029/0.649, allocations: 301.5 kB / 0.6872 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001721/0.6492, allocations: 94.81 kB / 0.6873 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004235/0.6496, allocations: 234.4 kB / 0.6875 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.6496, allocations: 7.938 kB / 0.6875 GB, free: 7.316 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.6497, allocations: 0 / 0.6875 GB, free: 7.316 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.6497, allocations: 3.984 kB / 0.6875 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006996/0.6504, allocations: 0.5527 MB / 0.6881 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.6504, allocations: 0 / 0.6881 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002367/0.6506, allocations: 50.84 kB / 0.6881 GB, free: 6.664 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.004e-06/0.6506, allocations: 4 kB / 0.6881 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.6507, allocations: 7.984 kB / 0.6881 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003185/0.651, allocations: 0.59 MB / 0.6887 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.651, allocations: 0 / 0.6887 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004949/0.6515, allocations: 390.7 kB / 0.6891 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002365/0.6518, allocations: 188 kB / 0.6893 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.6519, allocations: 4 kB / 0.6893 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004134/0.6523, allocations: 19.97 kB / 0.6893 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.509e-05/0.6523, allocations: 4 kB / 0.6893 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.859e-05/0.6524, allocations: 19.97 kB / 0.6893 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001151/0.6535, allocations: 0.9421 MB / 0.6902 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6535, allocations: 0 / 0.6902 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007595/0.6543, allocations: 219.8 kB / 0.6904 GB, free: 4.223 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.001396/0.6557, allocations: 0.5348 MB / 0.691 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005305/0.6562, allocations: 251.8 kB / 0.6912 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6563, allocations: 0 / 0.6912 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.6564, allocations: 63.91 kB / 0.6913 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001602/0.658, allocations: 328.1 kB / 0.6916 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002267/0.6603, allocations: 1.51 MB / 0.6931 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006169/0.6609, allocations: 0.9958 MB / 0.694 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004885/0.6614, allocations: 170.5 kB / 0.6942 GB, free: 328 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/0.6616, allocations: 63.42 kB / 0.6942 GB, free: 264 kB / 0.5294 GB Notification: Performance of SimCode: time 2.51e-07/0.6616, allocations: 0 / 0.6942 GB, free: 264 kB / 0.5294 GB Notification: Performance of Templates: time 0.02781/0.6894, allocations: 15.9 MB / 0.7098 GB, free: 336 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)