Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.0009586/0.0009586, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001572/0.001572, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9383/0.9383, allocations: 177.2 MB / 205 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.08957/0.08957, allocations: 19.75 MB / 281.2 MB, free: 9.234 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine") translateModel(ThermoPower.Test.GasComponents.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 357.9 MB, free: 6.613 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.253e-05, allocations: 2.312 kB / 357.9 MB, free: 6.609 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.2718/0.2718, allocations: 148.1 MB / 0.4941 GB, free: 10.73 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0041/0.2759, allocations: 3.429 MB / 0.4975 GB, free: 7.305 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003728/0.2763, allocations: 7.938 kB / 0.4975 GB, free: 7.297 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006052/0.2769, allocations: 158.8 kB / 0.4977 GB, free: 7.141 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008924/0.2778, allocations: 0.5477 MB / 0.4982 GB, free: 6.59 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002639/0.2804, allocations: 1.39 MB / 0.4995 GB, free: 5.195 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001167/0.2816, allocations: 1.258 MB / 0.5008 GB, free: 3.934 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000484/0.2821, allocations: 354.1 kB / 0.5011 GB, free: 3.586 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008491/0.2829, allocations: 0.7873 MB / 0.5019 GB, free: 2.797 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000417/0.2833, allocations: 350.9 kB / 0.5022 GB, free: 2.453 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.015e-05/0.2834, allocations: 56 kB / 0.5023 GB, free: 2.398 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001835/0.2852, allocations: 1.032 MB / 0.5033 GB, free: 1.367 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002887/0.2855, allocations: 379 kB / 0.5036 GB, free: 0.9961 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002596/0.2858, allocations: 307.3 kB / 0.5039 GB, free: 0.6953 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001724/0.2875, allocations: 1.391 MB / 0.5053 GB, free: 15.3 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.2875, allocations: 4 kB / 0.5053 GB, free: 15.29 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2875, allocations: 0 / 0.5053 GB, free: 15.29 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.522e-05/0.2875, allocations: 0 / 0.5053 GB, free: 15.29 MB / 394.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.001467/0.289, allocations: 1.335 MB / 0.5066 GB, free: 13.92 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.289, allocations: 8.031 kB / 0.5066 GB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000586/0.2896, allocations: 247.8 kB / 0.5068 GB, free: 13.67 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000616/0.2902, allocations: 0.5249 MB / 0.5074 GB, free: 13.11 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.2903, allocations: 37 kB / 0.5074 GB, free: 13.07 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.519e-05/0.2903, allocations: 59.94 kB / 0.5074 GB, free: 13.02 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006519/0.291, allocations: 0.8405 MB / 0.5083 GB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.291, allocations: 7.891 kB / 0.5083 GB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.327e-05/0.291, allocations: 28 kB / 0.5083 GB, free: 12.02 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.2911, allocations: 12 kB / 0.5083 GB, free: 12.01 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003008/0.2914, allocations: 217.8 kB / 0.5085 GB, free: 11.79 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002401/0.2938, allocations: 1.615 MB / 0.5101 GB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.2939, allocations: 95.12 kB / 0.5102 GB, free: 10.03 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.84e-05/0.294, allocations: 31.67 kB / 0.5102 GB, free: 9.996 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001511/0.2941, allocations: 51.95 kB / 0.5103 GB, free: 9.945 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.2942, allocations: 45.02 kB / 0.5103 GB, free: 9.895 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.884e-06/0.2942, allocations: 0 / 0.5103 GB, free: 9.895 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003064/0.2945, allocations: 193.4 kB / 0.5105 GB, free: 9.699 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.429e-05/0.2945, allocations: 59.28 kB / 0.5106 GB, free: 9.629 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006149/0.2951, allocations: 0.8273 MB / 0.5114 GB, free: 8.781 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.2951, allocations: 33.7 kB / 0.5114 GB, free: 8.742 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002619/0.2954, allocations: 0.5413 MB / 0.5119 GB, free: 8.191 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.23e-05/0.2954, allocations: 55.53 kB / 0.512 GB, free: 8.137 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.265e-05/0.2955, allocations: 91.62 kB / 0.5121 GB, free: 8.039 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.2956, allocations: 0.4887 MB / 0.5125 GB, free: 7.543 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.2957, allocations: 69.5 kB / 0.5126 GB, free: 7.473 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.2959, allocations: 238.7 kB / 0.5128 GB, free: 7.152 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/0.2961, allocations: 307.1 kB / 0.5131 GB, free: 6.77 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2961, allocations: 0 / 0.5131 GB, free: 6.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003876/0.2965, allocations: 364 kB / 0.5135 GB, free: 6.41 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.2965, allocations: 7.984 kB / 0.5135 GB, free: 6.402 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.2966, allocations: 11.94 kB / 0.5135 GB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.2966, allocations: 4 kB / 0.5135 GB, free: 6.387 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002533/0.2968, allocations: 103.8 kB / 0.5136 GB, free: 6.285 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000338/0.2972, allocations: 0.9049 MB / 0.5145 GB, free: 5.352 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/0.2973, allocations: 51.66 kB / 0.5145 GB, free: 5.301 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/0.2974, allocations: 24.27 kB / 0.5145 GB, free: 5.277 MB / 394.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.000171/0.2975, allocations: 189.5 kB / 0.5147 GB, free: 5.082 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.396e-05/0.2976, allocations: 83.48 kB / 0.5148 GB, free: 5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002253/0.2978, allocations: 178.5 kB / 0.515 GB, free: 4.82 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.2979, allocations: 4 kB / 0.515 GB, free: 4.816 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2979, allocations: 0 / 0.515 GB, free: 4.816 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2979, allocations: 4.031 kB / 0.515 GB, free: 4.812 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004157/0.2983, allocations: 476.3 kB / 0.5154 GB, free: 4.312 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2983, allocations: 0 / 0.5154 GB, free: 4.312 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.2984, allocations: 47.97 kB / 0.5155 GB, free: 4.266 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.2984, allocations: 0 / 0.5155 GB, free: 4.266 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.2984, allocations: 4 kB / 0.5155 GB, free: 4.262 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002782/0.2987, allocations: 0.9019 MB / 0.5164 GB, free: 3.332 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2987, allocations: 0 / 0.5164 GB, free: 3.332 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005304/0.2992, allocations: 355 kB / 0.5167 GB, free: 2.973 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.934e-05/0.2993, allocations: 79.45 kB / 0.5168 GB, free: 2.895 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.997e-05/0.2993, allocations: 4 kB / 0.5168 GB, free: 2.891 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.2995, allocations: 16.08 kB / 0.5168 GB, free: 2.875 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.678e-05/0.2995, allocations: 19.97 kB / 0.5168 GB, free: 2.855 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.131e-05/0.2995, allocations: 13.11 kB / 0.5168 GB, free: 2.844 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003856/0.2999, allocations: 0.5145 MB / 0.5173 GB, free: 2.336 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2999, allocations: 0 / 0.5173 GB, free: 2.336 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005072/0.3004, allocations: 219.4 kB / 0.5175 GB, free: 2.121 MB / 394.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.001012/0.3014, allocations: 482.5 kB / 0.518 GB, free: 1.773 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002897/0.3017, allocations: 164.4 kB / 0.5182 GB, free: 1.609 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.3017, allocations: 7.938 kB / 0.5182 GB, free: 1.602 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.036e-05/0.3018, allocations: 55.59 kB / 0.5182 GB, free: 1.543 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005079/0.3023, allocations: 172.5 kB / 0.5184 GB, free: 1.375 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.3039, allocations: 1.274 MB / 0.5196 GB, free: 64 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001288/0.304, allocations: 189.2 kB / 0.5198 GB, free: 15.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002085/0.3043, allocations: 96.55 kB / 0.5199 GB, free: 15.76 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.38e-05/0.3043, allocations: 52.48 kB / 0.52 GB, free: 15.71 MB / 410.7 MB Notification: Performance of SimCode: time 8.51e-07/0.3043, allocations: 0 / 0.52 GB, free: 15.71 MB / 410.7 MB Notification: Performance of Templates: time 0.01372/0.3181, allocations: 11.18 MB / 0.5309 GB, free: 4.629 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4290435197763145]