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.001377/0.001377, allocations: 80.8 kB / 21.5 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.001507/0.001507, allocations: 171.3 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.9256/0.9256, allocations: 158.6 MB / 186.8 MB, free: 2.766 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.197/0.197, allocations: 36.34 MB / 275.5 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.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.794e-06/1.794e-06, allocations: 1.094 kB / 305.2 MB, free: 14.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.099e-05/2.278e-05, allocations: 3.594 kB / 305.2 MB, free: 14.04 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.149/0.149, allocations: 145.8 MB / 451 MB, free: 1.746 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005389/0.1544, allocations: 3.6 MB / 454.6 MB, free: 14.14 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004653/0.1549, allocations: 15.88 kB / 454.6 MB, free: 14.12 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005786/0.1554, allocations: 142.9 kB / 454.8 MB, free: 13.98 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.0008952/0.1563, allocations: 0.501 MB / 455.3 MB, free: 13.48 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003347/0.1597, allocations: 1.421 MB / 456.7 MB, free: 12.05 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001571/0.1612, allocations: 1.235 MB / 457.9 MB, free: 10.81 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006109/0.1619, allocations: 334.1 kB / 458.3 MB, free: 10.48 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.1629, allocations: 0.7366 MB / 459 MB, free: 9.738 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005144/0.1634, allocations: 331 kB / 459.3 MB, free: 9.414 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.529e-05/0.1635, allocations: 56 kB / 459.4 MB, free: 9.359 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00226/0.1657, allocations: 1.099 MB / 460.5 MB, free: 8.258 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003431/0.1661, allocations: 379 kB / 460.8 MB, free: 7.887 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003186/0.1664, allocations: 299.3 kB / 461.1 MB, free: 7.594 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002404/0.1688, allocations: 1.414 MB / 462.6 MB, free: 6.176 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1688, allocations: 0 / 462.6 MB, free: 6.176 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.1688, allocations: 4 kB / 462.6 MB, free: 6.172 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.675e-05/0.1688, allocations: 3.938 kB / 462.6 MB, free: 6.168 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.001514/0.1703, allocations: 1.14 MB / 463.7 MB, free: 4.996 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.1704, allocations: 12.03 kB / 463.7 MB, free: 4.984 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007323/0.1711, allocations: 212.3 kB / 463.9 MB, free: 4.777 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006584/0.1718, allocations: 470.3 kB / 464.4 MB, free: 4.293 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.383e-05/0.1718, allocations: 37.38 kB / 464.4 MB, free: 4.258 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.964e-05/0.1719, allocations: 60.12 kB / 464.5 MB, free: 4.199 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006744/0.1726, allocations: 0.8141 MB / 465.3 MB, free: 3.266 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.1726, allocations: 0 / 465.3 MB, free: 3.266 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.819e-05/0.1726, allocations: 24 kB / 465.3 MB, free: 3.242 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.1726, allocations: 12 kB / 465.3 MB, free: 3.23 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002557/0.1729, allocations: 157.7 kB / 465.5 MB, free: 3.074 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002191/0.1751, allocations: 1.135 MB / 466.6 MB, free: 1.914 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.1752, allocations: 128 kB / 466.7 MB, free: 1.777 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.313e-05/0.1753, allocations: 24.84 kB / 466.8 MB, free: 1.75 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001592/0.1754, allocations: 39.97 kB / 466.8 MB, free: 1.711 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.1755, allocations: 46.44 kB / 466.8 MB, free: 1.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 2.024e-06/0.1755, allocations: 0 / 466.8 MB, free: 1.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002665/0.1757, allocations: 127.7 kB / 467 MB, free: 1.531 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.1758, allocations: 59.34 kB / 467 MB, free: 1.461 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006573/0.1764, allocations: 0.7005 MB / 467.7 MB, free: 0.7461 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.433e-05/0.1765, allocations: 33.7 kB / 467.8 MB, free: 0.707 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002044/0.1767, allocations: 369.4 kB / 468.1 MB, free: 352 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.788e-05/0.1767, allocations: 55.52 kB / 468.2 MB, free: 296 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.1768, allocations: 85.94 kB / 468.3 MB, free: 204 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.2151/0.3919, allocations: 324.8 kB / 468.6 MB, free: 20.49 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002428/0.3922, allocations: 55.28 kB / 468.6 MB, free: 20.48 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.3923, allocations: 173.7 kB / 468.8 MB, free: 20.32 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002869/0.3926, allocations: 256.1 kB / 469.1 MB, free: 20.13 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.3926, allocations: 0.875 kB / 469.1 MB, free: 20.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005891/0.3932, allocations: 277.6 kB / 469.3 MB, free: 20.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.406e-05/0.3932, allocations: 6.781 kB / 469.3 MB, free: 20.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/0.3933, allocations: 5.953 kB / 469.3 MB, free: 20.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.62e-05/0.3933, allocations: 10.81 kB / 469.3 MB, free: 20.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004597/0.3938, allocations: 116.2 kB / 469.5 MB, free: 20.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002741/0.394, allocations: 0.5911 MB / 470.1 MB, free: 19.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002579/0.3943, allocations: 43.16 kB / 470.1 MB, free: 19.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.255e-05/0.3943, allocations: 18.44 kB / 470.1 MB, free: 19.48 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.0003646/0.3947, allocations: 146.9 kB / 470.3 MB, free: 19.36 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.597e-05/0.3948, allocations: 45.84 kB / 470.3 MB, free: 19.36 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003224/0.3951, allocations: 145 kB / 470.4 MB, free: 19.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.3951, allocations: 6.062 kB / 470.4 MB, free: 19.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.3951, allocations: 1.25 kB / 470.5 MB, free: 19.32 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.3951, allocations: 0.7031 kB / 470.5 MB, free: 19.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005131/0.3956, allocations: 264.2 kB / 470.7 MB, free: 19.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.3956, allocations: 1.969 kB / 470.7 MB, free: 19.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002432/0.3959, allocations: 58.45 kB / 470.8 MB, free: 19.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.3959, allocations: 3 kB / 470.8 MB, free: 19.24 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.3959, allocations: 1.578 kB / 470.8 MB, free: 19.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001877/0.3961, allocations: 0.5928 MB / 471.4 MB, free: 18.65 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3961, allocations: 1.125 kB / 471.4 MB, free: 18.65 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000256/0.3963, allocations: 288.1 kB / 471.6 MB, free: 18.47 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.518e-05/0.3964, allocations: 68.95 kB / 471.7 MB, free: 18.47 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.062e-05/0.3965, allocations: 3.047 kB / 471.7 MB, free: 18.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.3966, allocations: 14.94 kB / 471.7 MB, free: 18.47 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.3967, allocations: 10.66 kB / 471.7 MB, free: 18.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.578e-05/0.3967, allocations: 13.8 kB / 471.8 MB, free: 18.47 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004816/0.3972, allocations: 349.7 kB / 472.1 MB, free: 18.44 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3972, allocations: 0.8125 kB / 472.1 MB, free: 18.44 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007452/0.398, allocations: 224.2 kB / 472.3 MB, free: 18.44 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.001598/0.3995, allocations: 0.5767 MB / 472.9 MB, free: 18.15 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003458/0.3999, allocations: 143.6 kB / 473 MB, free: 18.14 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.567e-05/0.3999, allocations: 13.75 kB / 473 MB, free: 18.14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.54e-05/0.4, allocations: 41.05 kB / 473.1 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.0006536/0.4007, allocations: 170.2 kB / 473.3 MB, free: 18.11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/0.4028, allocations: 1.242 MB / 474.5 MB, free: 17.53 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002111/0.4031, allocations: 188.3 kB / 474.7 MB, free: 17.45 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003744/0.4034, allocations: 94.8 kB / 474.8 MB, free: 17.44 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000547/0.404, allocations: 221 kB / 475 MB, free: 17.39 MB / 426.7 MB Notification: Performance of SimCode: time 2.024e-06/0.404, allocations: 1.625 kB / 475 MB, free: 17.39 MB / 426.7 MB Notification: Performance of Templates: time 0.02032/0.4243, allocations: 11.39 MB / 486.4 MB, free: 16.22 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8548295507207513]