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.0009158/0.0009158, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009615/0.0009615, allocations: 170.6 kB / 24.99 MB, free: 8.742 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.8062/0.8062, allocations: 158.6 MB / 186.8 MB, free: 2.871 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.1813/0.1813, allocations: 36.34 MB / 275.4 MB, free: 10.7 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.373e-06/1.373e-06, allocations: 0 / 353.8 MB, free: 3.773 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.205e-05/1.343e-05, allocations: 2.312 kB / 353.8 MB, free: 3.77 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.2836/0.2836, allocations: 163.6 MB / 0.5053 GB, free: 7.777 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00375/0.2874, allocations: 3.868 MB / 0.5091 GB, free: 3.902 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001815/0.2876, allocations: 11.94 kB / 0.5091 GB, free: 3.891 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005441/0.2881, allocations: 254.2 kB / 0.5093 GB, free: 3.641 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.0005551/0.2887, allocations: 0.505 MB / 0.5098 GB, free: 3.133 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00195/0.2906, allocations: 1.592 MB / 0.5114 GB, free: 1.535 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008631/0.2915, allocations: 1.255 MB / 0.5126 GB, free: 284 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003291/0.2918, allocations: 346.1 kB / 0.5129 GB, free: 15.94 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007741/0.2926, allocations: 0.6506 MB / 0.5136 GB, free: 15.29 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000347/0.2929, allocations: 430.8 kB / 0.514 GB, free: 14.86 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.78e-05/0.293, allocations: 52 kB / 0.514 GB, free: 14.81 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001205/0.2942, allocations: 1.243 MB / 0.5152 GB, free: 13.57 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000229/0.2944, allocations: 391 kB / 0.5156 GB, free: 13.18 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002156/0.2946, allocations: 311.3 kB / 0.5159 GB, free: 12.88 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0012/0.2958, allocations: 1.503 MB / 0.5174 GB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2958, allocations: 3.984 kB / 0.5174 GB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.2958, allocations: 0 / 0.5174 GB, free: 11.37 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.779e-06/0.2958, allocations: 0 / 0.5174 GB, free: 11.37 MB / 394.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.001124/0.297, allocations: 1.323 MB / 0.5187 GB, free: 10 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.297, allocations: 16.02 kB / 0.5187 GB, free: 9.984 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005004/0.2975, allocations: 242.8 kB / 0.5189 GB, free: 9.746 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005001/0.298, allocations: 0.5085 MB / 0.5194 GB, free: 9.211 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.298, allocations: 41 kB / 0.5194 GB, free: 9.172 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.463e-05/0.2981, allocations: 63.94 kB / 0.5195 GB, free: 9.109 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008701/0.299, allocations: 0.8444 MB / 0.5203 GB, free: 8.145 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.299, allocations: 0 / 0.5203 GB, free: 8.145 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.163e-05/0.299, allocations: 24 kB / 0.5204 GB, free: 8.121 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.299, allocations: 12 kB / 0.5204 GB, free: 8.109 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003144/0.2994, allocations: 217.8 kB / 0.5206 GB, free: 7.895 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001979/0.3013, allocations: 1.622 MB / 0.5222 GB, free: 6.227 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.3015, allocations: 98.94 kB / 0.5223 GB, free: 6.117 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.824e-05/0.3015, allocations: 31.81 kB / 0.5223 GB, free: 6.082 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000134/0.3017, allocations: 51.95 kB / 0.5223 GB, free: 6.031 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.3017, allocations: 41.39 kB / 0.5224 GB, free: 5.98 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.3017, allocations: 0 / 0.5224 GB, free: 5.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002946/0.302, allocations: 194.1 kB / 0.5226 GB, free: 5.785 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.302, allocations: 51.41 kB / 0.5226 GB, free: 5.723 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006595/0.3027, allocations: 0.8391 MB / 0.5234 GB, free: 4.867 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.3027, allocations: 29.7 kB / 0.5235 GB, free: 4.832 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002634/0.303, allocations: 0.5295 MB / 0.524 GB, free: 4.297 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.303, allocations: 55.58 kB / 0.524 GB, free: 4.242 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.889e-05/0.3031, allocations: 91.62 kB / 0.5241 GB, free: 4.145 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.3032, allocations: 0.4887 MB / 0.5246 GB, free: 3.648 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.3033, allocations: 73.5 kB / 0.5247 GB, free: 3.574 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.3035, allocations: 234.6 kB / 0.5249 GB, free: 3.258 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002469/0.3037, allocations: 305.4 kB / 0.5252 GB, free: 2.875 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3037, allocations: 4 kB / 0.5252 GB, free: 2.871 MB / 394.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004025/0.3041, allocations: 364 kB / 0.5255 GB, free: 2.512 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.3041, allocations: 8.094 kB / 0.5255 GB, free: 2.504 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.3041, allocations: 11.98 kB / 0.5255 GB, free: 2.492 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.3041, allocations: 4 kB / 0.5255 GB, free: 2.488 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002518/0.3044, allocations: 107.8 kB / 0.5256 GB, free: 2.383 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003027/0.3047, allocations: 0.9088 MB / 0.5265 GB, free: 1.445 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.3049, allocations: 51.61 kB / 0.5266 GB, free: 1.395 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.132e-05/0.3049, allocations: 20 kB / 0.5266 GB, free: 1.375 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.000172/0.3051, allocations: 196.4 kB / 0.5268 GB, free: 1.172 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000372/0.3055, allocations: 75.53 kB / 0.5269 GB, free: 1.098 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002261/0.3057, allocations: 173.8 kB / 0.527 GB, free: 0.918 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.3057, allocations: 0 / 0.527 GB, free: 0.918 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3057, allocations: 3.938 kB / 0.527 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.3057, allocations: 3.938 kB / 0.527 GB, free: 0.9102 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004114/0.3061, allocations: 464.3 kB / 0.5275 GB, free: 432 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3061, allocations: 0 / 0.5275 GB, free: 432 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.3062, allocations: 47.91 kB / 0.5275 GB, free: 384 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3062, allocations: 0 / 0.5275 GB, free: 384 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.3062, allocations: 12 kB / 0.5275 GB, free: 372 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002425/0.3065, allocations: 0.8971 MB / 0.5284 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3065, allocations: 0 / 0.5284 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002644/0.3068, allocations: 355.3 kB / 0.5288 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.809e-05/0.3068, allocations: 89.92 kB / 0.5288 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.044e-05/0.3069, allocations: 0 / 0.5288 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.3071, allocations: 19.98 kB / 0.5289 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.146e-05/0.3071, allocations: 7.984 kB / 0.5289 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.105e-05/0.3071, allocations: 20.08 kB / 0.5289 GB, free: 14.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004001/0.3075, allocations: 0.5184 MB / 0.5294 GB, free: 14.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3075, allocations: 0 / 0.5294 GB, free: 14.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004187/0.3079, allocations: 243.3 kB / 0.5296 GB, free: 14.19 MB / 410.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.0009786/0.3089, allocations: 0.5261 MB / 0.5301 GB, free: 13.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002797/0.3092, allocations: 169.3 kB / 0.5303 GB, free: 13.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.3092, allocations: 4 kB / 0.5303 GB, free: 13.51 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.291e-05/0.3092, allocations: 59.53 kB / 0.5304 GB, free: 13.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005116/0.3098, allocations: 182.3 kB / 0.5305 GB, free: 13.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.3112, allocations: 1.238 MB / 0.5317 GB, free: 12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.3113, allocations: 193.4 kB / 0.5319 GB, free: 11.79 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002049/0.3115, allocations: 104.9 kB / 0.532 GB, free: 11.69 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.322e-05/0.3116, allocations: 56.48 kB / 0.5321 GB, free: 11.63 MB / 410.7 MB Notification: Performance of SimCode: time 8.21e-07/0.3116, allocations: 0 / 0.5321 GB, free: 11.63 MB / 410.7 MB Notification: Performance of Templates: time 0.01287/0.3245, allocations: 11.54 MB / 0.5434 GB, free: 72 kB / 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=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4172130688093603]