Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.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.001281/0.001281, allocations: 67.77 kB / 21.69 MB, free: 2.855 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.000903/0.000903, allocations: 165.4 kB / 24.99 MB, free: 9.316 MB / 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.8371/0.8371, allocations: 158.6 MB / 186.8 MB, free: 2.91 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.1853/0.1853, allocations: 36.34 MB / 275.4 MB, free: 10.71 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.TestGasTurbineStodola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola") translateModel(ThermoPower.Test.GasComponents.TestGasTurbineStodola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 353.8 MB, free: 3.766 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.015e-05/2.146e-05, allocations: 2.312 kB / 353.8 MB, free: 3.762 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.2701/0.2701, allocations: 163.7 MB / 0.5054 GB, free: 7.668 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004458/0.2746, allocations: 3.803 MB / 0.5091 GB, free: 3.855 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003417/0.2749, allocations: 11.88 kB / 0.5091 GB, free: 3.844 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007113/0.2756, allocations: 258.3 kB / 0.5093 GB, free: 3.59 MB / 378.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.0007152/0.2764, allocations: 473.1 kB / 0.5098 GB, free: 3.125 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002824/0.2792, allocations: 1.518 MB / 0.5113 GB, free: 1.602 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001152/0.2803, allocations: 1.231 MB / 0.5125 GB, free: 376 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004682/0.2808, allocations: 326.1 kB / 0.5128 GB, free: 48 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006937/0.2815, allocations: 0.6312 MB / 0.5134 GB, free: 15.41 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004442/0.2819, allocations: 382.9 kB / 0.5138 GB, free: 15.04 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 6.462e-05/0.282, allocations: 56 kB / 0.5138 GB, free: 14.98 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002059/0.2841, allocations: 1.239 MB / 0.515 GB, free: 13.74 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002273/0.2843, allocations: 339.2 kB / 0.5154 GB, free: 13.41 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002306/0.2845, allocations: 299.3 kB / 0.5156 GB, free: 13.12 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001374/0.2859, allocations: 1.426 MB / 0.517 GB, free: 11.69 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2859, allocations: 0 / 0.517 GB, free: 11.69 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2859, allocations: 0 / 0.517 GB, free: 11.69 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.2859, allocations: 4 kB / 0.517 GB, free: 11.68 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001155/0.2871, allocations: 1.168 MB / 0.5182 GB, free: 10.47 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.2871, allocations: 8.031 kB / 0.5182 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005706/0.2877, allocations: 238.9 kB / 0.5184 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004657/0.2881, allocations: 430.2 kB / 0.5188 GB, free: 9.781 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.2882, allocations: 37.31 kB / 0.5189 GB, free: 9.746 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.954e-05/0.2882, allocations: 63.94 kB / 0.5189 GB, free: 9.684 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006562/0.2889, allocations: 0.849 MB / 0.5198 GB, free: 8.715 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.2889, allocations: 0 / 0.5198 GB, free: 8.715 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.625e-05/0.2889, allocations: 32 kB / 0.5198 GB, free: 8.684 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.289, allocations: 15.94 kB / 0.5198 GB, free: 8.668 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00032/0.2893, allocations: 223.6 kB / 0.52 GB, free: 8.449 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002449/0.2917, allocations: 1.593 MB / 0.5216 GB, free: 6.805 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.2919, allocations: 91 kB / 0.5217 GB, free: 6.703 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.338e-05/0.2919, allocations: 35.67 kB / 0.5217 GB, free: 6.664 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001438/0.2921, allocations: 51.95 kB / 0.5217 GB, free: 6.613 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.2921, allocations: 41.39 kB / 0.5218 GB, free: 6.562 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 1.523e-06/0.2921, allocations: 0 / 0.5218 GB, free: 6.562 MB / 394.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002939/0.2924, allocations: 169.2 kB / 0.5219 GB, free: 6.391 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.2924, allocations: 55.41 kB / 0.522 GB, free: 6.324 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004913/0.2929, allocations: 0.6156 MB / 0.5226 GB, free: 5.691 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.293, allocations: 33.7 kB / 0.5226 GB, free: 5.652 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002092/0.2932, allocations: 466.3 kB / 0.5231 GB, free: 5.191 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.348e-05/0.2932, allocations: 59.52 kB / 0.5231 GB, free: 5.133 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.76e-05/0.2933, allocations: 91.8 kB / 0.5232 GB, free: 5.035 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.2934, allocations: 0.543 MB / 0.5237 GB, free: 4.48 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.2935, allocations: 69.64 kB / 0.5238 GB, free: 4.406 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/0.2937, allocations: 258.2 kB / 0.5241 GB, free: 4.062 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/0.294, allocations: 309.1 kB / 0.5244 GB, free: 3.672 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.294, allocations: 4 kB / 0.5244 GB, free: 3.668 MB / 394.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003992/0.2944, allocations: 352.7 kB / 0.5247 GB, free: 3.316 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.2944, allocations: 10.97 kB / 0.5247 GB, free: 3.309 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.2944, allocations: 11.48 kB / 0.5247 GB, free: 3.301 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.2944, allocations: 12 kB / 0.5247 GB, free: 3.289 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002877/0.2947, allocations: 107.8 kB / 0.5248 GB, free: 3.184 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003203/0.295, allocations: 0.9089 MB / 0.5257 GB, free: 2.246 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/0.2952, allocations: 51.61 kB / 0.5258 GB, free: 2.195 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.489e-05/0.2952, allocations: 27.92 kB / 0.5258 GB, free: 2.168 MB / 394.7 MB Warning: Assuming fixed start value for the following 1 variables: ConstantSpeed1.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Angle of flange with respect to support (= flange.phi - support.phi)\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (48): * Single equations (assignments): 47 * 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.0001698/0.2954, allocations: 181.9 kB / 0.526 GB, free: 1.98 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.56e-05/0.2955, allocations: 55.67 kB / 0.526 GB, free: 1.926 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002482/0.2957, allocations: 174.6 kB / 0.5262 GB, free: 1.75 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.2957, allocations: 0 / 0.5262 GB, free: 1.75 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2957, allocations: 0 / 0.5262 GB, free: 1.75 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.2957, allocations: 3.938 kB / 0.5262 GB, free: 1.746 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006843/0.2964, allocations: 0.707 MB / 0.5269 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.2964, allocations: 0 / 0.5269 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001413/0.2966, allocations: 51.91 kB / 0.5269 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2966, allocations: 0 / 0.5269 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.2966, allocations: 4.094 kB / 0.5269 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002826/0.2969, allocations: 0.905 MB / 0.5278 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.2969, allocations: 3.938 kB / 0.5278 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005259/0.2974, allocations: 358.3 kB / 0.5282 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.297e-05/0.2975, allocations: 59.66 kB / 0.5282 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.377e-05/0.2975, allocations: 7.984 kB / 0.5282 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.2977, allocations: 15.98 kB / 0.5282 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.317e-05/0.2977, allocations: 18.98 kB / 0.5283 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-05/0.2977, allocations: 24.06 kB / 0.5283 GB, free: 15.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002822/0.298, allocations: 394.7 kB / 0.5287 GB, free: 15.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.298, allocations: 0 / 0.5287 GB, free: 15.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004901/0.2985, allocations: 239.3 kB / 0.5289 GB, free: 14.87 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (ConstantSpeed1.phi) * 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 (16): * Single equations (assignments): 15 * 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.001101/0.2996, allocations: 0.5182 MB / 0.5294 GB, free: 14.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003092/0.2999, allocations: 173.3 kB / 0.5296 GB, free: 14.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2999, allocations: 8.125 kB / 0.5296 GB, free: 14.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.463e-05/0.3, allocations: 55.59 kB / 0.5296 GB, free: 14.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005395/0.3005, allocations: 162.4 kB / 0.5298 GB, free: 13.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.3019, allocations: 1.015 MB / 0.5308 GB, free: 12.92 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.302, allocations: 161.2 kB / 0.5309 GB, free: 12.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001995/0.3022, allocations: 84.27 kB / 0.531 GB, free: 12.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.989e-05/0.3023, allocations: 40.5 kB / 0.531 GB, free: 12.62 MB / 410.7 MB Notification: Performance of SimCode: time 8.92e-07/0.3023, allocations: 0 / 0.531 GB, free: 12.62 MB / 410.7 MB Notification: Performance of Templates: time 0.01284/0.3151, allocations: 10.5 MB / 0.5413 GB, free: 2.098 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4629626059904695]