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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008881/0.0008881, allocations: 81.88 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008986/0.0008986, allocations: 171.1 kB / 24.82 MB, free: 8.926 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9151/0.9151, allocations: 158.6 MB / 186.7 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.1782/0.1782, allocations: 36.34 MB / 275.4 MB, free: 10.47 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.GasComponents.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine") translateModel(ThermoPower.Test.GasComponents.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 354.2 MB, free: 3.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.11e-05/1.254e-05, allocations: 2.312 kB / 354.2 MB, free: 3.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.3513/0.3513, allocations: 143.6 MB / 497.9 MB, free: 6.25 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009672/0.361, allocations: 3.539 MB / 0.4897 GB, free: 4.207 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003543/0.3614, allocations: 9.5 kB / 0.4897 GB, free: 4.203 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004872/0.3619, allocations: 146.5 kB / 0.4898 GB, free: 4.094 MB / 362.7 MB [/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.006796/0.3686, allocations: 0.4951 MB / 0.4903 GB, free: 3.773 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002679/0.3713, allocations: 1.453 MB / 0.4917 GB, free: 2.984 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00372/0.375, allocations: 1.236 MB / 0.4929 GB, free: 2.273 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003965/0.3754, allocations: 342.9 kB / 0.4933 GB, free: 2.031 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008132/0.3763, allocations: 0.7743 MB / 0.494 GB, free: 1.621 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005088/0.3768, allocations: 343 kB / 0.4943 GB, free: 1.441 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.023e-05/0.3769, allocations: 52.84 kB / 0.4944 GB, free: 1.441 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002094/0.3789, allocations: 1.074 MB / 0.4954 GB, free: 0.8945 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003612/0.3793, allocations: 381.3 kB / 0.4958 GB, free: 0.6562 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003228/0.3796, allocations: 302.5 kB / 0.4961 GB, free: 0.5078 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002297/0.3819, allocations: 1.42 MB / 0.4975 GB, free: 15.14 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3819, allocations: 3.938 kB / 0.4975 GB, free: 15.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3819, allocations: 0 / 0.4975 GB, free: 15.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.3819, allocations: 0 / 0.4975 GB, free: 15.14 MB / 378.7 MB 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.001449/0.3834, allocations: 1.311 MB / 0.4988 GB, free: 13.78 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.3834, allocations: 8.031 kB / 0.4988 GB, free: 13.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006143/0.384, allocations: 239.7 kB / 0.499 GB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006361/0.3847, allocations: 0.5051 MB / 0.4995 GB, free: 13 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.437e-05/0.3847, allocations: 41.31 kB / 0.4995 GB, free: 12.96 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.102e-05/0.3848, allocations: 56.38 kB / 0.4996 GB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007042/0.3855, allocations: 0.8091 MB / 0.5004 GB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.3855, allocations: 3.984 kB / 0.5004 GB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.683e-05/0.3856, allocations: 24 kB / 0.5004 GB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.3856, allocations: 12 kB / 0.5004 GB, free: 11.94 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002695/0.3858, allocations: 166.8 kB / 0.5006 GB, free: 11.78 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002283/0.3881, allocations: 1.443 MB / 0.502 GB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.3883, allocations: 95.09 kB / 0.5021 GB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.397e-05/0.3883, allocations: 27.67 kB / 0.5021 GB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001532/0.3885, allocations: 44.02 kB / 0.5021 GB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.3885, allocations: 41.39 kB / 0.5022 GB, free: 10.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.623e-06/0.3885, allocations: 0 / 0.5022 GB, free: 10.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002916/0.3888, allocations: 186.1 kB / 0.5024 GB, free: 9.887 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/0.3888, allocations: 55.41 kB / 0.5024 GB, free: 9.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006856/0.3895, allocations: 0.784 MB / 0.5032 GB, free: 9.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.3895, allocations: 29.7 kB / 0.5032 GB, free: 8.984 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003273/0.3899, allocations: 0.545 MB / 0.5037 GB, free: 8.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.847e-05/0.3899, allocations: 55.52 kB / 0.5038 GB, free: 8.375 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.39, allocations: 87.64 kB / 0.5039 GB, free: 8.281 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.3901, allocations: 0.4925 MB / 0.5044 GB, free: 7.781 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.147e-05/0.3902, allocations: 65.47 kB / 0.5044 GB, free: 7.715 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001778/0.3904, allocations: 230.6 kB / 0.5046 GB, free: 7.402 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002725/0.3907, allocations: 292.8 kB / 0.5049 GB, free: 7.035 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.3907, allocations: 4 kB / 0.5049 GB, free: 7.031 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000451/0.3911, allocations: 336.8 kB / 0.5052 GB, free: 6.695 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.3911, allocations: 8 kB / 0.5053 GB, free: 6.688 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.3912, allocations: 4 kB / 0.5053 GB, free: 6.684 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.3912, allocations: 4 kB / 0.5053 GB, free: 6.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002971/0.3915, allocations: 111.8 kB / 0.5054 GB, free: 6.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003559/0.3918, allocations: 0.9088 MB / 0.5063 GB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/0.3921, allocations: 43.67 kB / 0.5063 GB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.68e-05/0.3921, allocations: 20.33 kB / 0.5063 GB, free: 5.57 MB / 378.7 MB 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.0002135/0.3923, allocations: 186.2 kB / 0.5065 GB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.842e-05/0.3924, allocations: 87.42 kB / 0.5066 GB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/0.3926, allocations: 159.9 kB / 0.5067 GB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3926, allocations: 7.984 kB / 0.5067 GB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.3926, allocations: 0 / 0.5067 GB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3927, allocations: 0 / 0.5067 GB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000425/0.3931, allocations: 328.9 kB / 0.507 GB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.3931, allocations: 0 / 0.507 GB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.3932, allocations: 51.97 kB / 0.5071 GB, free: 4.727 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.3932, allocations: 96 / 0.5071 GB, free: 4.727 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.3932, allocations: 11.91 kB / 0.5071 GB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003037/0.3936, allocations: 0.9049 MB / 0.508 GB, free: 3.781 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3936, allocations: 0 / 0.508 GB, free: 3.781 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002955/0.3939, allocations: 331.4 kB / 0.5083 GB, free: 3.438 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.616e-05/0.3939, allocations: 75.45 kB / 0.5084 GB, free: 3.363 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.279e-05/0.394, allocations: 4.922 kB / 0.5084 GB, free: 3.359 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.3942, allocations: 16.09 kB / 0.5084 GB, free: 3.344 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.128e-05/0.3942, allocations: 15.91 kB / 0.5084 GB, free: 3.328 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.848e-05/0.3942, allocations: 15.98 kB / 0.5084 GB, free: 3.312 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000373/0.3946, allocations: 462.8 kB / 0.5089 GB, free: 2.867 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3946, allocations: 0 / 0.5089 GB, free: 2.867 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006312/0.3952, allocations: 219.5 kB / 0.5091 GB, free: 2.652 MB / 378.7 MB 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.00109/0.3963, allocations: 496.5 kB / 0.5096 GB, free: 2.195 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002931/0.3966, allocations: 160.9 kB / 0.5097 GB, free: 2.035 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3966, allocations: 0 / 0.5097 GB, free: 2.035 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.746e-05/0.3967, allocations: 51.59 kB / 0.5098 GB, free: 1.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006589/0.3974, allocations: 187.2 kB / 0.5099 GB, free: 1.797 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/0.3992, allocations: 1.227 MB / 0.5111 GB, free: 0.5352 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000152/0.3994, allocations: 197.1 kB / 0.5113 GB, free: 328 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002711/0.3996, allocations: 92.48 kB / 0.5114 GB, free: 236 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005034/0.4001, allocations: 285.9 kB / 0.5117 GB, free: 15.95 MB / 394.7 MB Notification: Performance of SimCode: time 9.92e-07/0.4001, allocations: 0 / 0.5117 GB, free: 15.95 MB / 394.7 MB Notification: Performance of Templates: time 0.01511/0.4152, allocations: 11.38 MB / 0.5228 GB, free: 4.539 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.makefile [Timeout 660] (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=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.793334395624697]