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.0009948/0.0009948, allocations: 80.8 kB / 21.5 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.001096/0.001096, allocations: 174 kB / 24.92 MB, free: 8.766 MB / 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.9711/0.9711, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.1038/0.1038, allocations: 19.74 MB / 281.6 MB, free: 9.148 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.212e-06/1.212e-06, allocations: 0 / 305.2 MB, free: 13.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.109e-05/2.23e-05, allocations: 3.953 kB / 305.2 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.3018/0.3018, allocations: 147.4 MB / 452.6 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003716/0.3056, allocations: 3.45 MB / 456 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002922/0.3059, allocations: 10.03 kB / 456 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004172/0.3063, allocations: 152.2 kB / 456.2 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008011/0.3071, allocations: 0.5485 MB / 456.7 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002563/0.3096, allocations: 1.403 MB / 458.1 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001248/0.3109, allocations: 1.252 MB / 459.4 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003496/0.3112, allocations: 353.3 kB / 459.7 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007384/0.312, allocations: 0.7623 MB / 460.5 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003375/0.3123, allocations: 330.5 kB / 460.8 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.967e-05/0.3124, allocations: 55.78 kB / 460.9 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001604/0.314, allocations: 1.013 MB / 461.9 MB, free: 10.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002691/0.3143, allocations: 382.6 kB / 462.2 MB, free: 10.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002784/0.3145, allocations: 303.1 kB / 462.5 MB, free: 10.34 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001526/0.3161, allocations: 1.403 MB / 463.9 MB, free: 10.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.3161, allocations: 0 / 463.9 MB, free: 10.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3161, allocations: 2.219 kB / 464 MB, free: 10.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.3161, allocations: 0 / 464 MB, free: 10.21 MB / 410.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.0009816/0.3171, allocations: 1.164 MB / 465.1 MB, free: 9.555 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.815e-05/0.3171, allocations: 9.594 kB / 465.1 MB, free: 9.555 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004412/0.3175, allocations: 211.4 kB / 465.3 MB, free: 9.531 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004352/0.318, allocations: 485.6 kB / 465.8 MB, free: 9.266 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/0.318, allocations: 36.75 kB / 465.8 MB, free: 9.262 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.447e-05/0.3181, allocations: 59.03 kB / 465.9 MB, free: 9.258 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005468/0.3186, allocations: 0.8133 MB / 466.7 MB, free: 8.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.3186, allocations: 3.094 kB / 466.7 MB, free: 8.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.648e-05/0.3187, allocations: 22.66 kB / 466.7 MB, free: 8.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.3187, allocations: 12.38 kB / 466.7 MB, free: 8.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002251/0.3189, allocations: 156.1 kB / 466.9 MB, free: 8.648 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001443/0.3204, allocations: 1.138 MB / 468 MB, free: 8.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.3205, allocations: 128.6 kB / 468.2 MB, free: 8.195 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.782e-05/0.3205, allocations: 22.33 kB / 468.2 MB, free: 8.188 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001146/0.3206, allocations: 43.23 kB / 468.2 MB, free: 8.188 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.3206, allocations: 40.28 kB / 468.3 MB, free: 8.148 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.3206, allocations: 0 / 468.3 MB, free: 8.148 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001917/0.3208, allocations: 132.5 kB / 468.4 MB, free: 8.113 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.77e-05/0.3209, allocations: 51.41 kB / 468.4 MB, free: 8.051 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004243/0.3213, allocations: 0.7175 MB / 469.2 MB, free: 7.891 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.3213, allocations: 29.58 kB / 469.2 MB, free: 7.859 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.3214, allocations: 372.5 kB / 469.6 MB, free: 7.641 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.3214, allocations: 58.88 kB / 469.6 MB, free: 7.609 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.216e-05/0.3215, allocations: 84.03 kB / 469.7 MB, free: 7.586 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.265e-05/0.3216, allocations: 323.3 kB / 470 MB, free: 7.277 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.62e-05/0.3216, allocations: 60.08 kB / 470.1 MB, free: 7.266 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.3217, allocations: 178.1 kB / 470.2 MB, free: 7.098 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.3219, allocations: 261.7 kB / 470.5 MB, free: 6.906 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3219, allocations: 3.375 kB / 470.5 MB, free: 6.906 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000257/0.3222, allocations: 271.6 kB / 470.8 MB, free: 6.844 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.3222, allocations: 9.562 kB / 470.8 MB, free: 6.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3222, allocations: 6.406 kB / 470.8 MB, free: 6.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.3222, allocations: 6.188 kB / 470.8 MB, free: 6.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.3224, allocations: 99.73 kB / 470.9 MB, free: 6.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001542/0.3226, allocations: 0.5985 MB / 471.5 MB, free: 6.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001726/0.3227, allocations: 43.05 kB / 471.5 MB, free: 6.227 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.642e-05/0.3228, allocations: 21.23 kB / 471.5 MB, free: 6.227 MB / 410.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.0001443/0.3229, allocations: 139.5 kB / 471.7 MB, free: 6.105 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.444e-05/0.323, allocations: 47.27 kB / 471.7 MB, free: 6.105 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001517/0.3231, allocations: 153 kB / 471.9 MB, free: 6.059 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3231, allocations: 4.906 kB / 471.9 MB, free: 6.055 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.3231, allocations: 0 / 471.9 MB, free: 6.055 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.3231, allocations: 4.062 kB / 471.9 MB, free: 6.055 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002876/0.3234, allocations: 266 kB / 472.2 MB, free: 5.977 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3234, allocations: 0 / 472.2 MB, free: 5.977 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.3235, allocations: 46.66 kB / 472.2 MB, free: 5.977 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3235, allocations: 0 / 472.2 MB, free: 5.977 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.3235, allocations: 9.812 kB / 472.2 MB, free: 5.977 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.428e-05/0.3236, allocations: 0.5843 MB / 472.8 MB, free: 5.387 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3236, allocations: 3.875 kB / 472.8 MB, free: 5.387 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.3238, allocations: 296.2 kB / 473.1 MB, free: 5.199 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.356e-05/0.3239, allocations: 64.67 kB / 473.1 MB, free: 5.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.861e-05/0.3239, allocations: 2.375 kB / 473.1 MB, free: 5.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.324, allocations: 15.22 kB / 473.2 MB, free: 5.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.619e-05/0.3241, allocations: 9.125 kB / 473.2 MB, free: 5.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.3241, allocations: 15.91 kB / 473.2 MB, free: 5.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002325/0.3243, allocations: 360 kB / 473.5 MB, free: 5.129 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3243, allocations: 0 / 473.5 MB, free: 5.129 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005223/0.3248, allocations: 229.8 kB / 473.8 MB, free: 5.086 MB / 410.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.001295/0.3261, allocations: 0.5804 MB / 474.3 MB, free: 4.938 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002117/0.3263, allocations: 146.8 kB / 474.5 MB, free: 4.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-05/0.3264, allocations: 17.19 kB / 474.5 MB, free: 4.926 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.142e-05/0.3264, allocations: 40.02 kB / 474.5 MB, free: 4.918 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004891/0.3269, allocations: 178.2 kB / 474.7 MB, free: 4.895 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.3283, allocations: 1.252 MB / 476 MB, free: 4.273 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.3284, allocations: 194.2 kB / 476.2 MB, free: 4.195 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002416/0.3287, allocations: 90.48 kB / 476.2 MB, free: 4.176 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003512/0.329, allocations: 227.2 kB / 476.5 MB, free: 4.125 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.329, allocations: 1.062 kB / 476.5 MB, free: 4.125 MB / 410.7 MB Notification: Performance of Templates: time 0.01251/0.3415, allocations: 11.17 MB / 487.6 MB, free: 2.867 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.5895046619698405]