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.001884/0.001884, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 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.00151/0.00151, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 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.334/1.334, allocations: 158.6 MB / 185.7 MB, free: 6.43 MB / 174.1 MB " [Timeout remaining time 178] 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.2995/0.2995, allocations: 36.35 MB / 274.3 MB, free: 0.6445 MB / 254.1 MB " [Timeout remaining time 179] 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.763e-06/1.763e-06, allocations: 0 / 414.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.802e-05/2.979e-05, allocations: 6.219 kB / 414.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.3705/0.3705, allocations: 147.4 MB / 0.5491 GB, free: 2.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006083/0.3766, allocations: 3.511 MB / 0.5525 GB, free: 15.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005033/0.3771, allocations: 11.88 kB / 0.5525 GB, free: 15.15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.3782, allocations: 258.2 kB / 0.5528 GB, free: 14.89 MB / 446.1 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.001407/0.3796, allocations: 0.5089 MB / 0.5532 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004658/0.3843, allocations: 1.605 MB / 0.5548 GB, free: 12.78 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001915/0.3862, allocations: 1.254 MB / 0.556 GB, free: 11.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000735/0.3869, allocations: 330.4 kB / 0.5564 GB, free: 11.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001606/0.3885, allocations: 0.6584 MB / 0.557 GB, free: 10.54 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008339/0.3893, allocations: 421 kB / 0.5574 GB, free: 10.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001812/0.3895, allocations: 56 kB / 0.5575 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002818/0.3923, allocations: 1.239 MB / 0.5587 GB, free: 8.828 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005084/0.3929, allocations: 395 kB / 0.559 GB, free: 8.441 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006428/0.3935, allocations: 307.3 kB / 0.5593 GB, free: 8.141 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002949/0.3964, allocations: 1.8 MB / 0.5611 GB, free: 6.336 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3965, allocations: 8 kB / 0.5611 GB, free: 6.328 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3965, allocations: 3.938 kB / 0.5611 GB, free: 6.324 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.753e-05/0.3965, allocations: 0 / 0.5611 GB, free: 6.324 MB / 446.1 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.002618/0.3991, allocations: 1.208 MB / 0.5623 GB, free: 5.082 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.3991, allocations: 11.97 kB / 0.5623 GB, free: 5.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008777/0.4, allocations: 167.2 kB / 0.5625 GB, free: 4.906 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/0.4012, allocations: 0.5755 MB / 0.563 GB, free: 4.301 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.964e-05/0.4013, allocations: 41 kB / 0.5631 GB, free: 4.258 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.4014, allocations: 55.98 kB / 0.5631 GB, free: 4.203 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/0.4029, allocations: 1.026 MB / 0.5641 GB, free: 3.059 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.4029, allocations: 0 / 0.5641 GB, free: 3.059 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.778e-05/0.403, allocations: 24 kB / 0.5641 GB, free: 3.035 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.403, allocations: 12 kB / 0.5641 GB, free: 3.023 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008625/0.4039, allocations: 471.6 kB / 0.5646 GB, free: 2.562 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004037/0.4079, allocations: 1.601 MB / 0.5662 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002834/0.4082, allocations: 131.5 kB / 0.5663 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.4083, allocations: 53.09 kB / 0.5663 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002443/0.4086, allocations: 51.95 kB / 0.5664 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.4086, allocations: 38.56 kB / 0.5664 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.4086, allocations: 0 / 0.5664 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005575/0.4092, allocations: 245.1 kB / 0.5667 GB, free: 400 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.4092, allocations: 51.41 kB / 0.5667 GB, free: 336 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00148/0.4107, allocations: 1.102 MB / 0.5678 GB, free: 15.22 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.908e-05/0.4107, allocations: 29.7 kB / 0.5678 GB, free: 15.18 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004203/0.4112, allocations: 487.4 kB / 0.5683 GB, free: 14.7 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.421e-05/0.4112, allocations: 55.53 kB / 0.5683 GB, free: 14.64 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000152/0.4114, allocations: 82.02 kB / 0.5684 GB, free: 14.56 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.4115, allocations: 322 kB / 0.5687 GB, free: 14.24 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002294/0.4117, allocations: 130.4 kB / 0.5688 GB, free: 14.11 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003305/0.4121, allocations: 250 kB / 0.5691 GB, free: 13.8 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004909/0.4126, allocations: 336.8 kB / 0.5694 GB, free: 13.41 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.4126, allocations: 4 kB / 0.5694 GB, free: 13.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008552/0.4134, allocations: 472.5 kB / 0.5698 GB, free: 12.94 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.4135, allocations: 6.969 kB / 0.5699 GB, free: 12.94 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.4135, allocations: 12.47 kB / 0.5699 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.4135, allocations: 8 kB / 0.5699 GB, free: 12.92 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004606/0.4139, allocations: 103.9 kB / 0.57 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004762/0.4144, allocations: 0.6055 MB / 0.5706 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004209/0.4148, allocations: 51.66 kB / 0.5706 GB, free: 12.14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.549e-05/0.4149, allocations: 23.98 kB / 0.5706 GB, free: 12.11 MB / 462.1 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.000427/0.4153, allocations: 289.6 kB / 0.5709 GB, free: 11.82 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.4155, allocations: 79.48 kB / 0.571 GB, free: 11.74 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004234/0.4159, allocations: 228 kB / 0.5712 GB, free: 11.51 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.4159, allocations: 0 / 0.5712 GB, free: 11.51 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.4159, allocations: 3.938 kB / 0.5712 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4159, allocations: 3.938 kB / 0.5712 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006524/0.4166, allocations: 417 kB / 0.5716 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.4166, allocations: 0 / 0.5716 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002455/0.4168, allocations: 43.97 kB / 0.5717 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.4168, allocations: 0 / 0.5717 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.4168, allocations: 4 kB / 0.5717 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004138/0.4173, allocations: 0.6054 MB / 0.5722 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.4173, allocations: 0 / 0.5722 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005373/0.4178, allocations: 367 kB / 0.5726 GB, free: 10.01 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001838/0.418, allocations: 91.42 kB / 0.5727 GB, free: 9.922 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.032e-05/0.4181, allocations: 8 kB / 0.5727 GB, free: 9.914 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003902/0.4184, allocations: 12.86 kB / 0.5727 GB, free: 9.902 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/0.4185, allocations: 15.97 kB / 0.5727 GB, free: 9.887 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.916e-05/0.4185, allocations: 11.98 kB / 0.5727 GB, free: 9.875 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001042/0.4196, allocations: 0.7762 MB / 0.5735 GB, free: 9.102 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4196, allocations: 160 / 0.5735 GB, free: 9.102 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008042/0.4204, allocations: 247.3 kB / 0.5737 GB, free: 8.859 MB / 462.1 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.002085/0.4225, allocations: 0.5752 MB / 0.5743 GB, free: 8.293 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00054/0.423, allocations: 216.2 kB / 0.5745 GB, free: 8.082 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/0.423, allocations: 4 kB / 0.5745 GB, free: 8.078 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.4232, allocations: 63.91 kB / 0.5746 GB, free: 8.016 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009488/0.4241, allocations: 171.4 kB / 0.5747 GB, free: 7.848 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002423/0.4265, allocations: 1.422 MB / 0.5761 GB, free: 6.395 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005156/0.427, allocations: 395.3 kB / 0.5765 GB, free: 5.98 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003939/0.4274, allocations: 136.9 kB / 0.5766 GB, free: 5.844 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001452/0.4276, allocations: 48.48 kB / 0.5767 GB, free: 5.797 MB / 462.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4276, allocations: 4 kB / 0.5767 GB, free: 5.793 MB / 462.1 MB Notification: Performance of Templates: time 0.02301/0.4506, allocations: 11.51 MB / 0.5879 GB, free: 10.27 MB / 478.1 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=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.508067458868027] Failed to read output from testmodel.py, exit status != 0: 0.46024178341031075 0.47644452 0.076569176 Calling exit ...