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.0008671/0.0008671, allocations: 80.31 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.0009148/0.0009148, allocations: 165.1 kB / 25.61 MB, free: 8.887 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.8845/0.8845, allocations: 158.6 MB / 187.5 MB, free: 2.773 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.1878/0.1878, 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.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.703e-06/1.703e-06, allocations: 0 / 355 MB, free: 62.63 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.784e-05/1.955e-05, allocations: 2.312 kB / 355 MB, free: 62.62 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.124/0.124, allocations: 143.7 MB / 498.8 MB, free: 6.605 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003814/0.1278, allocations: 3.486 MB / 0.4905 GB, free: 3.117 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003077/0.1281, allocations: 15.88 kB / 0.4905 GB, free: 3.102 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005278/0.1286, allocations: 138.9 kB / 0.4906 GB, free: 2.965 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.0007244/0.1294, allocations: 469.1 kB / 0.4911 GB, free: 2.504 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002886/0.1322, allocations: 1.374 MB / 0.4924 GB, free: 1.125 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001379/0.1336, allocations: 1.204 MB / 0.4936 GB, free: 15.92 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004726/0.1341, allocations: 327.1 kB / 0.4939 GB, free: 15.6 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007821/0.1349, allocations: 0.6821 MB / 0.4946 GB, free: 14.92 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004444/0.1353, allocations: 339 kB / 0.4949 GB, free: 14.59 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.484e-05/0.1354, allocations: 56 kB / 0.4949 GB, free: 14.53 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001765/0.1372, allocations: 1.072 MB / 0.496 GB, free: 13.46 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002457/0.1374, allocations: 323.2 kB / 0.4963 GB, free: 13.14 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002375/0.1377, allocations: 291.3 kB / 0.4966 GB, free: 12.86 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001653/0.1393, allocations: 1.35 MB / 0.4979 GB, free: 11.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1393, allocations: 0 / 0.4979 GB, free: 11.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.1393, allocations: 0 / 0.4979 GB, free: 11.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.1393, allocations: 4 kB / 0.4979 GB, free: 11.5 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001162/0.1405, allocations: 1.16 MB / 0.499 GB, free: 10.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.1405, allocations: 8.031 kB / 0.499 GB, free: 10.29 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005469/0.1411, allocations: 227.9 kB / 0.4993 GB, free: 10.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004981/0.1416, allocations: 421.3 kB / 0.4997 GB, free: 9.629 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.408e-05/0.1416, allocations: 37.69 kB / 0.4997 GB, free: 9.594 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.972e-05/0.1417, allocations: 60.12 kB / 0.4998 GB, free: 9.535 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006641/0.1423, allocations: 0.8206 MB / 0.5006 GB, free: 8.598 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.1424, allocations: 3.953 kB / 0.5006 GB, free: 8.594 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.741e-05/0.1424, allocations: 24 kB / 0.5006 GB, free: 8.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.1424, allocations: 16 kB / 0.5006 GB, free: 8.555 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002328/0.1427, allocations: 177 kB / 0.5008 GB, free: 8.383 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002247/0.1449, allocations: 1.459 MB / 0.5022 GB, free: 6.879 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.1451, allocations: 79.09 kB / 0.5023 GB, free: 6.789 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.551e-05/0.1451, allocations: 32.31 kB / 0.5023 GB, free: 6.754 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001583/0.1453, allocations: 47.97 kB / 0.5023 GB, free: 6.707 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.1453, allocations: 41.31 kB / 0.5024 GB, free: 6.656 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 1.904e-06/0.1453, allocations: 4 kB / 0.5024 GB, free: 6.652 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002772/0.1456, allocations: 162.2 kB / 0.5025 GB, free: 6.488 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.1456, allocations: 51.41 kB / 0.5026 GB, free: 6.426 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004386/0.146, allocations: 0.5957 MB / 0.5032 GB, free: 5.812 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.1461, allocations: 29.7 kB / 0.5032 GB, free: 5.777 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002603/0.1463, allocations: 470.2 kB / 0.5036 GB, free: 5.312 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.699e-05/0.1464, allocations: 63.47 kB / 0.5037 GB, free: 5.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.1465, allocations: 91.77 kB / 0.5038 GB, free: 5.152 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.1467, allocations: 0.5507 MB / 0.5043 GB, free: 4.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.749e-05/0.1467, allocations: 61.61 kB / 0.5044 GB, free: 4.523 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/0.1469, allocations: 250.3 kB / 0.5046 GB, free: 4.188 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002474/0.1472, allocations: 295.4 kB / 0.5049 GB, free: 3.812 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.1472, allocations: 0 / 0.5049 GB, free: 3.812 MB / 426.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003645/0.1475, allocations: 320.8 kB / 0.5052 GB, free: 3.492 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.1475, allocations: 7.938 kB / 0.5052 GB, free: 3.484 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.1476, allocations: 8.562 kB / 0.5052 GB, free: 3.477 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.1476, allocations: 4 kB / 0.5052 GB, free: 3.473 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002888/0.1479, allocations: 119.8 kB / 0.5054 GB, free: 3.355 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003722/0.1482, allocations: 0.9049 MB / 0.5062 GB, free: 2.422 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.1484, allocations: 39.67 kB / 0.5063 GB, free: 2.383 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.506e-05/0.1485, allocations: 19.98 kB / 0.5063 GB, free: 2.363 MB / 426.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.0001947/0.1487, allocations: 193 kB / 0.5065 GB, free: 2.164 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.889e-05/0.1487, allocations: 59.62 kB / 0.5065 GB, free: 2.105 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000213/0.1489, allocations: 151 kB / 0.5067 GB, free: 1.945 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1489, allocations: 0 / 0.5067 GB, free: 1.945 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.1489, allocations: 0 / 0.5067 GB, free: 1.945 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1489, allocations: 4 kB / 0.5067 GB, free: 1.941 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007098/0.1497, allocations: 0.7028 MB / 0.5074 GB, free: 1.184 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1497, allocations: 4 kB / 0.5074 GB, free: 1.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.1498, allocations: 39.97 kB / 0.5074 GB, free: 1.141 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.1498, allocations: 4 kB / 0.5074 GB, free: 1.137 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.1498, allocations: 0.875 kB / 0.5074 GB, free: 1.137 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003009/0.1501, allocations: 0.905 MB / 0.5083 GB, free: 208 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1501, allocations: 0 / 0.5083 GB, free: 208 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.19/0.3401, allocations: 351.1 kB / 0.5086 GB, free: 23.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.021e-05/0.3402, allocations: 51.56 kB / 0.5087 GB, free: 23.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.544e-05/0.3402, allocations: 8.078 kB / 0.5087 GB, free: 23.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.3404, allocations: 15.8 kB / 0.5087 GB, free: 23.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.384e-05/0.3405, allocations: 14.05 kB / 0.5087 GB, free: 23.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.779e-05/0.3405, allocations: 20.62 kB / 0.5087 GB, free: 23.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002325/0.3407, allocations: 356 kB / 0.5091 GB, free: 23.47 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3407, allocations: 0.5469 kB / 0.5091 GB, free: 23.47 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000583/0.3413, allocations: 224.6 kB / 0.5093 GB, free: 23.47 MB / 426.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.001038/0.3424, allocations: 494.9 kB / 0.5098 GB, free: 23.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003359/0.3427, allocations: 160 kB / 0.5099 GB, free: 23.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3427, allocations: 3.781 kB / 0.5099 GB, free: 23.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.521e-05/0.3428, allocations: 58.75 kB / 0.51 GB, free: 23.27 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005412/0.3433, allocations: 155.5 kB / 0.5101 GB, free: 23.26 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.3446, allocations: 1.006 MB / 0.5111 GB, free: 22.75 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.518e-05/0.3447, allocations: 159.2 kB / 0.5113 GB, free: 22.68 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002291/0.3449, allocations: 81.19 kB / 0.5113 GB, free: 22.67 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003756/0.3453, allocations: 277.1 kB / 0.5116 GB, free: 22.6 MB / 426.7 MB Notification: Performance of SimCode: time 1.042e-06/0.3453, allocations: 0.9375 kB / 0.5116 GB, free: 22.6 MB / 426.7 MB Notification: Performance of Templates: time 0.0131/0.3584, allocations: 10.81 MB / 0.5222 GB, free: 21.51 MB / 426.7 MB " [Timeout remaining time 659] 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=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6415913361124694]