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.0008642/0.0008642, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.000861/0.000861, allocations: 165.4 kB / 24.56 MB, free: 16 kB / 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.82/0.82, allocations: 158.6 MB / 186.4 MB, free: 2.547 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.1615/0.1615, allocations: 36.33 MB / 275.1 MB, free: 10.63 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.372e-06/1.372e-06, allocations: 0 / 353.8 MB, free: 3.461 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.363e-05/1.5e-05, allocations: 9.906 kB / 353.8 MB, free: 3.453 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.2591/0.2591, allocations: 146.4 MB / 0.4885 GB, free: 4.59 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002915/0.2621, allocations: 3.589 MB / 0.492 GB, free: 2.547 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001851/0.2622, allocations: 9.219 kB / 0.492 GB, free: 2.543 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004236/0.2627, allocations: 147.2 kB / 0.4921 GB, free: 2.434 MB / 362.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.0005422/0.2632, allocations: 0.4983 MB / 0.4926 GB, free: 2.109 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001844/0.265, allocations: 1.456 MB / 0.494 GB, free: 1.078 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007615/0.2658, allocations: 1.23 MB / 0.4952 GB, free: 380 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002962/0.2661, allocations: 347.9 kB / 0.4956 GB, free: 128 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006222/0.2667, allocations: 0.7708 MB / 0.4963 GB, free: 15.72 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003102/0.267, allocations: 348.7 kB / 0.4966 GB, free: 15.53 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.604e-05/0.2671, allocations: 54.22 kB / 0.4967 GB, free: 15.53 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001204/0.2683, allocations: 1.074 MB / 0.4977 GB, free: 14.98 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002206/0.2685, allocations: 379.4 kB / 0.4981 GB, free: 14.75 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002062/0.2687, allocations: 304.2 kB / 0.4984 GB, free: 14.6 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001291/0.27, allocations: 1.414 MB / 0.4998 GB, free: 13.31 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.27, allocations: 0 / 0.4998 GB, free: 13.31 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.27, allocations: 4 kB / 0.4998 GB, free: 13.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.27, allocations: 4 kB / 0.4998 GB, free: 13.3 MB / 378.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.001192/0.2712, allocations: 1.307 MB / 0.5011 GB, free: 11.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.2713, allocations: 8.031 kB / 0.5011 GB, free: 11.94 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004907/0.2718, allocations: 259.7 kB / 0.5013 GB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008076/0.2726, allocations: 0.5129 MB / 0.5018 GB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.2726, allocations: 37.38 kB / 0.5019 GB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.114e-05/0.2726, allocations: 56.38 kB / 0.5019 GB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006441/0.2733, allocations: 0.8482 MB / 0.5027 GB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.2733, allocations: 4 kB / 0.5027 GB, free: 10.08 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.021e-05/0.2733, allocations: 24 kB / 0.5028 GB, free: 10.06 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.2734, allocations: 12 kB / 0.5028 GB, free: 10.05 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003062/0.2737, allocations: 219.2 kB / 0.503 GB, free: 9.832 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002003/0.2757, allocations: 1.606 MB / 0.5046 GB, free: 8.184 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.2758, allocations: 95 kB / 0.5046 GB, free: 8.078 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.763e-05/0.2759, allocations: 31.81 kB / 0.5047 GB, free: 8.043 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000139/0.276, allocations: 55.95 kB / 0.5047 GB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.276, allocations: 37.39 kB / 0.5048 GB, free: 7.941 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.276, allocations: 0 / 0.5048 GB, free: 7.941 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002911/0.2763, allocations: 193.4 kB / 0.5049 GB, free: 7.746 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.198e-05/0.2764, allocations: 51.41 kB / 0.505 GB, free: 7.684 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006004/0.277, allocations: 0.8195 MB / 0.5058 GB, free: 6.848 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.277, allocations: 33.7 kB / 0.5058 GB, free: 6.809 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002668/0.2772, allocations: 0.5412 MB / 0.5064 GB, free: 6.258 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.2773, allocations: 51.53 kB / 0.5064 GB, free: 6.207 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.789e-05/0.2774, allocations: 87.67 kB / 0.5065 GB, free: 6.113 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.2775, allocations: 0.4926 MB / 0.507 GB, free: 5.613 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.2776, allocations: 73.5 kB / 0.507 GB, free: 5.539 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.2777, allocations: 238.6 kB / 0.5073 GB, free: 5.219 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002424/0.278, allocations: 301.5 kB / 0.5076 GB, free: 4.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.278, allocations: 0 / 0.5076 GB, free: 4.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000389/0.2784, allocations: 372.5 kB / 0.5079 GB, free: 4.469 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.2784, allocations: 10.97 kB / 0.5079 GB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.2784, allocations: 7.938 kB / 0.5079 GB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.2784, allocations: 7.938 kB / 0.5079 GB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.2787, allocations: 111.3 kB / 0.508 GB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000602/0.2793, allocations: 0.9089 MB / 0.5089 GB, free: 3.402 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.2794, allocations: 47.66 kB / 0.509 GB, free: 3.355 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.05e-05/0.2795, allocations: 24 kB / 0.509 GB, free: 3.332 MB / 378.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.0001517/0.2796, allocations: 176.5 kB / 0.5092 GB, free: 3.148 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.325e-05/0.2797, allocations: 87.41 kB / 0.5093 GB, free: 3.062 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002058/0.2799, allocations: 175 kB / 0.5094 GB, free: 2.887 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.2799, allocations: 0 / 0.5094 GB, free: 2.887 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.2799, allocations: 4.062 kB / 0.5094 GB, free: 2.883 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.2799, allocations: 0 / 0.5094 GB, free: 2.883 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004036/0.2803, allocations: 472.3 kB / 0.5099 GB, free: 2.387 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2803, allocations: 0 / 0.5099 GB, free: 2.387 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.2804, allocations: 43.91 kB / 0.5099 GB, free: 2.344 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.2804, allocations: 0 / 0.5099 GB, free: 2.344 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.2804, allocations: 8 kB / 0.5099 GB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002613/0.2807, allocations: 0.8971 MB / 0.5108 GB, free: 1.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2807, allocations: 0 / 0.5108 GB, free: 1.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002561/0.281, allocations: 352.2 kB / 0.5111 GB, free: 1.047 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.052e-05/0.281, allocations: 79.45 kB / 0.5112 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.809e-05/0.2811, allocations: 4 kB / 0.5112 GB, free: 0.9648 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.2812, allocations: 19.23 kB / 0.5112 GB, free: 0.9492 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.085e-05/0.2812, allocations: 15.91 kB / 0.5112 GB, free: 0.9336 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.2813, allocations: 15.98 kB / 0.5113 GB, free: 0.918 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003586/0.2816, allocations: 0.495 MB / 0.5117 GB, free: 440 kB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2816, allocations: 0 / 0.5117 GB, free: 440 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003775/0.282, allocations: 219.5 kB / 0.512 GB, free: 220 kB / 378.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.0009042/0.2829, allocations: 489.8 kB / 0.5124 GB, free: 15.77 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002931/0.2832, allocations: 172.8 kB / 0.5126 GB, free: 15.59 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.2832, allocations: 0 / 0.5126 GB, free: 15.59 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.868e-05/0.2833, allocations: 59.59 kB / 0.5126 GB, free: 15.53 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004781/0.2837, allocations: 187.5 kB / 0.5128 GB, free: 15.34 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.2852, allocations: 1.242 MB / 0.514 GB, free: 14.07 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/0.2853, allocations: 193.2 kB / 0.5142 GB, free: 13.86 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001841/0.2855, allocations: 88.53 kB / 0.5143 GB, free: 13.77 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.564e-05/0.2855, allocations: 44.48 kB / 0.5143 GB, free: 13.73 MB / 394.7 MB Notification: Performance of SimCode: time 5.41e-07/0.2855, allocations: 0 / 0.5143 GB, free: 13.73 MB / 394.7 MB Notification: Performance of Templates: time 0.01323/0.2988, allocations: 11.35 MB / 0.5254 GB, free: 2.336 MB / 394.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.3551437319256365]