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.001402/0.001402, allocations: 80.02 kB / 20.5 MB, free: 1.367 MB / 14.72 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.00153/0.00153, allocations: 170 kB / 23.75 MB, free: 4.668 MB / 14.72 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 1.35/1.35, allocations: 158.6 MB / 185.5 MB, free: 6.52 MB / 174.1 MB " [Timeout remaining time 178] 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.2792/0.2792, allocations: 36.34 MB / 274.1 MB, free: 14.83 MB / 270.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002283/0.002283, allocations: 71.91 kB / 414.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3222, allocations: 62.4 MB / 476.9 MB, free: 4.344 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.1999/0.5222, allocations: 147.5 MB / 0.6097 GB, free: 6.527 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.006486/0.5286, allocations: 3.455 MB / 0.6131 GB, free: 3.062 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005609/0.5292, allocations: 11.88 kB / 0.6131 GB, free: 3.051 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.0009378/0.5301, allocations: 254.4 kB / 0.6133 GB, free: 2.801 MB / 0.5138 GB [/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.001262/0.5314, allocations: 457.7 kB / 0.6138 GB, free: 2.352 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.004664/0.5361, allocations: 1.498 MB / 0.6152 GB, free: 0.8516 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.002383/0.5385, allocations: 1.224 MB / 0.6164 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000664/0.5391, allocations: 317.9 kB / 0.6167 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001075/0.5402, allocations: 0.6466 MB / 0.6174 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006764/0.5409, allocations: 422.4 kB / 0.6178 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.541, allocations: 52 kB / 0.6178 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003577/0.5446, allocations: 1.232 MB / 0.619 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004041/0.545, allocations: 323.1 kB / 0.6193 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004517/0.5454, allocations: 346.5 kB / 0.6197 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002728/0.5481, allocations: 1.593 MB / 0.6212 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.5481, allocations: 0 / 0.6212 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5482, allocations: 4 kB / 0.6212 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.659e-05/0.5482, allocations: 4 kB / 0.6212 GB, free: 10.7 MB / 0.5294 GB 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.002076/0.5502, allocations: 1.064 MB / 0.6223 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.5503, allocations: 12.03 kB / 0.6223 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007628/0.5511, allocations: 143.4 kB / 0.6224 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000882/0.5519, allocations: 470.6 kB / 0.6229 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.986e-05/0.552, allocations: 45.31 kB / 0.6229 GB, free: 8.91 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.824e-05/0.5521, allocations: 51.94 kB / 0.623 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/0.5534, allocations: 1.035 MB / 0.624 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/0.5534, allocations: 7.984 kB / 0.624 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-05/0.5535, allocations: 27.94 kB / 0.624 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/0.5535, allocations: 12 kB / 0.624 GB, free: 7.66 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008035/0.5543, allocations: 472.9 kB / 0.6245 GB, free: 7.199 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003951/0.5583, allocations: 1.574 MB / 0.626 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002784/0.5586, allocations: 122.6 kB / 0.6261 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.5587, allocations: 48.84 kB / 0.6262 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000241/0.5589, allocations: 59.89 kB / 0.6262 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.214e-05/0.559, allocations: 38.56 kB / 0.6263 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 2.194e-06/0.559, allocations: 0 / 0.6263 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0005116/0.5595, allocations: 221.2 kB / 0.6265 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.5595, allocations: 55.41 kB / 0.6265 GB, free: 5.008 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009922/0.5605, allocations: 0.7526 MB / 0.6273 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.853e-05/0.5605, allocations: 29.7 kB / 0.6273 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003202/0.5609, allocations: 411.6 kB / 0.6277 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.242e-05/0.5609, allocations: 59.55 kB / 0.6277 GB, free: 3.746 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/0.5611, allocations: 86.14 kB / 0.6278 GB, free: 3.656 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002047/0.5613, allocations: 370.7 kB / 0.6282 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002419/0.5615, allocations: 134.7 kB / 0.6283 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003482/0.5619, allocations: 247 kB / 0.6285 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000512/0.5624, allocations: 353.6 kB / 0.6289 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.5624, allocations: 0 / 0.6289 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007858/0.5632, allocations: 452.7 kB / 0.6293 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.5632, allocations: 12.47 kB / 0.6293 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.5632, allocations: 4 kB / 0.6293 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.5632, allocations: 15.94 kB / 0.6293 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005496/0.5638, allocations: 107.8 kB / 0.6294 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004517/0.5642, allocations: 0.6094 MB / 0.63 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003933/0.5646, allocations: 43.72 kB / 0.6301 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.041e-05/0.5647, allocations: 23.98 kB / 0.6301 GB, free: 1.148 MB / 0.5294 GB 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.0003621/0.565, allocations: 249.6 kB / 0.6303 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.5651, allocations: 63.66 kB / 0.6304 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000419/0.5656, allocations: 206 kB / 0.6306 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.5656, allocations: 0 / 0.6306 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.5656, allocations: 0 / 0.6306 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.5656, allocations: 0 / 0.6306 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.5667, allocations: 0.6682 MB / 0.6313 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.5667, allocations: 4 kB / 0.6313 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002531/0.567, allocations: 39.97 kB / 0.6313 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.567, allocations: 4 kB / 0.6313 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.567, allocations: 8.094 kB / 0.6313 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004135/0.5674, allocations: 0.6015 MB / 0.6319 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.5674, allocations: 7.969 kB / 0.6319 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005049/0.5679, allocations: 362.4 kB / 0.6322 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.568, allocations: 63.62 kB / 0.6323 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.655e-05/0.5681, allocations: 11.94 kB / 0.6323 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003646/0.5685, allocations: 11.98 kB / 0.6323 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.5685, allocations: 23.91 kB / 0.6324 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.692e-05/0.5685, allocations: 20.14 kB / 0.6324 GB, free: 14.71 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007082/0.5693, allocations: 0.5183 MB / 0.6329 GB, free: 14.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.5693, allocations: 0 / 0.6329 GB, free: 14.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008214/0.5701, allocations: 239.4 kB / 0.6331 GB, free: 13.96 MB / 0.545 GB 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.002017/0.5721, allocations: 0.5552 MB / 0.6336 GB, free: 13.39 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005757/0.5727, allocations: 235.8 kB / 0.6339 GB, free: 13.16 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.5727, allocations: 0 / 0.6339 GB, free: 13.16 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.5728, allocations: 67.84 kB / 0.6339 GB, free: 13.09 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008729/0.5737, allocations: 151.3 kB / 0.6341 GB, free: 12.95 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002012/0.5757, allocations: 1.162 MB / 0.6352 GB, free: 11.75 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004051/0.5761, allocations: 317 kB / 0.6355 GB, free: 11.41 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003356/0.5765, allocations: 100.3 kB / 0.6356 GB, free: 11.32 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.5766, allocations: 48.48 kB / 0.6357 GB, free: 11.27 MB / 0.545 GB Notification: Performance of SimCode: time 4.31e-07/0.5766, allocations: 0 / 0.6357 GB, free: 11.27 MB / 0.545 GB Notification: Performance of Templates: time 0.02031/0.5969, allocations: 10.48 MB / 0.6459 GB, free: 0.7695 MB / 0.545 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.5343570206314325] Failed to read output from testmodel.py, exit status != 0: 0.6059871725738049 0.621365781 0.069871313 Calling exit ...