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.001825/0.001825, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.001931/0.001931, allocations: 165.3 kB / 24.28 MB, free: 152 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 1.501/1.501, allocations: 177.1 MB / 204.6 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 178] 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.1634/0.1634, allocations: 19.74 MB / 280.8 MB, free: 9.27 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.923e-06/1.923e-06, allocations: 0 / 357.2 MB, free: 6.973 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.218e-05/3.41e-05, allocations: 2.312 kB / 357.2 MB, free: 6.969 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.3718/0.3718, allocations: 162.5 MB / 0.5075 GB, free: 12.39 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.006507/0.3783, allocations: 3.691 MB / 0.5111 GB, free: 8.691 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003207/0.3786, allocations: 11.94 kB / 0.5111 GB, free: 8.68 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009242/0.3796, allocations: 266.2 kB / 0.5114 GB, free: 8.418 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001169/0.3807, allocations: 0.5477 MB / 0.5119 GB, free: 7.867 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003809/0.3845, allocations: 1.545 MB / 0.5134 GB, free: 6.316 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001917/0.3865, allocations: 1.281 MB / 0.5147 GB, free: 5.031 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005846/0.387, allocations: 354.1 kB / 0.515 GB, free: 4.684 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001013/0.3881, allocations: 0.6546 MB / 0.5157 GB, free: 4.027 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000681/0.3887, allocations: 430.8 kB / 0.5161 GB, free: 3.605 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.3889, allocations: 52 kB / 0.5161 GB, free: 3.555 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002613/0.3915, allocations: 1.196 MB / 0.5173 GB, free: 2.355 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004593/0.3919, allocations: 399 kB / 0.5177 GB, free: 1.965 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004456/0.3924, allocations: 311.3 kB / 0.518 GB, free: 1.66 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002738/0.3951, allocations: 1.796 MB / 0.5197 GB, free: 15.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.3951, allocations: 0 / 0.5197 GB, free: 15.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3951, allocations: 4 kB / 0.5197 GB, free: 15.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.3951, allocations: 0 / 0.5197 GB, free: 15.86 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.002403/0.3975, allocations: 1.401 MB / 0.5211 GB, free: 14.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.3976, allocations: 8.031 kB / 0.5211 GB, free: 14.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009084/0.3985, allocations: 250.8 kB / 0.5213 GB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.3998, allocations: 0.5228 MB / 0.5219 GB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.84e-05/0.3998, allocations: 37 kB / 0.5219 GB, free: 13.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.3999, allocations: 56 kB / 0.5219 GB, free: 13.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/0.4012, allocations: 0.9382 MB / 0.5229 GB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.4013, allocations: 0 / 0.5229 GB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.687e-05/0.4013, allocations: 24 kB / 0.5229 GB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.923e-05/0.4014, allocations: 15.94 kB / 0.5229 GB, free: 12.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000652/0.402, allocations: 315.8 kB / 0.5232 GB, free: 12.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004365/0.4064, allocations: 1.916 MB / 0.5251 GB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003069/0.4067, allocations: 143.1 kB / 0.5252 GB, free: 9.992 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.602e-05/0.4068, allocations: 43.67 kB / 0.5252 GB, free: 9.945 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002589/0.407, allocations: 51.95 kB / 0.5253 GB, free: 9.895 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.267e-05/0.4071, allocations: 41.39 kB / 0.5253 GB, free: 9.844 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.4071, allocations: 0 / 0.5253 GB, free: 9.844 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005333/0.4076, allocations: 233.1 kB / 0.5256 GB, free: 9.609 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.4077, allocations: 55.41 kB / 0.5256 GB, free: 9.543 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001413/0.4091, allocations: 0.9991 MB / 0.5266 GB, free: 8.523 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.016e-05/0.4091, allocations: 29.7 kB / 0.5266 GB, free: 8.488 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005729/0.4097, allocations: 0.5647 MB / 0.5272 GB, free: 7.918 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.495e-05/0.4098, allocations: 63.52 kB / 0.5272 GB, free: 7.855 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001664/0.4099, allocations: 95.67 kB / 0.5273 GB, free: 7.754 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000283/0.4102, allocations: 0.5004 MB / 0.5278 GB, free: 7.246 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002265/0.4104, allocations: 109.5 kB / 0.5279 GB, free: 7.137 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003854/0.4108, allocations: 286.6 kB / 0.5282 GB, free: 6.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007734/0.4116, allocations: 379.9 kB / 0.5285 GB, free: 6.316 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.4116, allocations: 4 kB / 0.5285 GB, free: 6.312 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007632/0.4124, allocations: 420.1 kB / 0.5289 GB, free: 5.898 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.4124, allocations: 8 kB / 0.529 GB, free: 5.891 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.4124, allocations: 4 kB / 0.529 GB, free: 5.887 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.4124, allocations: 8 kB / 0.529 GB, free: 5.879 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004779/0.4129, allocations: 107.8 kB / 0.5291 GB, free: 5.773 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006405/0.4135, allocations: 0.905 MB / 0.53 GB, free: 4.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003831/0.4139, allocations: 59.47 kB / 0.53 GB, free: 4.785 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.231e-05/0.414, allocations: 24.28 kB / 0.53 GB, free: 4.762 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.0003022/0.4143, allocations: 216.5 kB / 0.5302 GB, free: 4.539 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/0.4144, allocations: 79.53 kB / 0.5303 GB, free: 4.461 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004112/0.4148, allocations: 206.2 kB / 0.5305 GB, free: 4.254 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.4148, allocations: 3.938 kB / 0.5305 GB, free: 4.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.4148, allocations: 0 / 0.5305 GB, free: 4.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4148, allocations: 4 kB / 0.5305 GB, free: 4.246 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008885/0.4157, allocations: 0.5706 MB / 0.5311 GB, free: 3.641 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4157, allocations: 3.938 kB / 0.5311 GB, free: 3.637 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002506/0.416, allocations: 51.97 kB / 0.5311 GB, free: 3.586 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.416, allocations: 0 / 0.5311 GB, free: 3.586 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.416, allocations: 3.984 kB / 0.5311 GB, free: 3.582 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005937/0.4166, allocations: 0.9049 MB / 0.532 GB, free: 2.648 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4166, allocations: 4 kB / 0.532 GB, free: 2.645 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005412/0.4171, allocations: 400.1 kB / 0.5324 GB, free: 2.234 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002496/0.4174, allocations: 95.38 kB / 0.5325 GB, free: 2.141 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.328e-05/0.4175, allocations: 4 kB / 0.5325 GB, free: 2.137 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000362/0.4178, allocations: 20.08 kB / 0.5325 GB, free: 2.117 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.518e-05/0.4178, allocations: 7.984 kB / 0.5325 GB, free: 2.109 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.133e-05/0.4179, allocations: 19.97 kB / 0.5325 GB, free: 2.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000846/0.4187, allocations: 0.5888 MB / 0.5331 GB, free: 1.508 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4187, allocations: 0 / 0.5331 GB, free: 1.508 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007589/0.4195, allocations: 247.4 kB / 0.5334 GB, free: 1.266 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.003018/0.4225, allocations: 0.5742 MB / 0.5339 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005241/0.423, allocations: 220.7 kB / 0.5341 GB, free: 0.6289 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.423, allocations: 0 / 0.5341 GB, free: 0.6289 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001799/0.4232, allocations: 71.59 kB / 0.5342 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009573/0.4242, allocations: 179.7 kB / 0.5344 GB, free: 388 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/0.4264, allocations: 1.281 MB / 0.5356 GB, free: 15.06 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006838/0.4271, allocations: 378.7 kB / 0.536 GB, free: 14.66 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003449/0.4274, allocations: 112.9 kB / 0.5361 GB, free: 14.55 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.4275, allocations: 52.5 kB / 0.5361 GB, free: 14.5 MB / 426.7 MB Notification: Performance of SimCode: time 7.91e-07/0.4275, allocations: 0 / 0.5361 GB, free: 14.5 MB / 426.7 MB Notification: Performance of Templates: time 0.02367/0.4512, allocations: 11.42 MB / 0.5473 GB, free: 3.207 MB / 426.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: 5.448805243009701]