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.001522/0.001522, 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.001282/0.001282, allocations: 169.1 kB / 24.91 MB, free: 9.199 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.9026/0.9026, allocations: 158.6 MB / 186.8 MB, free: 2.77 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.1987/0.1987, 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.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.683e-06/1.683e-06, allocations: 1.531 kB / 305.2 MB, free: 14.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.075e-05/2.243e-05, allocations: 5.781 kB / 305.2 MB, free: 14.12 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.1331/0.1332, allocations: 145.8 MB / 450.9 MB, free: 1.852 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004716/0.1379, allocations: 3.597 MB / 454.5 MB, free: 14.25 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003326/0.1382, allocations: 7.938 kB / 454.5 MB, free: 14.24 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000553/0.1388, allocations: 150.9 kB / 454.7 MB, free: 14.09 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.0008149/0.1396, allocations: 0.5011 MB / 455.2 MB, free: 13.59 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002762/0.1423, allocations: 1.463 MB / 456.7 MB, free: 12.12 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001457/0.1438, allocations: 1.235 MB / 457.9 MB, free: 10.88 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005236/0.1443, allocations: 338.1 kB / 458.2 MB, free: 10.54 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009286/0.1452, allocations: 0.7406 MB / 459 MB, free: 9.801 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004526/0.1457, allocations: 331 kB / 459.3 MB, free: 9.477 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.807e-05/0.1458, allocations: 52 kB / 459.3 MB, free: 9.426 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00198/0.1478, allocations: 1.071 MB / 460.4 MB, free: 8.352 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003185/0.1481, allocations: 383 kB / 460.8 MB, free: 7.977 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002779/0.1484, allocations: 299.3 kB / 461.1 MB, free: 7.684 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001834/0.1502, allocations: 1.414 MB / 462.5 MB, free: 6.266 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1502, allocations: 0 / 462.5 MB, free: 6.266 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1502, allocations: 0 / 462.5 MB, free: 6.266 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.472e-05/0.1502, allocations: 0 / 462.5 MB, free: 6.266 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.001391/0.1516, allocations: 1.143 MB / 463.6 MB, free: 5.09 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.1516, allocations: 12.03 kB / 463.6 MB, free: 5.078 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005254/0.1522, allocations: 212.3 kB / 463.8 MB, free: 4.871 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005544/0.1527, allocations: 470.3 kB / 464.3 MB, free: 4.387 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.1528, allocations: 37.38 kB / 464.3 MB, free: 4.352 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.922e-05/0.1528, allocations: 60.12 kB / 464.4 MB, free: 4.293 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005466/0.1534, allocations: 0.8142 MB / 465.2 MB, free: 3.359 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.1534, allocations: 0 / 465.2 MB, free: 3.359 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.978e-05/0.1534, allocations: 24 kB / 465.2 MB, free: 3.336 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.1534, allocations: 12 kB / 465.2 MB, free: 3.324 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002007/0.1536, allocations: 161.7 kB / 465.4 MB, free: 3.164 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001791/0.1554, allocations: 1.139 MB / 466.5 MB, free: 2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.1556, allocations: 121.9 kB / 466.7 MB, free: 1.871 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.096e-05/0.1556, allocations: 20.84 kB / 466.7 MB, free: 1.848 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001424/0.1557, allocations: 43.97 kB / 466.7 MB, free: 1.805 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.1558, allocations: 38.56 kB / 466.8 MB, free: 1.758 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.743e-06/0.1558, allocations: 3.938 kB / 466.8 MB, free: 1.754 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.000219/0.156, allocations: 130.5 kB / 466.9 MB, free: 1.621 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.737e-05/0.156, allocations: 55.41 kB / 467 MB, free: 1.555 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004895/0.1565, allocations: 0.6966 MB / 467.6 MB, free: 0.8438 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.1565, allocations: 33.7 kB / 467.7 MB, free: 0.8047 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.1567, allocations: 373.3 kB / 468 MB, free: 448 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.213e-05/0.1568, allocations: 59.52 kB / 468.1 MB, free: 388 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.409e-05/0.1568, allocations: 81.94 kB / 468.2 MB, free: 300 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.2072/0.364, allocations: 324.8 kB / 468.5 MB, free: 21.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.3642, allocations: 53.84 kB / 468.6 MB, free: 21.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.3643, allocations: 175.6 kB / 468.7 MB, free: 20.93 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000213/0.3645, allocations: 253 kB / 469 MB, free: 20.74 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.3645, allocations: 1.25 kB / 469 MB, free: 20.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003777/0.3649, allocations: 277.6 kB / 469.2 MB, free: 20.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.3649, allocations: 6.938 kB / 469.3 MB, free: 20.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.3649, allocations: 8.781 kB / 469.3 MB, free: 20.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.365, allocations: 10.64 kB / 469.3 MB, free: 20.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003105/0.3653, allocations: 93.12 kB / 469.4 MB, free: 20.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002319/0.3655, allocations: 0.5956 MB / 470 MB, free: 20.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002214/0.3657, allocations: 46.98 kB / 470 MB, free: 20.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.438e-05/0.3658, allocations: 19.27 kB / 470 MB, free: 20.09 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.0002574/0.366, allocations: 145.3 kB / 470.2 MB, free: 19.97 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.664e-05/0.3661, allocations: 45.02 kB / 470.2 MB, free: 19.97 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002284/0.3663, allocations: 146.6 kB / 470.3 MB, free: 19.93 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.3663, allocations: 4.016 kB / 470.4 MB, free: 19.93 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.3663, allocations: 2.156 kB / 470.4 MB, free: 19.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3663, allocations: 0.6562 kB / 470.4 MB, free: 19.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003697/0.3667, allocations: 269.1 kB / 470.6 MB, free: 19.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.3667, allocations: 0.6562 kB / 470.6 MB, free: 19.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.3668, allocations: 44.28 kB / 470.7 MB, free: 19.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.3669, allocations: 5.062 kB / 470.7 MB, free: 19.85 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.3669, allocations: 5.547 kB / 470.7 MB, free: 19.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001389/0.367, allocations: 0.5836 MB / 471.3 MB, free: 19.26 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.367, allocations: 1.625 kB / 471.3 MB, free: 19.26 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.3672, allocations: 289 kB / 471.5 MB, free: 19.08 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.739e-05/0.3673, allocations: 68.45 kB / 471.6 MB, free: 19.08 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.781e-05/0.3673, allocations: 3.469 kB / 471.6 MB, free: 19.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.3675, allocations: 14.94 kB / 471.6 MB, free: 19.08 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.324e-05/0.3675, allocations: 12.73 kB / 471.6 MB, free: 19.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.728e-05/0.3676, allocations: 12.11 kB / 471.6 MB, free: 19.08 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003559/0.3679, allocations: 353.9 kB / 472 MB, free: 19.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3679, allocations: 0.5938 kB / 472 MB, free: 19.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006173/0.3685, allocations: 220.3 kB / 472.2 MB, free: 19.05 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.00132/0.3698, allocations: 0.575 MB / 472.8 MB, free: 18.77 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002862/0.3701, allocations: 148.4 kB / 472.9 MB, free: 18.76 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.007e-05/0.3702, allocations: 12.47 kB / 472.9 MB, free: 18.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.422e-05/0.3702, allocations: 41.56 kB / 473 MB, free: 18.75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005431/0.3708, allocations: 178.1 kB / 473.2 MB, free: 18.72 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/0.3726, allocations: 1.244 MB / 474.4 MB, free: 18.13 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001724/0.3728, allocations: 186.9 kB / 474.6 MB, free: 18.06 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002972/0.3731, allocations: 90.88 kB / 474.7 MB, free: 18.04 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004865/0.3736, allocations: 220.2 kB / 474.9 MB, free: 17.99 MB / 426.7 MB Notification: Performance of SimCode: time 1.843e-06/0.3736, allocations: 0.9062 kB / 474.9 MB, free: 17.99 MB / 426.7 MB Notification: Performance of Templates: time 0.01652/0.3901, allocations: 11.34 MB / 486.2 MB, free: 16.84 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 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.672906680032611]