Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.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.001406/0.001406, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001514/0.001514, 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.395/1.395, 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.3055/0.3055, allocations: 36.34 MB / 274.7 MB, free: 10.71 MB / 266.7 MB " [Timeout remaining time 179] 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.TestGasTurbineStodola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola") translateModel(ThermoPower.Test.GasComponents.TestGasTurbineStodola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 353 MB, free: 3.812 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.309e-05/2.442e-05, allocations: 5.688 kB / 353 MB, free: 3.809 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.3687/0.3687, allocations: 147.5 MB / 0.4888 GB, free: 1.395 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00538/0.3741, allocations: 3.466 MB / 0.4922 GB, free: 14.68 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005458/0.3746, allocations: 12.88 kB / 0.4922 GB, free: 14.68 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.3756, allocations: 255.7 kB / 0.4924 GB, free: 14.47 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.001228/0.3769, allocations: 471.8 kB / 0.4929 GB, free: 14.1 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004417/0.3813, allocations: 1.511 MB / 0.4944 GB, free: 13.01 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001639/0.3829, allocations: 1.229 MB / 0.4956 GB, free: 12.3 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005588/0.3835, allocations: 327.9 kB / 0.4959 GB, free: 12.07 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009718/0.3845, allocations: 0.6215 MB / 0.4965 GB, free: 11.7 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006594/0.3851, allocations: 384.1 kB / 0.4969 GB, free: 11.5 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.467e-05/0.3852, allocations: 56.88 kB / 0.4969 GB, free: 11.5 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003232/0.3884, allocations: 1.25 MB / 0.4981 GB, free: 10.42 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000413/0.3889, allocations: 339.1 kB / 0.4984 GB, free: 10.09 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004361/0.3893, allocations: 287.4 kB / 0.4987 GB, free: 9.809 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003285/0.3926, allocations: 1.706 MB / 0.5004 GB, free: 8.098 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.3926, allocations: 0 / 0.5004 GB, free: 8.098 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3926, allocations: 3.938 kB / 0.5004 GB, free: 8.094 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.433e-05/0.3926, allocations: 0 / 0.5004 GB, free: 8.094 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.002259/0.3949, allocations: 1.064 MB / 0.5014 GB, free: 6.992 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.3949, allocations: 11.97 kB / 0.5014 GB, free: 6.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008965/0.3958, allocations: 234.9 kB / 0.5017 GB, free: 6.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008426/0.3966, allocations: 475.3 kB / 0.5021 GB, free: 6.258 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.615e-05/0.3967, allocations: 37.31 kB / 0.5022 GB, free: 6.223 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.3968, allocations: 56 kB / 0.5022 GB, free: 6.168 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00147/0.3983, allocations: 1.043 MB / 0.5032 GB, free: 5.008 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.3983, allocations: 0 / 0.5032 GB, free: 5.008 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.875e-05/0.3984, allocations: 24 kB / 0.5033 GB, free: 4.984 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.3984, allocations: 12 kB / 0.5033 GB, free: 4.973 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008481/0.3992, allocations: 476.9 kB / 0.5037 GB, free: 4.508 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.004174/0.4034, allocations: 1.597 MB / 0.5053 GB, free: 2.863 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002819/0.4037, allocations: 122.6 kB / 0.5054 GB, free: 2.734 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.4038, allocations: 56.83 kB / 0.5054 GB, free: 2.676 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002525/0.4041, allocations: 47.91 kB / 0.5055 GB, free: 2.629 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/0.4041, allocations: 38.56 kB / 0.5055 GB, free: 2.582 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.4041, allocations: 4 kB / 0.5055 GB, free: 2.578 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005387/0.4046, allocations: 221.2 kB / 0.5057 GB, free: 2.355 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.208e-05/0.4047, allocations: 55.41 kB / 0.5058 GB, free: 2.289 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.4057, allocations: 0.7526 MB / 0.5065 GB, free: 1.527 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.527e-05/0.4058, allocations: 33.7 kB / 0.5066 GB, free: 1.488 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003756/0.4061, allocations: 407.5 kB / 0.507 GB, free: 1.086 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003393/0.4065, allocations: 63.52 kB / 0.507 GB, free: 1.023 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001533/0.4066, allocations: 82.14 kB / 0.5071 GB, free: 0.9375 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002391/0.4069, allocations: 362.8 kB / 0.5074 GB, free: 0.5742 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002376/0.4071, allocations: 130.7 kB / 0.5076 GB, free: 452 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003567/0.4075, allocations: 258.3 kB / 0.5078 GB, free: 128 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005529/0.408, allocations: 349.7 kB / 0.5081 GB, free: 15.72 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.408, allocations: 4 kB / 0.5081 GB, free: 15.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008601/0.4089, allocations: 472.6 kB / 0.5086 GB, free: 15.25 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.4089, allocations: 8 kB / 0.5086 GB, free: 15.24 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.4089, allocations: 4 kB / 0.5086 GB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.544e-05/0.4089, allocations: 8 kB / 0.5086 GB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005565/0.4095, allocations: 111.8 kB / 0.5087 GB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005338/0.41, allocations: 0.6137 MB / 0.5093 GB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000401/0.4104, allocations: 59.61 kB / 0.5094 GB, free: 14.42 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-05/0.4105, allocations: 20 kB / 0.5094 GB, free: 14.4 MB / 394.7 MB Warning: Assuming fixed start value for the following 1 variables: ConstantSpeed1.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Angle of flange with respect to support (= flange.phi - support.phi)\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (48): * Single equations (assignments): 47 * 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.0004162/0.4109, allocations: 242.5 kB / 0.5096 GB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.411, allocations: 59.67 kB / 0.5097 GB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004218/0.4114, allocations: 210.2 kB / 0.5099 GB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.4115, allocations: 4 kB / 0.5099 GB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.4115, allocations: 0 / 0.5099 GB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.4115, allocations: 4.094 kB / 0.5099 GB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/0.4127, allocations: 0.6652 MB / 0.5105 GB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.4127, allocations: 0 / 0.5105 GB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002366/0.4129, allocations: 43.97 kB / 0.5106 GB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.4129, allocations: 0 / 0.5106 GB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.383e-05/0.4129, allocations: 8 kB / 0.5106 GB, free: 13.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004639/0.4134, allocations: 0.6054 MB / 0.5112 GB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.4134, allocations: 0 / 0.5112 GB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005526/0.414, allocations: 377.6 kB / 0.5115 GB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.4141, allocations: 63.69 kB / 0.5116 GB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.742e-05/0.4142, allocations: 4 kB / 0.5116 GB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003684/0.4145, allocations: 22.92 kB / 0.5116 GB, free: 12 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.4146, allocations: 11.92 kB / 0.5116 GB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-05/0.4146, allocations: 23.97 kB / 0.5117 GB, free: 11.97 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006914/0.4153, allocations: 0.5144 MB / 0.5122 GB, free: 11.46 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4153, allocations: 0 / 0.5122 GB, free: 11.46 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008245/0.4161, allocations: 239.3 kB / 0.5124 GB, free: 11.22 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (ConstantSpeed1.phi) * 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 (16): * Single equations (assignments): 15 * 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.002299/0.4184, allocations: 0.5754 MB / 0.513 GB, free: 10.68 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006228/0.419, allocations: 232.7 kB / 0.5132 GB, free: 10.45 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.419, allocations: 8.062 kB / 0.5132 GB, free: 10.44 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.4192, allocations: 63.91 kB / 0.5133 GB, free: 10.38 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009767/0.4202, allocations: 162.4 kB / 0.5134 GB, free: 10.22 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00229/0.4225, allocations: 1.114 MB / 0.5145 GB, free: 9.066 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003995/0.4229, allocations: 324.9 kB / 0.5148 GB, free: 8.727 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003554/0.4232, allocations: 100.3 kB / 0.5149 GB, free: 8.629 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.4233, allocations: 40.5 kB / 0.5149 GB, free: 8.59 MB / 394.7 MB Notification: Performance of SimCode: time 9.62e-07/0.4233, allocations: 4 kB / 0.5149 GB, free: 8.586 MB / 394.7 MB Notification: Performance of Templates: time 0.02156/0.4449, allocations: 10.49 MB / 0.5252 GB, free: 14.07 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.679145869100466]