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.0009959/0.0009959, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001674/0.001674, allocations: 169.9 kB / 25.61 MB, free: 8.902 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.9528/0.9528, allocations: 158.6 MB / 187.5 MB, free: 2.828 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.1856/0.1856, allocations: 36.34 MB / 276.2 MB, free: 14.36 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.683e-06/1.683e-06, allocations: 0 / 355 MB, free: 62.67 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.686e-05/1.854e-05, allocations: 4.781 kB / 355 MB, free: 62.67 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.1223/0.1223, allocations: 143.6 MB / 498.7 MB, free: 6.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004028/0.1264, allocations: 3.532 MB / 0.4904 GB, free: 3.215 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000337/0.1267, allocations: 19.81 kB / 0.4904 GB, free: 3.195 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005142/0.1272, allocations: 142.9 kB / 0.4906 GB, free: 3.055 MB / 410.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.0007905/0.128, allocations: 0.501 MB / 0.4911 GB, free: 2.551 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002857/0.1308, allocations: 1.449 MB / 0.4925 GB, free: 1.098 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001366/0.1322, allocations: 1.237 MB / 0.4937 GB, free: 15.86 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005525/0.1328, allocations: 339.2 kB / 0.494 GB, free: 15.53 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001008/0.1338, allocations: 0.7795 MB / 0.4948 GB, free: 14.75 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004798/0.1343, allocations: 350.9 kB / 0.4951 GB, free: 14.41 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.855e-05/0.1343, allocations: 52 kB / 0.4952 GB, free: 14.36 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001933/0.1363, allocations: 1.068 MB / 0.4962 GB, free: 13.29 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002953/0.1366, allocations: 383 kB / 0.4966 GB, free: 12.91 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002513/0.1368, allocations: 299.3 kB / 0.4969 GB, free: 12.62 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001852/0.1387, allocations: 1.422 MB / 0.4982 GB, free: 11.19 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1387, allocations: 0 / 0.4982 GB, free: 11.19 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1387, allocations: 0 / 0.4982 GB, free: 11.19 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.505e-05/0.1387, allocations: 0 / 0.4982 GB, free: 11.19 MB / 426.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.001486/0.1402, allocations: 1.315 MB / 0.4995 GB, free: 9.832 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.1402, allocations: 8.031 kB / 0.4995 GB, free: 9.824 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005678/0.1408, allocations: 239.8 kB / 0.4998 GB, free: 9.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000543/0.1413, allocations: 0.4933 MB / 0.5002 GB, free: 9.066 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.803e-05/0.1414, allocations: 41.38 kB / 0.5003 GB, free: 9.027 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.679e-05/0.1414, allocations: 64.11 kB / 0.5003 GB, free: 8.965 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005518/0.142, allocations: 0.812 MB / 0.5011 GB, free: 8.035 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.142, allocations: 0 / 0.5011 GB, free: 8.035 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.243e-05/0.142, allocations: 27.98 kB / 0.5012 GB, free: 8.008 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.142, allocations: 12 kB / 0.5012 GB, free: 7.996 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002094/0.1423, allocations: 170.8 kB / 0.5013 GB, free: 7.828 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00209/0.1443, allocations: 1.439 MB / 0.5027 GB, free: 6.355 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.1445, allocations: 91.11 kB / 0.5028 GB, free: 6.254 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.375e-05/0.1445, allocations: 27.67 kB / 0.5029 GB, free: 6.223 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000134/0.1447, allocations: 48.45 kB / 0.5029 GB, free: 6.176 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.1447, allocations: 41.33 kB / 0.5029 GB, free: 6.125 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.452e-06/0.1447, allocations: 0 / 0.5029 GB, free: 6.125 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002658/0.1449, allocations: 186.1 kB / 0.5031 GB, free: 5.938 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/0.145, allocations: 51.41 kB / 0.5032 GB, free: 5.875 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005223/0.1455, allocations: 0.7878 MB / 0.5039 GB, free: 5.07 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.1455, allocations: 37.7 kB / 0.504 GB, free: 5.027 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002662/0.1458, allocations: 0.5373 MB / 0.5045 GB, free: 4.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.1458, allocations: 55.52 kB / 0.5046 GB, free: 4.426 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.054e-05/0.1459, allocations: 91.64 kB / 0.5046 GB, free: 4.328 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.146, allocations: 0.5003 MB / 0.5051 GB, free: 3.82 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.265e-05/0.1461, allocations: 57.48 kB / 0.5052 GB, free: 3.758 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.1462, allocations: 242.5 kB / 0.5054 GB, free: 3.438 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/0.1464, allocations: 289.5 kB / 0.5057 GB, free: 3.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1465, allocations: 0 / 0.5057 GB, free: 3.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003358/0.1468, allocations: 327 kB / 0.506 GB, free: 2.746 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1468, allocations: 8.625 kB / 0.506 GB, free: 2.738 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.1468, allocations: 8.031 kB / 0.506 GB, free: 2.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.1468, allocations: 11.98 kB / 0.506 GB, free: 2.719 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002449/0.1471, allocations: 103.8 kB / 0.5061 GB, free: 2.617 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003151/0.1474, allocations: 0.9068 MB / 0.507 GB, free: 1.684 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001904/0.1476, allocations: 44.5 kB / 0.5071 GB, free: 1.641 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/0.1476, allocations: 20 kB / 0.5071 GB, free: 1.621 MB / 426.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.000186/0.1478, allocations: 185.2 kB / 0.5073 GB, free: 1.43 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.665e-05/0.1479, allocations: 83.47 kB / 0.5073 GB, free: 1.348 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000209/0.1481, allocations: 171.2 kB / 0.5075 GB, free: 1.172 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1481, allocations: 0 / 0.5075 GB, free: 1.172 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.1481, allocations: 2.938 kB / 0.5075 GB, free: 1.172 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1481, allocations: 0 / 0.5075 GB, free: 1.172 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003306/0.1484, allocations: 324.9 kB / 0.5078 GB, free: 0.8281 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1484, allocations: 0 / 0.5078 GB, free: 0.8281 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.1485, allocations: 51.95 kB / 0.5079 GB, free: 0.7773 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1485, allocations: 0 / 0.5079 GB, free: 0.7773 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.1486, allocations: 7.938 kB / 0.5079 GB, free: 0.7695 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1977/0.3462, allocations: 0.9037 MB / 0.5088 GB, free: 23.54 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.3462, allocations: 0 / 0.5088 GB, free: 23.54 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004528/0.3467, allocations: 326.4 kB / 0.5091 GB, free: 23.36 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.3468, allocations: 72.69 kB / 0.5091 GB, free: 23.36 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.437e-05/0.3468, allocations: 2.641 kB / 0.5091 GB, free: 23.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/0.347, allocations: 16.38 kB / 0.5091 GB, free: 23.36 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.31e-05/0.3471, allocations: 10.47 kB / 0.5092 GB, free: 23.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.87e-05/0.3471, allocations: 18.89 kB / 0.5092 GB, free: 23.36 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003227/0.3474, allocations: 471.1 kB / 0.5096 GB, free: 23.22 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3474, allocations: 0.5625 kB / 0.5096 GB, free: 23.22 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006041/0.348, allocations: 223.5 kB / 0.5098 GB, free: 23.22 MB / 426.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.001068/0.3491, allocations: 490.9 kB / 0.5103 GB, free: 23.04 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003174/0.3494, allocations: 158.8 kB / 0.5105 GB, free: 23.03 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.3494, allocations: 6.438 kB / 0.5105 GB, free: 23.03 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.894e-05/0.3495, allocations: 56.89 kB / 0.5105 GB, free: 23.01 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005458/0.35, allocations: 181.6 kB / 0.5107 GB, free: 23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.3517, allocations: 1.239 MB / 0.5119 GB, free: 22.42 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.3519, allocations: 186.5 kB / 0.5121 GB, free: 22.35 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000242/0.3521, allocations: 90.66 kB / 0.5122 GB, free: 22.33 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003785/0.3525, allocations: 291.3 kB / 0.5124 GB, free: 22.26 MB / 426.7 MB Notification: Performance of SimCode: time 1.232e-06/0.3525, allocations: 0 / 0.5124 GB, free: 22.26 MB / 426.7 MB Notification: Performance of Templates: time 0.01482/0.3673, allocations: 11.5 MB / 0.5237 GB, free: 21.09 MB / 426.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.8461671150289476]