Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.001849/0.001849, allocations: 81.78 kB / 20.5 MB, free: 1.391 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.002185/0.002185, allocations: 167.4 kB / 23.75 MB, free: 4.578 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.334/1.334, allocations: 158.6 MB / 185.5 MB, free: 6.512 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.2863/0.2863, allocations: 36.35 MB / 274.1 MB, free: 14.8 MB / 270.1 MB " [Timeout remaining time 179] 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.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine") translateModel(ThermoPower.Test.GasComponents.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine") [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.002359/0.002359, allocations: 75.91 kB / 414.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3107, allocations: 62.39 MB / 476.9 MB, free: 4.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.2167/0.5274, allocations: 147.4 MB / 0.6096 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01038/0.5378, allocations: 3.517 MB / 0.6131 GB, free: 3.078 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006317/0.5384, allocations: 7.938 kB / 0.6131 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001465/0.5399, allocations: 254.4 kB / 0.6133 GB, free: 2.82 MB / 0.5137 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.002039/0.5419, allocations: 0.4898 MB / 0.6138 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.008005/0.5499, allocations: 1.584 MB / 0.6154 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002766/0.5527, allocations: 1.259 MB / 0.6166 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008174/0.5535, allocations: 325.9 kB / 0.6169 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001744/0.5552, allocations: 0.6661 MB / 0.6175 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001205/0.5564, allocations: 458.3 kB / 0.618 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000198/0.5566, allocations: 56 kB / 0.618 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004851/0.5615, allocations: 1.235 MB / 0.6192 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0007129/0.5622, allocations: 383 kB / 0.6196 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0009339/0.5631, allocations: 374.2 kB / 0.62 GB, free: 12 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00435/0.5675, allocations: 1.709 MB / 0.6216 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.5675, allocations: 0 / 0.6216 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.184e-06/0.5675, allocations: 0 / 0.6216 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.731e-05/0.5675, allocations: 0 / 0.6216 GB, free: 10.29 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.003748/0.5713, allocations: 1.223 MB / 0.6228 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.476e-05/0.5713, allocations: 8.031 kB / 0.6228 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001684/0.573, allocations: 163.3 kB / 0.623 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00214/0.5752, allocations: 0.5794 MB / 0.6236 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.073e-05/0.5752, allocations: 37 kB / 0.6236 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.5753, allocations: 48 kB / 0.6236 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002297/0.5776, allocations: 1.034 MB / 0.6246 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.696e-05/0.5777, allocations: 3.938 kB / 0.6246 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001221/0.5778, allocations: 27.94 kB / 0.6247 GB, free: 6.988 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.814e-05/0.5778, allocations: 12 kB / 0.6247 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001537/0.5794, allocations: 463.8 kB / 0.6251 GB, free: 6.523 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.006902/0.5863, allocations: 1.616 MB / 0.6267 GB, free: 4.863 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005057/0.5868, allocations: 134.6 kB / 0.6268 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/0.587, allocations: 56.84 kB / 0.6269 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004232/0.5874, allocations: 43.95 kB / 0.6269 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.426e-05/0.5874, allocations: 38.81 kB / 0.627 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 3.366e-06/0.5874, allocations: 0 / 0.627 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.000997/0.5884, allocations: 245.2 kB / 0.6272 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.851e-05/0.5885, allocations: 51.41 kB / 0.6273 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002701/0.5912, allocations: 1.106 MB / 0.6283 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.392e-05/0.5913, allocations: 29.7 kB / 0.6284 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006817/0.5919, allocations: 471.5 kB / 0.6288 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.592, allocations: 63.45 kB / 0.6289 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002447/0.5923, allocations: 89.97 kB / 0.629 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000235/0.5925, allocations: 321.9 kB / 0.6293 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004344/0.593, allocations: 134.6 kB / 0.6294 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005798/0.5935, allocations: 242.1 kB / 0.6296 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009049/0.5944, allocations: 336.8 kB / 0.6299 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/0.5945, allocations: 4 kB / 0.6299 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001599/0.5961, allocations: 465 kB / 0.6304 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.386e-05/0.5961, allocations: 11.91 kB / 0.6304 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/0.5961, allocations: 4 kB / 0.6304 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.29e-05/0.5961, allocations: 8 kB / 0.6304 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009182/0.5971, allocations: 103.8 kB / 0.6305 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007492/0.5978, allocations: 0.6094 MB / 0.6311 GB, free: 128 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000757/0.5986, allocations: 55.61 kB / 0.6312 GB, free: 72 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.477e-05/0.5986, allocations: 16.34 kB / 0.6312 GB, free: 56 kB / 0.5294 GB 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.0007901/0.5994, allocations: 301.5 kB / 0.6315 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002597/0.5997, allocations: 79.47 kB / 0.6315 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000744/0.6004, allocations: 224 kB / 0.6318 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.6004, allocations: 4 kB / 0.6318 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.6004, allocations: 0 / 0.6318 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.6005, allocations: 3.984 kB / 0.6318 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.6016, allocations: 412.9 kB / 0.6322 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.6016, allocations: 4 kB / 0.6322 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003824/0.6019, allocations: 55.91 kB / 0.6322 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.6019, allocations: 0 / 0.6322 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/0.602, allocations: 11.92 kB / 0.6322 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004302/0.6024, allocations: 0.5899 MB / 0.6328 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.6024, allocations: 0 / 0.6328 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005401/0.6029, allocations: 370.9 kB / 0.6332 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002028/0.6031, allocations: 95.48 kB / 0.6332 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.559e-05/0.6032, allocations: 3.984 kB / 0.6332 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003657/0.6036, allocations: 20.14 kB / 0.6333 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.699e-05/0.6036, allocations: 7.984 kB / 0.6333 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.929e-05/0.6037, allocations: 15.98 kB / 0.6333 GB, free: 13.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001085/0.6047, allocations: 0.7801 MB / 0.6341 GB, free: 13.02 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.6047, allocations: 0 / 0.6341 GB, free: 13.02 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008948/0.6056, allocations: 239.4 kB / 0.6343 GB, free: 12.79 MB / 0.545 GB 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.002089/0.6077, allocations: 0.5595 MB / 0.6348 GB, free: 12.21 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005728/0.6083, allocations: 223.6 kB / 0.635 GB, free: 12 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.6083, allocations: 4 kB / 0.635 GB, free: 11.99 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.6085, allocations: 60.97 kB / 0.6351 GB, free: 11.93 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009245/0.6094, allocations: 159.1 kB / 0.6353 GB, free: 11.78 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002636/0.612, allocations: 1.519 MB / 0.6367 GB, free: 10.23 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005142/0.6125, allocations: 403.3 kB / 0.6371 GB, free: 9.809 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004038/0.6129, allocations: 132.9 kB / 0.6372 GB, free: 9.68 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.6131, allocations: 52.48 kB / 0.6373 GB, free: 9.629 MB / 0.545 GB Notification: Performance of SimCode: time 4.31e-07/0.6131, allocations: 0 / 0.6373 GB, free: 9.629 MB / 0.545 GB Notification: Performance of Templates: time 0.02342/0.6365, allocations: 11.54 MB / 0.6486 GB, free: 14.07 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.649295382201672] Failed to read output from testmodel.py, exit status != 0: 0.6469297334551811 0.6628487080000001 0.09170255100000001 Calling exit ...