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.001/0.001, allocations: 80.8 kB / 21.49 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.000986/0.000986, allocations: 169.9 kB / 24.91 MB, free: 9.191 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.9436/0.9436, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.08772/0.08772, allocations: 19.75 MB / 281.6 MB, free: 9.137 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.372e-06/1.372e-06, allocations: 0 / 305.2 MB, free: 13.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.395e-05/1.532e-05, allocations: 4 kB / 305.2 MB, free: 13.04 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.3112/0.3112, allocations: 147.4 MB / 452.7 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004299/0.3155, allocations: 3.451 MB / 456.1 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005194/0.3161, allocations: 8.875 kB / 456.1 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005652/0.3166, allocations: 161 kB / 456.3 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001198/0.3178, allocations: 0.5434 MB / 456.8 MB, free: 10.42 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003154/0.321, allocations: 1.358 MB / 458.2 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001714/0.3227, allocations: 1.254 MB / 459.4 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005976/0.3233, allocations: 341.9 kB / 459.8 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00115/0.3244, allocations: 0.7401 MB / 460.5 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006528/0.3251, allocations: 330.5 kB / 460.8 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001324/0.3252, allocations: 55.19 kB / 460.9 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002127/0.3273, allocations: 1.058 MB / 461.9 MB, free: 10.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003049/0.3277, allocations: 378.4 kB / 462.3 MB, free: 10.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004102/0.3281, allocations: 299 kB / 462.6 MB, free: 10.34 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002016/0.3301, allocations: 1.404 MB / 464 MB, free: 10.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3301, allocations: 0.9688 kB / 464 MB, free: 10.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.3301, allocations: 0 / 464 MB, free: 10.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.534e-05/0.3301, 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.001355/0.3315, allocations: 1.168 MB / 465.2 MB, free: 9.555 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.3315, allocations: 9.094 kB / 465.2 MB, free: 9.555 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005967/0.3321, allocations: 209.5 kB / 465.4 MB, free: 9.531 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005769/0.3327, allocations: 486.4 kB / 465.9 MB, free: 9.266 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.151e-05/0.3327, allocations: 36.5 kB / 465.9 MB, free: 9.262 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.733e-05/0.3328, allocations: 62.81 kB / 466 MB, free: 9.254 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005277/0.3333, allocations: 0.8101 MB / 466.8 MB, free: 8.656 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.3333, allocations: 5.438 kB / 466.8 MB, free: 8.656 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.154e-05/0.3334, allocations: 22.75 kB / 466.8 MB, free: 8.656 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.3334, allocations: 12.84 kB / 466.8 MB, free: 8.656 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002151/0.3336, allocations: 157 kB / 467 MB, free: 8.645 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001658/0.3353, allocations: 1.141 MB / 468.1 MB, free: 8.266 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.3354, allocations: 122 kB / 468.2 MB, free: 8.191 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.712e-05/0.3354, allocations: 23.53 kB / 468.2 MB, free: 8.184 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000129/0.3355, allocations: 40.83 kB / 468.3 MB, free: 8.184 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.3355, allocations: 37.72 kB / 468.3 MB, free: 8.145 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.673e-06/0.3355, allocations: 3.031 kB / 468.3 MB, free: 8.145 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001974/0.3357, allocations: 132.5 kB / 468.5 MB, free: 8.109 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.379e-05/0.3358, allocations: 55.41 kB / 468.5 MB, free: 8.047 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004545/0.3362, allocations: 0.7092 MB / 469.2 MB, free: 7.887 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.3362, allocations: 32.83 kB / 469.2 MB, free: 7.855 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.3364, allocations: 372.2 kB / 469.6 MB, free: 7.637 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.3364, allocations: 58.52 kB / 469.7 MB, free: 7.605 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.639e-05/0.3365, allocations: 80.69 kB / 469.7 MB, free: 7.582 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.593e-05/0.3365, allocations: 326.2 kB / 470.1 MB, free: 7.273 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.468e-05/0.3366, allocations: 59.89 kB / 470.1 MB, free: 7.262 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.162e-05/0.3366, allocations: 177.4 kB / 470.3 MB, free: 7.094 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.3368, allocations: 257.3 kB / 470.5 MB, free: 6.906 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3368, allocations: 3.562 kB / 470.6 MB, free: 6.906 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002706/0.3371, allocations: 277 kB / 470.8 MB, free: 6.844 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.3371, allocations: 9.375 kB / 470.8 MB, free: 6.844 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.3371, allocations: 2.969 kB / 470.8 MB, free: 6.844 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.3371, allocations: 7.25 kB / 470.8 MB, free: 6.844 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002878/0.3374, allocations: 115.4 kB / 471 MB, free: 6.844 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000161/0.3376, allocations: 0.5976 MB / 471.6 MB, free: 6.254 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/0.3377, allocations: 43.73 kB / 471.6 MB, free: 6.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/0.3378, allocations: 19.5 kB / 471.6 MB, free: 6.23 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.0001593/0.3379, allocations: 148.2 kB / 471.8 MB, free: 6.105 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.767e-05/0.338, allocations: 47.42 kB / 471.8 MB, free: 6.105 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001706/0.3382, allocations: 153.1 kB / 472 MB, free: 6.055 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3382, allocations: 2.969 kB / 472 MB, free: 6.055 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.3382, allocations: 0.5625 kB / 472 MB, free: 6.055 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.3382, allocations: 2.906 kB / 472 MB, free: 6.055 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002992/0.3385, allocations: 270.9 kB / 472.2 MB, free: 5.977 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3385, allocations: 0.625 kB / 472.2 MB, free: 5.977 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.3386, allocations: 53.78 kB / 472.3 MB, free: 5.977 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.3386, allocations: 5.844 kB / 472.3 MB, free: 5.977 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.3386, allocations: 4.344 kB / 472.3 MB, free: 5.977 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001066/0.3387, allocations: 0.5863 MB / 472.9 MB, free: 5.387 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3387, allocations: 2.906 kB / 472.9 MB, free: 5.387 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001621/0.3389, allocations: 290.9 kB / 473.2 MB, free: 5.199 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.939e-05/0.339, allocations: 67.19 kB / 473.2 MB, free: 5.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.525e-05/0.339, allocations: 6.406 kB / 473.2 MB, free: 5.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.3392, allocations: 12.52 kB / 473.2 MB, free: 5.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.811e-05/0.3392, allocations: 8.984 kB / 473.3 MB, free: 5.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.3392, allocations: 15.59 kB / 473.3 MB, free: 5.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002433/0.3394, allocations: 357.7 kB / 473.6 MB, free: 5.129 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3394, allocations: 3.094 kB / 473.6 MB, free: 5.129 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005115/0.3399, allocations: 231.9 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.001208/0.3412, allocations: 0.5766 MB / 474.4 MB, free: 4.945 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002181/0.3414, allocations: 149.5 kB / 474.6 MB, free: 4.934 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.826e-05/0.3414, allocations: 11.09 kB / 474.6 MB, free: 4.934 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.765e-05/0.3414, allocations: 42.97 kB / 474.6 MB, free: 4.926 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/0.3419, allocations: 178.4 kB / 474.8 MB, free: 4.902 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.3434, allocations: 1.255 MB / 476.1 MB, free: 4.281 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.954e-05/0.3435, allocations: 193.2 kB / 476.2 MB, free: 4.203 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002354/0.3437, allocations: 90.92 kB / 476.3 MB, free: 4.184 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003706/0.3441, allocations: 228.7 kB / 476.6 MB, free: 4.133 MB / 410.7 MB Notification: Performance of SimCode: time 1.362e-06/0.3441, allocations: 0 / 476.6 MB, free: 4.133 MB / 410.7 MB Notification: Performance of Templates: time 0.01505/0.3591, allocations: 11.21 MB / 487.8 MB, free: 2.852 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5607378683052957]