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.001503/0.001503, allocations: 80.92 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.002085/0.002085, allocations: 169.6 kB / 24.91 MB, free: 8.727 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.908/0.908, allocations: 158.6 MB / 186.8 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.2373/0.2373, allocations: 36.35 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.263e-06/1.263e-06, allocations: 0 / 305.2 MB, free: 14.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.419e-05/1.545e-05, allocations: 2.312 kB / 305.2 MB, free: 14.11 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.1827/0.1827, allocations: 145.9 MB / 451 MB, free: 1.758 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00479/0.1875, allocations: 3.546 MB / 454.6 MB, free: 14.2 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003691/0.1879, allocations: 15.88 kB / 454.6 MB, free: 14.19 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005097/0.1884, allocations: 150.9 kB / 454.7 MB, free: 14.04 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.0008393/0.1892, allocations: 469.1 kB / 455.2 MB, free: 13.58 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002937/0.1922, allocations: 1.374 MB / 456.6 MB, free: 12.2 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001259/0.1934, allocations: 1.203 MB / 457.8 MB, free: 10.99 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005566/0.194, allocations: 341.9 kB / 458.1 MB, free: 10.65 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008506/0.1948, allocations: 0.6587 MB / 458.8 MB, free: 9.988 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004486/0.1953, allocations: 323 kB / 459.1 MB, free: 9.672 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.812e-05/0.1954, allocations: 56 kB / 459.1 MB, free: 9.617 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002067/0.1974, allocations: 1.052 MB / 460.2 MB, free: 8.562 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003034/0.1978, allocations: 331.2 kB / 460.5 MB, free: 8.238 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003045/0.1981, allocations: 295.3 kB / 460.8 MB, free: 7.949 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002035/0.2001, allocations: 1.344 MB / 462.1 MB, free: 6.602 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2001, allocations: 0 / 462.1 MB, free: 6.602 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2001, allocations: 4 kB / 462.2 MB, free: 6.598 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.41e-05/0.2001, allocations: 0 / 462.2 MB, free: 6.598 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.00146/0.2016, allocations: 1.008 MB / 463.2 MB, free: 5.562 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.2016, allocations: 8.031 kB / 463.2 MB, free: 5.555 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006245/0.2022, allocations: 196.4 kB / 463.4 MB, free: 5.363 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007954/0.203, allocations: 383.8 kB / 463.7 MB, free: 4.961 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.68e-05/0.2031, allocations: 37.69 kB / 463.8 MB, free: 4.926 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.885e-05/0.2032, allocations: 68.08 kB / 463.8 MB, free: 4.859 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006736/0.2038, allocations: 0.8187 MB / 464.7 MB, free: 3.922 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.2038, allocations: 4 kB / 464.7 MB, free: 3.918 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.069e-05/0.2039, allocations: 20 kB / 464.7 MB, free: 3.898 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.2039, allocations: 12 kB / 464.7 MB, free: 3.887 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002654/0.2042, allocations: 171.8 kB / 464.9 MB, free: 3.719 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002276/0.2065, allocations: 1.183 MB / 466 MB, free: 2.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.2066, allocations: 118.9 kB / 466.2 MB, free: 2.375 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.28e-05/0.2067, allocations: 24.84 kB / 466.2 MB, free: 2.348 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001764/0.2068, allocations: 39.97 kB / 466.2 MB, free: 2.309 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.2069, allocations: 46.44 kB / 466.3 MB, free: 2.254 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 1.743e-06/0.2069, allocations: 0 / 466.3 MB, free: 2.254 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003014/0.2072, allocations: 122.7 kB / 466.4 MB, free: 2.129 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.2072, allocations: 55.41 kB / 466.4 MB, free: 2.062 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004779/0.2077, allocations: 0.5162 MB / 467 MB, free: 1.531 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.2077, allocations: 33.7 kB / 467 MB, free: 1.492 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.2079, allocations: 344.7 kB / 467.3 MB, free: 1.152 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.591e-05/0.2079, allocations: 63.5 kB / 467.4 MB, free: 1.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.208, allocations: 82.06 kB / 467.5 MB, free: 1.004 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.2082, allocations: 366.6 kB / 467.8 MB, free: 0.6367 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.237e-05/0.2083, allocations: 57.62 kB / 467.9 MB, free: 0.5742 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.2084, allocations: 189.7 kB / 468.1 MB, free: 328 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1691/0.3775, allocations: 254.5 kB / 468.3 MB, free: 20.86 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.101e-05/0.3775, allocations: 6.078 kB / 468.3 MB, free: 20.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004485/0.378, allocations: 270.4 kB / 468.6 MB, free: 20.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.378, allocations: 7.344 kB / 468.6 MB, free: 20.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.378, allocations: 6.812 kB / 468.6 MB, free: 20.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.378, allocations: 7.156 kB / 468.6 MB, free: 20.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003028/0.3783, allocations: 105.3 kB / 468.7 MB, free: 20.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001797/0.3785, allocations: 0.5905 MB / 469.3 MB, free: 20.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002148/0.3787, allocations: 47.36 kB / 469.3 MB, free: 20.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.342e-05/0.3787, allocations: 19.25 kB / 469.4 MB, free: 20.21 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.0002165/0.379, allocations: 146.6 kB / 469.5 MB, free: 20.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.112e-05/0.379, allocations: 44.39 kB / 469.6 MB, free: 20.09 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001802/0.3792, allocations: 128.9 kB / 469.7 MB, free: 20.05 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3792, allocations: 2.812 kB / 469.7 MB, free: 20.05 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.3792, allocations: 5.891 kB / 469.7 MB, free: 20.05 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3792, allocations: 0.5156 kB / 469.7 MB, free: 20.05 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006271/0.3798, allocations: 0.5758 MB / 470.3 MB, free: 19.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.3798, allocations: 1.156 kB / 470.3 MB, free: 19.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.38, allocations: 46.94 kB / 470.3 MB, free: 19.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.38, allocations: 5.688 kB / 470.3 MB, free: 19.79 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.38, allocations: 3.453 kB / 470.3 MB, free: 19.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001185/0.3801, allocations: 0.5894 MB / 470.9 MB, free: 19.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.3801, allocations: 1.938 kB / 470.9 MB, free: 19.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002051/0.3803, allocations: 303.2 kB / 471.2 MB, free: 18.99 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.458e-05/0.3804, allocations: 60.52 kB / 471.3 MB, free: 18.99 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.543e-05/0.3804, allocations: 3.391 kB / 471.3 MB, free: 18.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.3806, allocations: 17.59 kB / 471.3 MB, free: 18.99 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.33e-05/0.3806, allocations: 14.09 kB / 471.3 MB, free: 18.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-05/0.3806, allocations: 10.61 kB / 471.3 MB, free: 18.99 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002316/0.3808, allocations: 241.5 kB / 471.5 MB, free: 18.97 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3808, allocations: 0 / 471.5 MB, free: 18.97 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005571/0.3814, allocations: 221.3 kB / 471.8 MB, free: 18.96 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.001248/0.3826, allocations: 0.5779 MB / 472.3 MB, free: 18.68 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002873/0.3829, allocations: 148.6 kB / 472.5 MB, free: 18.67 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.767e-05/0.383, allocations: 8.719 kB / 472.5 MB, free: 18.67 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.233e-05/0.383, allocations: 49.5 kB / 472.5 MB, free: 18.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004936/0.3835, allocations: 146.2 kB / 472.7 MB, free: 18.64 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.385, allocations: 1.03 MB / 473.7 MB, free: 18.13 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.3852, allocations: 152.8 kB / 473.9 MB, free: 18.06 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002411/0.3854, allocations: 78.81 kB / 473.9 MB, free: 18.05 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004033/0.3858, allocations: 214.1 kB / 474.2 MB, free: 18 MB / 426.7 MB Notification: Performance of SimCode: time 1.132e-06/0.3858, allocations: 0 / 474.2 MB, free: 18 MB / 426.7 MB Notification: Performance of Templates: time 0.01496/0.4008, allocations: 10.66 MB / 484.8 MB, free: 16.92 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 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.849648482631892]