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.0009251/0.0009251, 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.0009775/0.0009775, 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 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.8844/0.8844, allocations: 158.6 MB / 186.4 MB, free: 2.906 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.1817/0.1817, allocations: 36.34 MB / 275.1 MB, free: 10.64 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.502e-06/1.502e-06, allocations: 0 / 353.8 MB, free: 3.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.555e-05/2.705e-05, allocations: 5.688 kB / 353.8 MB, free: 3.449 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.2878/0.2878, allocations: 146.5 MB / 0.4886 GB, free: 4.52 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003568/0.2914, allocations: 3.529 MB / 0.492 GB, free: 2.504 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003159/0.2917, allocations: 17.56 kB / 0.492 GB, free: 2.492 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000571/0.2923, allocations: 148.4 kB / 0.4922 GB, free: 2.379 MB / 362.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.0007004/0.293, allocations: 463.4 kB / 0.4926 GB, free: 2.074 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002349/0.2953, allocations: 1.378 MB / 0.494 GB, free: 1.102 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001017/0.2964, allocations: 1.201 MB / 0.4951 GB, free: 420 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005192/0.2969, allocations: 325.5 kB / 0.4954 GB, free: 184 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001146/0.298, allocations: 0.6829 MB / 0.4961 GB, free: 15.8 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005519/0.2986, allocations: 344 kB / 0.4964 GB, free: 15.61 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.075e-05/0.2987, allocations: 54.81 kB / 0.4965 GB, free: 15.61 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001922/0.3006, allocations: 1.069 MB / 0.4975 GB, free: 15.07 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003067/0.3009, allocations: 331.1 kB / 0.4979 GB, free: 14.86 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003522/0.3012, allocations: 290 kB / 0.4981 GB, free: 14.71 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001946/0.3032, allocations: 1.343 MB / 0.4994 GB, free: 13.64 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3032, allocations: 0 / 0.4994 GB, free: 13.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3032, allocations: 0 / 0.4994 GB, free: 13.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.3032, allocations: 0 / 0.4994 GB, free: 13.64 MB / 378.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.001326/0.3045, allocations: 1.16 MB / 0.5006 GB, free: 12.44 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.3046, allocations: 12.03 kB / 0.5006 GB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005077/0.3051, allocations: 231.8 kB / 0.5008 GB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004652/0.3055, allocations: 433.4 kB / 0.5012 GB, free: 11.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/0.3056, allocations: 41.69 kB / 0.5013 GB, free: 11.71 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.766e-05/0.3056, allocations: 60.38 kB / 0.5013 GB, free: 11.65 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006785/0.3063, allocations: 0.8528 MB / 0.5022 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.3063, allocations: 3.953 kB / 0.5022 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.229e-05/0.3064, allocations: 20 kB / 0.5022 GB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.3064, allocations: 16 kB / 0.5022 GB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003016/0.3067, allocations: 227.6 kB / 0.5024 GB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002119/0.3088, allocations: 1.591 MB / 0.504 GB, free: 8.773 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.309, allocations: 87.12 kB / 0.504 GB, free: 8.676 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.013e-05/0.309, allocations: 31.67 kB / 0.5041 GB, free: 8.641 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001431/0.3092, allocations: 47.95 kB / 0.5041 GB, free: 8.594 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.3092, allocations: 41.39 kB / 0.5042 GB, free: 8.543 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 2.084e-06/0.3092, allocations: 3.938 kB / 0.5042 GB, free: 8.539 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005389/0.3097, allocations: 173.2 kB / 0.5043 GB, free: 8.363 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.3098, allocations: 59.41 kB / 0.5044 GB, free: 8.293 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004238/0.3102, allocations: 0.6078 MB / 0.505 GB, free: 7.668 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.3102, allocations: 25.7 kB / 0.505 GB, free: 7.637 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002082/0.3104, allocations: 474.3 kB / 0.5055 GB, free: 7.168 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.067e-05/0.3104, allocations: 55.53 kB / 0.5055 GB, free: 7.113 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.495e-05/0.3105, allocations: 91.75 kB / 0.5056 GB, free: 7.016 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.3107, allocations: 0.5469 MB / 0.5061 GB, free: 6.457 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.3108, allocations: 70.77 kB / 0.5062 GB, free: 6.383 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.3109, allocations: 254.3 kB / 0.5064 GB, free: 6.043 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000243/0.3112, allocations: 309.2 kB / 0.5067 GB, free: 5.652 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.3112, allocations: 7.938 kB / 0.5067 GB, free: 5.645 MB / 378.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003806/0.3116, allocations: 341 kB / 0.5071 GB, free: 5.305 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.3116, allocations: 11.94 kB / 0.5071 GB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.3116, allocations: 4 kB / 0.5071 GB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.3116, allocations: 8 kB / 0.5071 GB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002681/0.3119, allocations: 111.8 kB / 0.5072 GB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002917/0.3122, allocations: 0.9088 MB / 0.5081 GB, free: 4.234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/0.3123, allocations: 63.83 kB / 0.5081 GB, free: 4.176 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.21e-05/0.3124, allocations: 24 kB / 0.5082 GB, free: 4.152 MB / 378.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.0001605/0.3125, allocations: 176.5 kB / 0.5083 GB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.521e-05/0.3126, allocations: 71.7 kB / 0.5084 GB, free: 3.898 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002129/0.3128, allocations: 158.8 kB / 0.5086 GB, free: 3.738 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.3128, allocations: 4 kB / 0.5086 GB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3128, allocations: 0 / 0.5086 GB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3128, allocations: 3.984 kB / 0.5086 GB, free: 3.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006288/0.3134, allocations: 0.7068 MB / 0.5093 GB, free: 2.973 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3134, allocations: 0 / 0.5093 GB, free: 2.973 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.3136, allocations: 43.97 kB / 0.5093 GB, free: 2.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3136, allocations: 0 / 0.5093 GB, free: 2.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.3136, allocations: 11.98 kB / 0.5093 GB, free: 2.918 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002427/0.3138, allocations: 0.901 MB / 0.5102 GB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3138, allocations: 0 / 0.5102 GB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.3141, allocations: 362.4 kB / 0.5105 GB, free: 1.602 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.214e-05/0.3141, allocations: 59.78 kB / 0.5106 GB, free: 1.543 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.83e-05/0.3142, allocations: 4 kB / 0.5106 GB, free: 1.539 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.3143, allocations: 15.98 kB / 0.5106 GB, free: 1.523 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.384e-05/0.3143, allocations: 15.92 kB / 0.5106 GB, free: 1.508 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/0.3144, allocations: 19.97 kB / 0.5106 GB, free: 1.488 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002596/0.3146, allocations: 386.8 kB / 0.511 GB, free: 1.113 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3146, allocations: 0 / 0.511 GB, free: 1.113 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007031/0.3153, allocations: 215.5 kB / 0.5112 GB, free: 0.9023 MB / 378.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.000988/0.3163, allocations: 485.5 kB / 0.5117 GB, free: 476 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002949/0.3166, allocations: 169.3 kB / 0.5118 GB, free: 304 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3166, allocations: 8.062 kB / 0.5118 GB, free: 296 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.752e-05/0.3167, allocations: 63.53 kB / 0.5119 GB, free: 228 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004929/0.3172, allocations: 171.2 kB / 0.5121 GB, free: 60 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.3185, allocations: 0.9878 MB / 0.513 GB, free: 15.03 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.641e-05/0.3186, allocations: 157.1 kB / 0.5132 GB, free: 14.86 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001881/0.3188, allocations: 83.34 kB / 0.5133 GB, free: 14.77 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.806e-05/0.3188, allocations: 44.48 kB / 0.5133 GB, free: 14.73 MB / 394.7 MB Notification: Performance of SimCode: time 1.072e-06/0.3189, allocations: 0 / 0.5133 GB, free: 14.73 MB / 394.7 MB Notification: Performance of Templates: time 0.01346/0.3323, allocations: 10.68 MB / 0.5237 GB, free: 4.004 MB / 394.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.5424891118891537]