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.002169/0.002169, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.00252/0.00252, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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 1.358/1.358, allocations: 158.6 MB / 186.1 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] 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.2952/0.2952, allocations: 36.35 MB / 274.7 MB, free: 10.72 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.543e-06/1.543e-06, allocations: 0 / 353 MB, free: 3.812 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.836e-05/2.991e-05, allocations: 5.688 kB / 353 MB, free: 3.809 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.3225/0.3226, allocations: 147.4 MB / 0.4887 GB, free: 1.461 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004924/0.3275, allocations: 3.505 MB / 0.4921 GB, free: 14.72 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003342/0.3278, allocations: 9.125 kB / 0.4922 GB, free: 14.72 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008971/0.3287, allocations: 259.4 kB / 0.4924 GB, free: 14.51 MB / 378.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.001064/0.3298, allocations: 0.5088 MB / 0.4929 GB, free: 14.11 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003934/0.3337, allocations: 1.59 MB / 0.4945 GB, free: 12.97 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001469/0.3352, allocations: 1.26 MB / 0.4957 GB, free: 12.25 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007776/0.336, allocations: 342.1 kB / 0.496 GB, free: 12 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009355/0.3369, allocations: 0.6474 MB / 0.4966 GB, free: 11.62 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005866/0.3375, allocations: 423 kB / 0.497 GB, free: 11.41 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.186e-05/0.3376, allocations: 55.84 kB / 0.4971 GB, free: 11.41 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002904/0.3405, allocations: 1.251 MB / 0.4983 GB, free: 10.24 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004254/0.3409, allocations: 391 kB / 0.4987 GB, free: 9.855 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004204/0.3413, allocations: 311.2 kB / 0.499 GB, free: 9.551 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002598/0.3439, allocations: 1.804 MB / 0.5008 GB, free: 7.742 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.3439, allocations: 0 / 0.5008 GB, free: 7.742 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3439, allocations: 0 / 0.5008 GB, free: 7.742 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.344, allocations: 3.938 kB / 0.5008 GB, free: 7.738 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.002152/0.3461, allocations: 1.215 MB / 0.5019 GB, free: 6.484 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.3461, allocations: 8.031 kB / 0.5019 GB, free: 6.477 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008899/0.347, allocations: 242.8 kB / 0.5022 GB, free: 6.238 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.3481, allocations: 0.6072 MB / 0.5028 GB, free: 5.605 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.458e-05/0.3481, allocations: 37 kB / 0.5028 GB, free: 5.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.3482, allocations: 56 kB / 0.5029 GB, free: 5.516 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001684/0.3499, allocations: 1.034 MB / 0.5039 GB, free: 4.363 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.3499, allocations: 4 kB / 0.5039 GB, free: 4.359 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.682e-05/0.35, allocations: 20 kB / 0.5039 GB, free: 4.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.35, allocations: 12 kB / 0.5039 GB, free: 4.328 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008146/0.3508, allocations: 467.7 kB / 0.5044 GB, free: 3.871 MB / 378.7 MB 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.004047/0.3549, allocations: 1.627 MB / 0.5059 GB, free: 2.207 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003212/0.3552, allocations: 130.6 kB / 0.5061 GB, free: 2.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.3553, allocations: 48.83 kB / 0.5061 GB, free: 2.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002638/0.3556, allocations: 52.2 kB / 0.5062 GB, free: 1.969 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.656e-05/0.3556, allocations: 38.56 kB / 0.5062 GB, free: 1.922 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/0.3556, allocations: 0 / 0.5062 GB, free: 1.922 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005917/0.3562, allocations: 246.2 kB / 0.5064 GB, free: 1.676 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.3563, allocations: 55.41 kB / 0.5065 GB, free: 1.609 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001548/0.3578, allocations: 1.102 MB / 0.5076 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.435e-05/0.3579, allocations: 33.7 kB / 0.5076 GB, free: 468 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004754/0.3583, allocations: 475.7 kB / 0.508 GB, free: 15.98 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.074e-05/0.3584, allocations: 59.52 kB / 0.5081 GB, free: 15.93 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.3586, allocations: 85.97 kB / 0.5082 GB, free: 15.84 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.3587, allocations: 318 kB / 0.5085 GB, free: 15.52 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000232/0.359, allocations: 126.7 kB / 0.5086 GB, free: 15.39 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004436/0.3594, allocations: 250 kB / 0.5088 GB, free: 15.09 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005126/0.3599, allocations: 340.6 kB / 0.5092 GB, free: 14.7 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/0.3599, allocations: 4 kB / 0.5092 GB, free: 14.69 MB / 394.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008577/0.3608, allocations: 480.9 kB / 0.5096 GB, free: 14.21 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.3608, allocations: 4 kB / 0.5096 GB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.3608, allocations: 8 kB / 0.5096 GB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.783e-05/0.3608, allocations: 7.938 kB / 0.5097 GB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005093/0.3614, allocations: 107.8 kB / 0.5098 GB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005279/0.3619, allocations: 0.6055 MB / 0.5104 GB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004102/0.3623, allocations: 55.61 kB / 0.5104 GB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003417/0.3626, allocations: 23.98 kB / 0.5104 GB, free: 13.38 MB / 394.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.0005047/0.3631, allocations: 293.9 kB / 0.5107 GB, free: 13.09 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001657/0.3633, allocations: 83.53 kB / 0.5108 GB, free: 13 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004675/0.3638, allocations: 226.5 kB / 0.511 GB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.3638, allocations: 7.938 kB / 0.511 GB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.3638, allocations: 0 / 0.511 GB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3638, allocations: 0 / 0.511 GB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007042/0.3645, allocations: 421 kB / 0.5114 GB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3645, allocations: 0 / 0.5114 GB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002544/0.3647, allocations: 43.97 kB / 0.5115 GB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/0.3648, allocations: 0 / 0.5115 GB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.3648, allocations: 4 kB / 0.5115 GB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004694/0.3652, allocations: 0.6015 MB / 0.512 GB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.3652, allocations: 2.938 kB / 0.512 GB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005653/0.3658, allocations: 371 kB / 0.5124 GB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002024/0.366, allocations: 91.48 kB / 0.5125 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.177e-05/0.3661, allocations: 4 kB / 0.5125 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003652/0.3664, allocations: 11.98 kB / 0.5125 GB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.3665, allocations: 20.12 kB / 0.5125 GB, free: 11.15 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.628e-05/0.3665, allocations: 11.98 kB / 0.5125 GB, free: 11.14 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001103/0.3676, allocations: 0.784 MB / 0.5133 GB, free: 10.36 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3676, allocations: 0 / 0.5133 GB, free: 10.36 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008055/0.3684, allocations: 247.3 kB / 0.5135 GB, free: 10.12 MB / 394.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.00227/0.3707, allocations: 0.5653 MB / 0.5141 GB, free: 9.578 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005531/0.3713, allocations: 219.7 kB / 0.5143 GB, free: 9.363 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.3713, allocations: 0 / 0.5143 GB, free: 9.363 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.3714, allocations: 59.97 kB / 0.5144 GB, free: 9.305 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009765/0.3724, allocations: 188.4 kB / 0.5145 GB, free: 9.121 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002467/0.3749, allocations: 1.443 MB / 0.5159 GB, free: 7.645 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005197/0.3754, allocations: 395.3 kB / 0.5163 GB, free: 7.23 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004283/0.3758, allocations: 132.9 kB / 0.5164 GB, free: 7.102 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.376, allocations: 56.48 kB / 0.5165 GB, free: 7.047 MB / 394.7 MB Notification: Performance of SimCode: time 6.81e-07/0.376, allocations: 0 / 0.5165 GB, free: 7.047 MB / 394.7 MB Notification: Performance of Templates: time 0.0246/0.4006, allocations: 11.55 MB / 0.5278 GB, free: 11.48 MB / 410.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=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.49868774600327]