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.00128/0.00128, allocations: 113.9 kB / 17.06 MB, free: 6.004 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.001336/0.001336, allocations: 200 kB / 18 MB, free: 5.082 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.367/1.367, 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.2873/0.2873, allocations: 48.84 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.001422/0.001422, allocations: 71.89 kB / 450.5 MB, free: 8.566 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0998/0.1012, allocations: 59.16 MB / 0.4977 GB, free: 13.28 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.3992/0.5005, allocations: 170.6 MB / 0.6643 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005412/0.5059, allocations: 3.805 MB / 0.668 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004289/0.5064, allocations: 7.938 kB / 0.668 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000962/0.5074, allocations: 270.3 kB / 0.6683 GB, free: 11.58 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.001131/0.5086, allocations: 493.6 kB / 0.6687 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003782/0.5124, allocations: 1.553 MB / 0.6702 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001447/0.5138, allocations: 1.245 MB / 0.6715 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005763/0.5144, allocations: 373.6 kB / 0.6718 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007719/0.5152, allocations: 490.4 kB / 0.6723 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006395/0.5158, allocations: 446.4 kB / 0.6727 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000119/0.516, allocations: 59.98 kB / 0.6728 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002506/0.5185, allocations: 1.423 MB / 0.6742 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003434/0.5189, allocations: 387 kB / 0.6745 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005048/0.5194, allocations: 461.6 kB / 0.675 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002245/0.5216, allocations: 1.718 MB / 0.6766 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.5216, allocations: 0 / 0.6766 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5216, allocations: 7.938 kB / 0.6767 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.945e-05/0.5217, allocations: 0 / 0.6767 GB, free: 2.965 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.002093/0.5238, allocations: 1.25 MB / 0.6779 GB, free: 1.66 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.5238, allocations: 15.83 kB / 0.6779 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007362/0.5246, allocations: 162.7 kB / 0.678 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.5256, allocations: 0.6469 MB / 0.6787 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.3e-05/0.5257, allocations: 41.69 kB / 0.6787 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.421e-05/0.5257, allocations: 48 kB / 0.6788 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009458/0.5267, allocations: 0.6035 MB / 0.6794 GB, free: 100 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.5267, allocations: 0 / 0.6794 GB, free: 100 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.969e-05/0.5268, allocations: 31.94 kB / 0.6794 GB, free: 68 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.5268, allocations: 12 kB / 0.6794 GB, free: 56 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006968/0.5275, allocations: 463.8 kB / 0.6798 GB, free: 15.6 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.003956/0.5315, allocations: 2.332 MB / 0.6821 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002452/0.5317, allocations: 130.7 kB / 0.6822 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.414e-05/0.5318, allocations: 58.16 kB / 0.6823 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002555/0.5321, allocations: 121.1 kB / 0.6824 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.5321, allocations: 38.56 kB / 0.6824 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.754e-06/0.5321, allocations: 0 / 0.6824 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0004942/0.5326, allocations: 256.9 kB / 0.6827 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.5327, allocations: 51.41 kB / 0.6827 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001443/0.5341, allocations: 1.324 MB / 0.684 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.465e-05/0.5342, allocations: 29.7 kB / 0.6841 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003349/0.5346, allocations: 467.1 kB / 0.6845 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.305e-05/0.5346, allocations: 55.2 kB / 0.6846 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.5347, allocations: 81.97 kB / 0.6846 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.5349, allocations: 325.9 kB / 0.6849 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000202/0.5351, allocations: 134.5 kB / 0.6851 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002585/0.5353, allocations: 245.5 kB / 0.6853 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003968/0.5357, allocations: 332.8 kB / 0.6856 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.5357, allocations: 4 kB / 0.6856 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007417/0.5365, allocations: 476.1 kB / 0.6861 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.5365, allocations: 7.906 kB / 0.6861 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.5365, allocations: 15.92 kB / 0.6861 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.5366, allocations: 7.984 kB / 0.6861 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004449/0.537, allocations: 103.8 kB / 0.6862 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003464/0.5374, allocations: 0.6098 MB / 0.6868 GB, free: 8.031 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004347/0.5378, allocations: 76.06 kB / 0.6869 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.848e-05/0.5379, allocations: 20 kB / 0.6869 GB, free: 7.938 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.0003553/0.5382, allocations: 285.7 kB / 0.6872 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/0.5384, allocations: 94.81 kB / 0.6873 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003868/0.5388, allocations: 253.5 kB / 0.6875 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.5388, allocations: 0 / 0.6875 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.5388, allocations: 0.875 kB / 0.6875 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.5388, allocations: 4 kB / 0.6875 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006398/0.5395, allocations: 0.5488 MB / 0.688 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.5395, allocations: 0 / 0.688 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002328/0.5397, allocations: 51.91 kB / 0.6881 GB, free: 6.645 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.5397, allocations: 0 / 0.6881 GB, free: 6.645 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.5398, allocations: 11.81 kB / 0.6881 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002978/0.5401, allocations: 0.5938 MB / 0.6887 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5401, allocations: 0 / 0.6887 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004493/0.5405, allocations: 383.3 kB / 0.6891 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003291/0.5409, allocations: 196 kB / 0.6892 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.909e-05/0.541, allocations: 0 / 0.6892 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003995/0.5414, allocations: 19.92 kB / 0.6893 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.374e-05/0.5414, allocations: 12.14 kB / 0.6893 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.58e-05/0.5415, allocations: 19.98 kB / 0.6893 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00106/0.5425, allocations: 0.9381 MB / 0.6902 GB, free: 4.418 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5425, allocations: 0 / 0.6902 GB, free: 4.418 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00069/0.5432, allocations: 219.8 kB / 0.6904 GB, free: 4.203 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.00135/0.5446, allocations: 0.5363 MB / 0.6909 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004887/0.5451, allocations: 239.8 kB / 0.6912 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.5451, allocations: 4 kB / 0.6912 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.5452, allocations: 72.97 kB / 0.6912 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001516/0.5468, allocations: 331.9 kB / 0.6916 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002308/0.5491, allocations: 1.51 MB / 0.693 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005922/0.5497, allocations: 0.9841 MB / 0.694 GB, free: 492 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004645/0.5502, allocations: 178.5 kB / 0.6942 GB, free: 308 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.5503, allocations: 59.42 kB / 0.6942 GB, free: 248 kB / 0.5294 GB Notification: Performance of SimCode: time 6.21e-07/0.5503, allocations: 0 / 0.6942 GB, free: 248 kB / 0.5294 GB Notification: Performance of Templates: time 0.02625/0.5766, allocations: 16.16 MB / 0.71 GB, free: 56 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)