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.001025/0.001025, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001097/0.001097, allocations: 169.9 kB / 24.91 MB, free: 9.191 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.9042/0.9042, allocations: 158.6 MB / 186.8 MB, free: 2.777 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.1857/0.1857, allocations: 36.34 MB / 275.4 MB, free: 10.55 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 2.795e-06/2.795e-06, allocations: 2.938 kB / 305.2 MB, free: 14.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.659e-05, allocations: 2.312 kB / 305.2 MB, free: 14.04 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.1728/0.1729, allocations: 145.9 MB / 451.1 MB, free: 1.637 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00454/0.1774, allocations: 3.556 MB / 454.7 MB, free: 14.07 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003432/0.1777, allocations: 7.938 kB / 454.7 MB, free: 14.07 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005351/0.1783, allocations: 154.8 kB / 454.8 MB, free: 13.91 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.0008335/0.1791, allocations: 469.1 kB / 455.3 MB, free: 13.45 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002956/0.1821, allocations: 1.335 MB / 456.6 MB, free: 12.11 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001398/0.1835, allocations: 1.207 MB / 457.8 MB, free: 10.9 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000562/0.184, allocations: 322 kB / 458.1 MB, free: 10.58 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008184/0.1848, allocations: 0.6508 MB / 458.8 MB, free: 9.926 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004132/0.1853, allocations: 327 kB / 459.1 MB, free: 9.605 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 7.434e-05/0.1853, allocations: 56 kB / 459.2 MB, free: 9.551 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001887/0.1872, allocations: 1.099 MB / 460.3 MB, free: 8.449 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002389/0.1875, allocations: 331.1 kB / 460.6 MB, free: 8.125 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002549/0.1877, allocations: 287.4 kB / 460.9 MB, free: 7.844 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001736/0.1895, allocations: 1.348 MB / 462.2 MB, free: 6.492 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1895, allocations: 4 kB / 462.2 MB, free: 6.488 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1895, allocations: 0 / 462.2 MB, free: 6.488 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.1895, allocations: 4 kB / 462.2 MB, free: 6.484 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.001072/0.1905, allocations: 0.9966 MB / 463.2 MB, free: 5.461 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.1906, allocations: 8.031 kB / 463.2 MB, free: 5.453 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004766/0.1911, allocations: 200.4 kB / 463.4 MB, free: 5.258 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004339/0.1915, allocations: 387.8 kB / 463.8 MB, free: 4.852 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/0.1915, allocations: 37.69 kB / 463.8 MB, free: 4.816 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.777e-05/0.1916, allocations: 68.08 kB / 463.9 MB, free: 4.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005651/0.1921, allocations: 0.8188 MB / 464.7 MB, free: 3.812 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.1922, allocations: 4 kB / 464.7 MB, free: 3.809 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.357e-05/0.1922, allocations: 23.98 kB / 464.8 MB, free: 3.785 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.1922, allocations: 19.94 kB / 464.8 MB, free: 3.766 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002027/0.1924, allocations: 167.8 kB / 464.9 MB, free: 3.602 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001834/0.1943, allocations: 1.175 MB / 466.1 MB, free: 2.391 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.1944, allocations: 116.7 kB / 466.2 MB, free: 2.266 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.381e-05/0.1944, allocations: 28.84 kB / 466.3 MB, free: 2.234 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001174/0.1945, allocations: 39.97 kB / 466.3 MB, free: 2.195 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.1946, allocations: 42.55 kB / 466.3 MB, free: 2.145 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 2.174e-06/0.1946, allocations: 0 / 466.3 MB, free: 2.145 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001918/0.1947, allocations: 125 kB / 466.5 MB, free: 2.02 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.287e-05/0.1948, allocations: 51.41 kB / 466.5 MB, free: 1.957 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000346/0.1951, allocations: 0.5201 MB / 467 MB, free: 1.422 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.1951, allocations: 33.7 kB / 467.1 MB, free: 1.383 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.1953, allocations: 344.7 kB / 467.4 MB, free: 1.043 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.1953, allocations: 59.52 kB / 467.5 MB, free: 0.9844 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.682e-05/0.1954, allocations: 86.06 kB / 467.5 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.1955, allocations: 374.6 kB / 467.9 MB, free: 0.5195 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.287e-05/0.1956, allocations: 57.61 kB / 468 MB, free: 468 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.1957, allocations: 185.7 kB / 468.1 MB, free: 212 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1904/0.3861, allocations: 247.6 kB / 468.4 MB, free: 20.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.05e-05/0.3861, allocations: 2.25 kB / 468.4 MB, free: 20.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004283/0.3865, allocations: 276.8 kB / 468.7 MB, free: 20.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.3866, allocations: 7.438 kB / 468.7 MB, free: 20.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.3866, allocations: 11.22 kB / 468.7 MB, free: 20.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.226e-05/0.3866, allocations: 6.406 kB / 468.7 MB, free: 20.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005214/0.3871, allocations: 134.4 kB / 468.8 MB, free: 20.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002147/0.3873, allocations: 0.5886 MB / 469.4 MB, free: 20.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002434/0.3876, allocations: 42.62 kB / 469.4 MB, free: 20.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.886e-05/0.3876, allocations: 19.94 kB / 469.5 MB, free: 20.02 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.0002427/0.3879, allocations: 150.2 kB / 469.6 MB, free: 19.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.044e-05/0.3879, allocations: 49.11 kB / 469.7 MB, free: 19.89 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002116/0.3881, allocations: 130 kB / 469.8 MB, free: 19.86 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.3881, allocations: 1.672 kB / 469.8 MB, free: 19.86 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.3881, allocations: 1.656 kB / 469.8 MB, free: 19.86 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.3882, allocations: 1.359 kB / 469.8 MB, free: 19.86 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007094/0.3889, allocations: 0.5782 MB / 470.4 MB, free: 19.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.3889, allocations: 2.438 kB / 470.4 MB, free: 19.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001966/0.3891, allocations: 52.56 kB / 470.4 MB, free: 19.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.3891, allocations: 4.406 kB / 470.4 MB, free: 19.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.3891, allocations: 6.281 kB / 470.4 MB, free: 19.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001314/0.3892, allocations: 0.5942 MB / 471 MB, free: 19 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3892, allocations: 1.031 kB / 471 MB, free: 19 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002171/0.3894, allocations: 297 kB / 471.3 MB, free: 18.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.017e-05/0.3895, allocations: 55.86 kB / 471.4 MB, free: 18.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.728e-05/0.3895, allocations: 3.219 kB / 471.4 MB, free: 18.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.3897, allocations: 19.11 kB / 471.4 MB, free: 18.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.57e-05/0.3897, allocations: 10.89 kB / 471.4 MB, free: 18.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.797e-05/0.3897, allocations: 16.08 kB / 471.4 MB, free: 18.79 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002507/0.39, allocations: 242 kB / 471.7 MB, free: 18.77 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.39, allocations: 0 / 471.7 MB, free: 18.77 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005388/0.3905, allocations: 216.7 kB / 471.9 MB, free: 18.77 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.001274/0.3918, allocations: 0.5847 MB / 472.5 MB, free: 18.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000265/0.3921, allocations: 148.9 kB / 472.6 MB, free: 18.48 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.126e-05/0.3921, allocations: 13.94 kB / 472.6 MB, free: 18.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.434e-05/0.3922, allocations: 43.97 kB / 472.7 MB, free: 18.47 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004977/0.3927, allocations: 154.6 kB / 472.8 MB, free: 18.45 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.3942, allocations: 1.02 MB / 473.8 MB, free: 17.94 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.3944, allocations: 156.4 kB / 474 MB, free: 17.87 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000255/0.3946, allocations: 79.88 kB / 474.1 MB, free: 17.86 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004224/0.395, allocations: 214.4 kB / 474.3 MB, free: 17.81 MB / 426.7 MB Notification: Performance of SimCode: time 1.162e-06/0.395, allocations: 3.188 kB / 474.3 MB, free: 17.81 MB / 426.7 MB Notification: Performance of Templates: time 0.01455/0.4096, allocations: 10.8 MB / 485.1 MB, free: 16.7 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.7202506931498647]