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.0009513/0.0009513, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009575/0.0009575, allocations: 161 kB / 24.56 MB, free: 16 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 0.8777/0.8777, allocations: 158.6 MB / 186.4 MB, free: 2.922 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.1842/0.1842, allocations: 36.34 MB / 275.1 MB, free: 10.65 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.372e-06/1.372e-06, allocations: 0 / 353.8 MB, free: 3.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.708e-05/1.845e-05, allocations: 2.312 kB / 353.8 MB, free: 3.445 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.2838/0.2838, allocations: 146.4 MB / 0.4885 GB, free: 4.586 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003076/0.2869, allocations: 3.586 MB / 0.492 GB, free: 2.543 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002078/0.2871, allocations: 14.16 kB / 0.492 GB, free: 2.535 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004895/0.2876, allocations: 147.2 kB / 0.4921 GB, free: 2.426 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.0007094/0.2883, allocations: 0.4986 MB / 0.4926 GB, free: 2.094 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002278/0.2906, allocations: 1.447 MB / 0.494 GB, free: 1.066 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008695/0.2914, allocations: 1.234 MB / 0.4952 GB, free: 364 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003581/0.2918, allocations: 346.5 kB / 0.4956 GB, free: 116 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005853/0.2924, allocations: 0.6153 MB / 0.4962 GB, free: 15.75 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004211/0.2928, allocations: 431.2 kB / 0.4966 GB, free: 15.54 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.94e-05/0.2929, allocations: 54.22 kB / 0.4966 GB, free: 15.54 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001472/0.2943, allocations: 1.067 MB / 0.4977 GB, free: 15 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002423/0.2946, allocations: 400 kB / 0.498 GB, free: 14.75 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002214/0.2948, allocations: 307.2 kB / 0.4983 GB, free: 14.6 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001328/0.2961, allocations: 1.431 MB / 0.4997 GB, free: 13.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.2961, allocations: 0 / 0.4997 GB, free: 13.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.021e-06/0.2961, allocations: 0 / 0.4997 GB, free: 13.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.2961, allocations: 0 / 0.4997 GB, free: 13.32 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.00119/0.2973, allocations: 1.319 MB / 0.501 GB, free: 11.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.2974, allocations: 12.03 kB / 0.501 GB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004771/0.2978, allocations: 243.8 kB / 0.5013 GB, free: 11.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005069/0.2983, allocations: 0.5052 MB / 0.5018 GB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.2984, allocations: 37.38 kB / 0.5018 GB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.616e-05/0.2984, allocations: 56.38 kB / 0.5018 GB, free: 11.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006395/0.2991, allocations: 0.8522 MB / 0.5027 GB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.2991, allocations: 0 / 0.5027 GB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.892e-05/0.2991, allocations: 27.98 kB / 0.5027 GB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/0.2991, allocations: 12 kB / 0.5027 GB, free: 10.08 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002994/0.2994, allocations: 223.1 kB / 0.5029 GB, free: 9.859 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001944/0.3014, allocations: 1.618 MB / 0.5045 GB, free: 8.195 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.3015, allocations: 103.1 kB / 0.5046 GB, free: 8.082 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.467e-05/0.3016, allocations: 31.67 kB / 0.5046 GB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000122/0.3017, allocations: 47.95 kB / 0.5047 GB, free: 8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.3017, allocations: 45.39 kB / 0.5047 GB, free: 7.945 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.222e-06/0.3017, allocations: 0 / 0.5047 GB, free: 7.945 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002647/0.302, allocations: 185.4 kB / 0.5049 GB, free: 7.758 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.302, allocations: 59.41 kB / 0.505 GB, free: 7.688 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006339/0.3026, allocations: 0.8428 MB / 0.5058 GB, free: 6.828 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.3027, allocations: 33.64 kB / 0.5058 GB, free: 6.789 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002579/0.3029, allocations: 0.5257 MB / 0.5063 GB, free: 6.258 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.249e-05/0.303, allocations: 59.52 kB / 0.5064 GB, free: 6.199 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.22e-05/0.3031, allocations: 87.67 kB / 0.5065 GB, free: 6.105 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.3032, allocations: 0.4887 MB / 0.5069 GB, free: 5.609 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.3033, allocations: 69.5 kB / 0.507 GB, free: 5.539 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.3034, allocations: 238.7 kB / 0.5072 GB, free: 5.219 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002389/0.3037, allocations: 305.4 kB / 0.5075 GB, free: 4.836 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3037, allocations: 7.938 kB / 0.5075 GB, free: 4.828 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003904/0.3041, allocations: 364.6 kB / 0.5079 GB, free: 4.465 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.3041, allocations: 4 kB / 0.5079 GB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3041, allocations: 4 kB / 0.5079 GB, free: 4.457 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.3041, allocations: 11.94 kB / 0.5079 GB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002444/0.3043, allocations: 102.8 kB / 0.508 GB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002947/0.3046, allocations: 0.9054 MB / 0.5089 GB, free: 3.414 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001783/0.3048, allocations: 55.72 kB / 0.5089 GB, free: 3.359 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.868e-05/0.3048, allocations: 20 kB / 0.509 GB, free: 3.34 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.0001568/0.305, allocations: 184.4 kB / 0.5091 GB, free: 3.148 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.711e-05/0.3051, allocations: 87.42 kB / 0.5092 GB, free: 3.062 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002115/0.3053, allocations: 176.1 kB / 0.5094 GB, free: 2.879 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.3053, allocations: 4 kB / 0.5094 GB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.3053, allocations: 0 / 0.5094 GB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3053, allocations: 0 / 0.5094 GB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003949/0.3057, allocations: 464.4 kB / 0.5098 GB, free: 2.387 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3057, allocations: 0 / 0.5098 GB, free: 2.387 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.3058, allocations: 47.91 kB / 0.5099 GB, free: 2.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3058, allocations: 0 / 0.5099 GB, free: 2.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.3058, allocations: 4 kB / 0.5099 GB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002571/0.3061, allocations: 0.9049 MB / 0.5108 GB, free: 1.402 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.3061, allocations: 0 / 0.5108 GB, free: 1.402 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002553/0.3063, allocations: 348.7 kB / 0.5111 GB, free: 1.047 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.358e-05/0.3064, allocations: 91.44 kB / 0.5112 GB, free: 0.957 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.506e-05/0.3065, allocations: 4.094 kB / 0.5112 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.3066, allocations: 19.23 kB / 0.5112 GB, free: 0.9375 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.947e-05/0.3066, allocations: 7.984 kB / 0.5112 GB, free: 0.9297 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/0.3067, allocations: 23.97 kB / 0.5112 GB, free: 0.9062 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004002/0.3071, allocations: 0.5107 MB / 0.5117 GB, free: 412 kB / 378.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3071, allocations: 0 / 0.5117 GB, free: 412 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003935/0.3075, allocations: 227.5 kB / 0.512 GB, free: 184 kB / 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.0009007/0.3084, allocations: 497.9 kB / 0.5124 GB, free: 15.72 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002704/0.3086, allocations: 161.4 kB / 0.5126 GB, free: 15.56 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3086, allocations: 8.062 kB / 0.5126 GB, free: 15.55 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.737e-05/0.3087, allocations: 55.59 kB / 0.5126 GB, free: 15.49 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004934/0.3092, allocations: 185.9 kB / 0.5128 GB, free: 15.31 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.3106, allocations: 1.247 MB / 0.514 GB, free: 14.03 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.3107, allocations: 193.4 kB / 0.5142 GB, free: 13.82 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002008/0.311, allocations: 101 kB / 0.5143 GB, free: 13.72 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.896e-05/0.311, allocations: 52.48 kB / 0.5144 GB, free: 13.67 MB / 394.7 MB Notification: Performance of SimCode: time 9.92e-07/0.311, allocations: 0 / 0.5144 GB, free: 13.67 MB / 394.7 MB Notification: Performance of Templates: time 0.01228/0.3233, allocations: 10.91 MB / 0.525 GB, free: 2.746 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.651258531026542]