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.001122/0.001122, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001269/0.001269, allocations: 172.7 kB / 24.91 MB, free: 9.148 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 1.028/1.028, allocations: 158.6 MB / 186.8 MB, free: 2.742 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.2111/0.2111, allocations: 36.34 MB / 275.4 MB, free: 10.54 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.242e-06/1.242e-06, allocations: 0 / 305.2 MB, free: 14.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.005e-05/3.129e-05, allocations: 2.859 kB / 305.2 MB, free: 14.03 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.1588/0.1589, allocations: 145.9 MB / 451.1 MB, free: 1.637 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006089/0.165, allocations: 3.552 MB / 454.7 MB, free: 14.08 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006335/0.1656, allocations: 15.88 kB / 454.7 MB, free: 14.06 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007461/0.1663, allocations: 146.9 kB / 454.8 MB, free: 13.92 MB / 426.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.001259/0.1676, allocations: 457.2 kB / 455.3 MB, free: 13.47 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004445/0.172, allocations: 1.347 MB / 456.6 MB, free: 12.12 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002472/0.1745, allocations: 1.199 MB / 457.8 MB, free: 10.91 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006015/0.1751, allocations: 330 kB / 458.2 MB, free: 10.58 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001001/0.1761, allocations: 0.6469 MB / 458.8 MB, free: 9.934 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004982/0.1766, allocations: 335 kB / 459.1 MB, free: 9.605 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.867e-05/0.1767, allocations: 56 kB / 459.2 MB, free: 9.551 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002178/0.1789, allocations: 1.099 MB / 460.3 MB, free: 8.449 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002501/0.1791, allocations: 327.2 kB / 460.6 MB, free: 8.129 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003476/0.1795, allocations: 283.4 kB / 460.9 MB, free: 7.852 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001867/0.1813, allocations: 1.348 MB / 462.2 MB, free: 6.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.1813, allocations: 0 / 462.2 MB, free: 6.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.1813, allocations: 4 kB / 462.2 MB, free: 6.496 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.1814, allocations: 4 kB / 462.2 MB, free: 6.492 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.001151/0.1825, allocations: 1.004 MB / 463.2 MB, free: 5.461 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.1825, allocations: 8.031 kB / 463.2 MB, free: 5.453 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005786/0.1831, allocations: 200.4 kB / 463.4 MB, free: 5.258 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004983/0.1836, allocations: 383.8 kB / 463.8 MB, free: 4.855 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.167e-05/0.1837, allocations: 37.69 kB / 463.9 MB, free: 4.82 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004126/0.1841, allocations: 68.06 kB / 463.9 MB, free: 4.754 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006228/0.1847, allocations: 0.8187 MB / 464.7 MB, free: 3.816 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.1847, allocations: 3.938 kB / 464.7 MB, free: 3.812 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.232e-05/0.1848, allocations: 28 kB / 464.8 MB, free: 3.785 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.1848, allocations: 16 kB / 464.8 MB, free: 3.77 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002066/0.185, allocations: 159.9 kB / 464.9 MB, free: 3.613 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001935/0.1869, allocations: 1.175 MB / 466.1 MB, free: 2.402 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.1871, allocations: 124.1 kB / 466.2 MB, free: 2.27 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.615e-05/0.1871, allocations: 20.84 kB / 466.3 MB, free: 2.246 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001628/0.1873, allocations: 43.98 kB / 466.3 MB, free: 2.203 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.1873, allocations: 46.48 kB / 466.3 MB, free: 2.148 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 2.635e-06/0.1873, allocations: 0 / 466.3 MB, free: 2.148 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002436/0.1875, allocations: 114.7 kB / 466.5 MB, free: 2.031 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.1876, allocations: 51.41 kB / 466.5 MB, free: 1.969 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004158/0.188, allocations: 0.524 MB / 467 MB, free: 1.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.188, allocations: 33.7 kB / 467.1 MB, free: 1.391 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001915/0.1882, allocations: 344.7 kB / 467.4 MB, free: 1.051 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.745e-05/0.1883, allocations: 55.52 kB / 467.5 MB, free: 0.9961 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.1884, allocations: 86.06 kB / 467.5 MB, free: 0.9062 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.1885, allocations: 374.6 kB / 467.9 MB, free: 0.5312 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.1886, allocations: 65.55 kB / 468 MB, free: 472 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.1888, allocations: 177.8 kB / 468.1 MB, free: 224 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2532/0.442, allocations: 259.1 kB / 468.4 MB, free: 20.33 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.596e-05/0.442, allocations: 0.9688 kB / 468.4 MB, free: 20.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000617/0.4426, allocations: 270.9 kB / 468.7 MB, free: 20.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.397e-05/0.4426, allocations: 14.41 kB / 468.7 MB, free: 20.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.4426, allocations: 5.844 kB / 468.7 MB, free: 20.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.188e-05/0.4427, allocations: 8.25 kB / 468.7 MB, free: 20.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006368/0.4433, allocations: 133.9 kB / 468.8 MB, free: 20.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003336/0.4437, allocations: 0.5951 MB / 469.4 MB, free: 19.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000239/0.4439, allocations: 45.67 kB / 469.5 MB, free: 19.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.411e-05/0.4439, allocations: 21.31 kB / 469.5 MB, free: 19.68 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.0003598/0.4443, allocations: 144.5 kB / 469.6 MB, free: 19.56 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.441e-05/0.4444, allocations: 44.97 kB / 469.7 MB, free: 19.56 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000291/0.4447, allocations: 128.2 kB / 469.8 MB, free: 19.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.4447, allocations: 1.219 kB / 469.8 MB, free: 19.52 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.4447, allocations: 4.406 kB / 469.8 MB, free: 19.52 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.4447, allocations: 1.312 kB / 469.8 MB, free: 19.52 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009609/0.4457, allocations: 0.5811 MB / 470.4 MB, free: 19.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.4457, allocations: 1.188 kB / 470.4 MB, free: 19.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/0.4459, allocations: 53.53 kB / 470.4 MB, free: 19.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.4459, allocations: 2.062 kB / 470.4 MB, free: 19.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.4459, allocations: 6 kB / 470.4 MB, free: 19.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002088/0.4461, allocations: 0.5887 MB / 471 MB, free: 18.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4461, allocations: 1 kB / 471 MB, free: 18.66 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000308/0.4464, allocations: 301.6 kB / 471.3 MB, free: 18.46 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.262e-05/0.4465, allocations: 54.47 kB / 471.4 MB, free: 18.46 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.588e-05/0.4465, allocations: 6.672 kB / 471.4 MB, free: 18.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.4467, allocations: 17.92 kB / 471.4 MB, free: 18.46 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.4467, allocations: 15.22 kB / 471.4 MB, free: 18.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-05/0.4468, allocations: 14.23 kB / 471.4 MB, free: 18.46 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003259/0.4471, allocations: 241.8 kB / 471.7 MB, free: 18.43 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4471, allocations: 0 / 471.7 MB, free: 18.43 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006851/0.4478, allocations: 219.1 kB / 471.9 MB, free: 18.43 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.001471/0.4493, allocations: 0.5801 MB / 472.5 MB, free: 18.15 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003797/0.4496, allocations: 147.3 kB / 472.6 MB, free: 18.14 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.569e-05/0.4497, allocations: 10.06 kB / 472.6 MB, free: 18.14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.784e-05/0.4497, allocations: 51.84 kB / 472.7 MB, free: 18.13 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005403/0.4503, allocations: 154.1 kB / 472.8 MB, free: 18.11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.4522, allocations: 1.02 MB / 473.8 MB, free: 17.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001765/0.4524, allocations: 152.8 kB / 474 MB, free: 17.53 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002908/0.4527, allocations: 80.61 kB / 474.1 MB, free: 17.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004867/0.4532, allocations: 218.7 kB / 474.3 MB, free: 17.47 MB / 426.7 MB Notification: Performance of SimCode: time 1.583e-06/0.4532, allocations: 0 / 474.3 MB, free: 17.47 MB / 426.7 MB Notification: Performance of Templates: time 0.01771/0.4709, allocations: 10.8 MB / 485.1 MB, free: 16.36 MB / 426.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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.945396400988102]