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.0007732/0.0007732, allocations: 83.69 kB / 21.44 MB, free: 3.117 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.003044/0.003044, allocations: 156.5 kB / 24.7 MB, free: 8.902 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.8879/0.8879, allocations: 158.6 MB / 186.5 MB, free: 3.051 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.1754/0.1754, allocations: 36.35 MB / 275.1 MB, free: 10.9 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.763e-06/1.763e-06, allocations: 0 / 415.6 MB, free: 5.609 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.3e-05/3.477e-05, allocations: 6.281 kB / 415.6 MB, free: 5.602 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.323/0.3231, allocations: 147.4 MB / 0.5498 GB, free: 9.703 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.00413/0.3272, allocations: 3.509 MB / 0.5532 GB, free: 6.184 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004866/0.3277, allocations: 11.88 kB / 0.5532 GB, free: 6.172 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001225/0.3289, allocations: 254.2 kB / 0.5535 GB, free: 5.922 MB / 458.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.000997/0.3299, allocations: 0.505 MB / 0.554 GB, free: 5.414 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003318/0.3332, allocations: 1.604 MB / 0.5555 GB, free: 3.809 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001425/0.3347, allocations: 1.262 MB / 0.5568 GB, free: 2.543 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005688/0.3352, allocations: 326.4 kB / 0.5571 GB, free: 2.223 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009119/0.3361, allocations: 0.6467 MB / 0.5577 GB, free: 1.574 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005743/0.3367, allocations: 426.8 kB / 0.5581 GB, free: 1.156 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 9.633e-05/0.3368, allocations: 52 kB / 0.5582 GB, free: 1.105 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002314/0.3391, allocations: 1.251 MB / 0.5594 GB, free: 15.85 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003315/0.3395, allocations: 387 kB / 0.5598 GB, free: 15.47 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003298/0.3398, allocations: 307.3 kB / 0.5601 GB, free: 15.17 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002957/0.3427, allocations: 1.812 MB / 0.5618 GB, free: 13.36 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3428, allocations: 2.719 kB / 0.5618 GB, free: 13.36 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3428, allocations: 0 / 0.5618 GB, free: 13.36 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.317e-05/0.3428, allocations: 0 / 0.5618 GB, free: 13.36 MB / 474.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.002066/0.3449, allocations: 1.215 MB / 0.563 GB, free: 12.11 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.3449, allocations: 8.031 kB / 0.563 GB, free: 12.1 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005524/0.3455, allocations: 163.2 kB / 0.5632 GB, free: 11.94 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007377/0.3462, allocations: 0.5794 MB / 0.5637 GB, free: 11.33 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.975e-05/0.3462, allocations: 37 kB / 0.5638 GB, free: 11.29 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.135e-05/0.3463, allocations: 48 kB / 0.5638 GB, free: 11.24 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009015/0.3472, allocations: 1.034 MB / 0.5648 GB, free: 10.09 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.3472, allocations: 0 / 0.5648 GB, free: 10.09 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.894e-05/0.3472, allocations: 27.94 kB / 0.5649 GB, free: 10.06 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.3473, allocations: 12 kB / 0.5649 GB, free: 10.05 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005025/0.3478, allocations: 467.6 kB / 0.5653 GB, free: 9.594 MB / 474.7 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.002551/0.3503, allocations: 1.605 MB / 0.5669 GB, free: 7.953 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.3505, allocations: 134.4 kB / 0.567 GB, free: 7.812 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.059e-05/0.3506, allocations: 56.97 kB / 0.5671 GB, free: 7.754 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001638/0.3508, allocations: 43.97 kB / 0.5671 GB, free: 7.711 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.3508, allocations: 42.55 kB / 0.5671 GB, free: 7.66 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 2.906e-06/0.3508, allocations: 0 / 0.5671 GB, free: 7.66 MB / 474.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004058/0.3512, allocations: 237.1 kB / 0.5674 GB, free: 7.422 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003436/0.3515, allocations: 55.41 kB / 0.5674 GB, free: 7.355 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008524/0.3524, allocations: 1.102 MB / 0.5685 GB, free: 6.246 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.3524, allocations: 33.7 kB / 0.5685 GB, free: 6.207 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002455/0.3527, allocations: 475.5 kB / 0.569 GB, free: 5.734 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.3527, allocations: 59.53 kB / 0.569 GB, free: 5.676 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.441e-05/0.3528, allocations: 85.95 kB / 0.5691 GB, free: 5.586 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.263e-05/0.3529, allocations: 322 kB / 0.5694 GB, free: 5.266 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.353, allocations: 130.6 kB / 0.5696 GB, free: 5.137 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001918/0.3532, allocations: 249.6 kB / 0.5698 GB, free: 4.832 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002925/0.3535, allocations: 337.1 kB / 0.5701 GB, free: 4.441 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.3535, allocations: 0 / 0.5701 GB, free: 4.441 MB / 474.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004944/0.354, allocations: 468.5 kB / 0.5706 GB, free: 3.977 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.354, allocations: 11.98 kB / 0.5706 GB, free: 3.965 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.354, allocations: 4.531 kB / 0.5706 GB, free: 3.961 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.3541, allocations: 8 kB / 0.5706 GB, free: 3.953 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002643/0.3543, allocations: 107.9 kB / 0.5707 GB, free: 3.848 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000304/0.3546, allocations: 0.6055 MB / 0.5713 GB, free: 3.219 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002195/0.3548, allocations: 47.66 kB / 0.5713 GB, free: 3.172 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.893e-05/0.3549, allocations: 24 kB / 0.5714 GB, free: 3.148 MB / 474.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.0003192/0.3552, allocations: 295.9 kB / 0.5716 GB, free: 2.852 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.277e-05/0.3553, allocations: 87.41 kB / 0.5717 GB, free: 2.766 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002879/0.3556, allocations: 233.3 kB / 0.5719 GB, free: 2.531 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.3556, allocations: 0 / 0.5719 GB, free: 2.531 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.3556, allocations: 3.938 kB / 0.5719 GB, free: 2.527 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.3556, allocations: 3.984 kB / 0.5719 GB, free: 2.523 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000417/0.356, allocations: 409 kB / 0.5723 GB, free: 2.094 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.356, allocations: 0 / 0.5723 GB, free: 2.094 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.3561, allocations: 47.91 kB / 0.5724 GB, free: 2.047 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.3561, allocations: 4 kB / 0.5724 GB, free: 2.043 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.3562, allocations: 3.984 kB / 0.5724 GB, free: 2.039 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002343/0.3564, allocations: 0.6016 MB / 0.573 GB, free: 1.414 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3564, allocations: 0 / 0.573 GB, free: 1.414 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003114/0.3567, allocations: 369.8 kB / 0.5733 GB, free: 1.039 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.3568, allocations: 91.39 kB / 0.5734 GB, free: 0.9492 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.414e-05/0.3569, allocations: 7.984 kB / 0.5734 GB, free: 0.9414 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.3571, allocations: 20.86 kB / 0.5734 GB, free: 0.9219 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.459e-05/0.3571, allocations: 7.984 kB / 0.5735 GB, free: 0.9141 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-05/0.3571, allocations: 15.98 kB / 0.5735 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000605/0.3577, allocations: 0.7723 MB / 0.5742 GB, free: 132 kB / 474.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3577, allocations: 0 / 0.5742 GB, free: 132 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008983/0.3586, allocations: 243.6 kB / 0.5745 GB, free: 15.89 MB / 490.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.001059/0.3597, allocations: 0.5737 MB / 0.575 GB, free: 15.32 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003894/0.3601, allocations: 224.3 kB / 0.5752 GB, free: 15.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3601, allocations: 0 / 0.5752 GB, free: 15.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.643e-05/0.3601, allocations: 63.91 kB / 0.5753 GB, free: 15.04 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005469/0.3607, allocations: 167.2 kB / 0.5754 GB, free: 14.88 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.3623, allocations: 1.463 MB / 0.5769 GB, free: 13.38 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.3625, allocations: 387.2 kB / 0.5772 GB, free: 12.97 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.833e-05/0.3626, allocations: 56.48 kB / 0.5773 GB, free: 12.91 MB / 490.7 MB Notification: Performance of SimCode: time 1.002e-06/0.3626, allocations: 4 kB / 0.5773 GB, free: 12.91 MB / 490.7 MB Notification: Performance of Templates: time 0.01463/0.3773, allocations: 15.05 MB / 0.592 GB, free: 13.84 MB / 0.4948 GB " [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: 6.1783749014139175] Failed to read output from testmodel.py, exit status != 0: 0.38310309406369925 0.39175742300000005 0.04722909 Calling exit ...