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.0008643/0.0008643, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.0009259/0.0009259, allocations: 164.4 kB / 24.82 MB, free: 9.266 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.8613/0.8613, allocations: 158.6 MB / 186.7 MB, free: 2.766 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.174/0.174, allocations: 36.34 MB / 275.4 MB, free: 10.48 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.764e-06/1.764e-06, allocations: 0 / 354.2 MB, free: 3.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.578e-05/2.754e-05, allocations: 5.828 kB / 354.3 MB, free: 3.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.3231/0.3231, allocations: 143.7 MB / 498 MB, free: 6.203 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004342/0.3275, allocations: 3.484 MB / 0.4897 GB, free: 4.18 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004667/0.3279, allocations: 19.91 kB / 0.4897 GB, free: 4.168 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005286/0.3285, allocations: 150.5 kB / 0.4899 GB, free: 4.055 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.0007578/0.3292, allocations: 459.9 kB / 0.4903 GB, free: 3.75 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008654/0.3379, allocations: 1.376 MB / 0.4917 GB, free: 3.027 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.007107/0.345, allocations: 1.199 MB / 0.4928 GB, free: 2.336 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005939/0.3456, allocations: 328.2 kB / 0.4931 GB, free: 2.105 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009169/0.3465, allocations: 0.6752 MB / 0.4938 GB, free: 1.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004329/0.3469, allocations: 342.8 kB / 0.4941 GB, free: 1.551 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.574e-05/0.347, allocations: 55 kB / 0.4942 GB, free: 1.551 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007815/0.3548, allocations: 1.074 MB / 0.4952 GB, free: 1.004 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000255/0.3551, allocations: 329.8 kB / 0.4955 GB, free: 0.7891 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002674/0.3554, allocations: 285.4 kB / 0.4958 GB, free: 0.6523 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007861/0.3632, allocations: 1.353 MB / 0.4971 GB, free: 15.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.3632, allocations: 0 / 0.4971 GB, free: 15.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3632, allocations: 0 / 0.4971 GB, free: 15.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.287e-05/0.3632, allocations: 0 / 0.4971 GB, free: 15.5 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.001399/0.3646, allocations: 1.16 MB / 0.4983 GB, free: 14.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.3647, allocations: 12.03 kB / 0.4983 GB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005839/0.3653, allocations: 223.8 kB / 0.4985 GB, free: 14.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00654/0.3718, allocations: 425.3 kB / 0.4989 GB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.156e-05/0.3718, allocations: 37.69 kB / 0.4989 GB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.105e-05/0.3719, allocations: 56.38 kB / 0.499 GB, free: 13.53 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006705/0.3726, allocations: 0.8176 MB / 0.4998 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/0.3726, allocations: 7.953 kB / 0.4998 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.515e-05/0.3727, allocations: 20 kB / 0.4998 GB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.3727, allocations: 15.94 kB / 0.4998 GB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002536/0.3729, allocations: 177 kB / 0.5 GB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008289/0.3812, allocations: 1.459 MB / 0.5014 GB, free: 10.87 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.3814, allocations: 87.03 kB / 0.5015 GB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.236e-05/0.3814, allocations: 27.67 kB / 0.5015 GB, free: 10.74 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001727/0.3816, allocations: 42.7 kB / 0.5016 GB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.3816, allocations: 41.39 kB / 0.5016 GB, free: 10.65 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 2.214e-06/0.3816, allocations: 0 / 0.5016 GB, free: 10.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002823/0.3819, allocations: 162.9 kB / 0.5018 GB, free: 10.49 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.292e-05/0.3819, allocations: 59.41 kB / 0.5018 GB, free: 10.42 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004766/0.3824, allocations: 0.5842 MB / 0.5024 GB, free: 9.816 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.3824, allocations: 33.7 kB / 0.5024 GB, free: 9.777 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002531/0.3827, allocations: 474.1 kB / 0.5029 GB, free: 9.309 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.927e-05/0.3827, allocations: 59.52 kB / 0.5029 GB, free: 9.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.3828, allocations: 91.66 kB / 0.503 GB, free: 9.152 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.383, allocations: 0.5546 MB / 0.5036 GB, free: 8.586 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.803e-05/0.3831, allocations: 65.59 kB / 0.5036 GB, free: 8.516 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001694/0.3832, allocations: 238.3 kB / 0.5039 GB, free: 8.191 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006269/0.3895, allocations: 305 kB / 0.5041 GB, free: 7.805 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.3895, allocations: 4 kB / 0.5041 GB, free: 7.801 MB / 378.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004435/0.39, allocations: 321 kB / 0.5045 GB, free: 7.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.39, allocations: 8 kB / 0.5045 GB, free: 7.473 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.39, allocations: 7.938 kB / 0.5045 GB, free: 7.465 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.39, allocations: 8 kB / 0.5045 GB, free: 7.457 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000325/0.3903, allocations: 107.8 kB / 0.5046 GB, free: 7.352 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003796/0.3907, allocations: 0.9165 MB / 0.5055 GB, free: 6.406 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002912/0.391, allocations: 40.02 kB / 0.5055 GB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.215e-05/0.391, allocations: 24 kB / 0.5055 GB, free: 6.344 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.0001988/0.3912, allocations: 181.8 kB / 0.5057 GB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.336e-05/0.3913, allocations: 67.62 kB / 0.5058 GB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002551/0.3916, allocations: 142 kB / 0.5059 GB, free: 5.941 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.3916, allocations: 4 kB / 0.5059 GB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.3916, allocations: 3.625 kB / 0.5059 GB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3916, allocations: 0 / 0.5059 GB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003486/0.3951, allocations: 0.7145 MB / 0.5066 GB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3951, allocations: 0 / 0.5066 GB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/0.3953, allocations: 43.97 kB / 0.5067 GB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.3953, allocations: 0 / 0.5067 GB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.3953, allocations: 7.984 kB / 0.5067 GB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000346/0.3956, allocations: 0.8971 MB / 0.5075 GB, free: 4.191 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3956, allocations: 4 kB / 0.5075 GB, free: 4.188 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003268/0.3959, allocations: 351.7 kB / 0.5079 GB, free: 3.812 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.526e-05/0.396, allocations: 55.84 kB / 0.5079 GB, free: 3.758 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.183e-05/0.3961, allocations: 7.922 kB / 0.5079 GB, free: 3.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.3963, allocations: 16 kB / 0.508 GB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.732e-05/0.3963, allocations: 15.97 kB / 0.508 GB, free: 3.719 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-05/0.3963, allocations: 11.98 kB / 0.508 GB, free: 3.707 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003377/0.3967, allocations: 358.7 kB / 0.5083 GB, free: 3.359 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.3967, allocations: 0 / 0.5083 GB, free: 3.359 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008603/0.3975, allocations: 215.5 kB / 0.5085 GB, free: 3.148 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.001413/0.3989, allocations: 0.4887 MB / 0.509 GB, free: 2.691 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003954/0.3993, allocations: 164.3 kB / 0.5092 GB, free: 2.527 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.3993, allocations: 0 / 0.5092 GB, free: 2.527 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.481e-05/0.3994, allocations: 59.59 kB / 0.5092 GB, free: 2.465 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006789/0.4001, allocations: 157.3 kB / 0.5094 GB, free: 2.316 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.4018, allocations: 1.011 MB / 0.5104 GB, free: 1.262 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/0.4019, allocations: 153.1 kB / 0.5105 GB, free: 1.094 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002609/0.4022, allocations: 79.41 kB / 0.5106 GB, free: 1.012 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005286/0.4027, allocations: 273.9 kB / 0.5108 GB, free: 0.7422 MB / 378.7 MB Notification: Performance of SimCode: time 1.182e-06/0.4027, allocations: 0 / 0.5108 GB, free: 0.7422 MB / 378.7 MB Notification: Performance of Templates: time 0.01676/0.4195, allocations: 10.68 MB / 0.5213 GB, free: 6.035 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.722705092281103]