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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 120.8 kB / 18.46 MB, free: 4.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 190.9 kB / 21.4 MB, free: 1.52 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.587/1.587, allocations: 207.6 MB / 231.8 MB, free: 4 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4319/0.4319, allocations: 49.51 MB / 333.2 MB, free: 0.8281 MB / 254.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 74.47 kB / 471.9 MB, free: 40.8 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09183/0.09393, allocations: 62.34 MB / 0.5217 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.4628/0.5567, allocations: 171.1 MB / 0.6888 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004994/0.5617, allocations: 3.815 MB / 0.6926 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006508/0.5623, allocations: 9.188 kB / 0.6926 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.5634, allocations: 271.2 kB / 0.6928 GB, free: 14.14 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.001444/0.5649, allocations: 0.4914 MB / 0.6933 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004242/0.5691, allocations: 1.571 MB / 0.6948 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00179/0.5709, allocations: 1.237 MB / 0.6961 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006087/0.5715, allocations: 335.4 kB / 0.6964 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009919/0.5725, allocations: 490.7 kB / 0.6968 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000943/0.5734, allocations: 493.2 kB / 0.6973 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002097/0.5736, allocations: 56.22 kB / 0.6974 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003497/0.5771, allocations: 1.485 MB / 0.6988 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005124/0.5777, allocations: 380.3 kB / 0.6992 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009904/0.5786, allocations: 463.5 kB / 0.6996 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004118/0.5828, allocations: 1.725 MB / 0.7013 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.5828, allocations: 0 / 0.7013 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.138e-06/0.5828, allocations: 3.984 kB / 0.7013 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.27e-05/0.5828, allocations: 4 kB / 0.7013 GB, free: 12.85 MB / 0.5137 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.003145/0.586, allocations: 1.292 MB / 0.7026 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.586, allocations: 14.23 kB / 0.7026 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009149/0.5869, allocations: 164.8 kB / 0.7027 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/0.5882, allocations: 0.6517 MB / 0.7034 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.811e-05/0.5882, allocations: 35.22 kB / 0.7034 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.15e-05/0.5883, allocations: 50.31 kB / 0.7035 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.5894, allocations: 0.6001 MB / 0.7041 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.5894, allocations: 2.312 kB / 0.7041 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.621e-05/0.5895, allocations: 25.53 kB / 0.7041 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.5895, allocations: 12.84 kB / 0.7041 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007306/0.5902, allocations: 471.7 kB / 0.7045 GB, free: 11.23 MB / 0.5137 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.004795/0.595, allocations: 2.338 MB / 0.7068 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002775/0.5953, allocations: 141 kB / 0.707 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.653e-05/0.5954, allocations: 46 kB / 0.707 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003287/0.5957, allocations: 122.9 kB / 0.7071 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.409e-05/0.5958, allocations: 40.28 kB / 0.7072 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 2.033e-06/0.5958, allocations: 2.844 kB / 0.7072 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0006546/0.5964, allocations: 254.3 kB / 0.7074 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.395e-05/0.5965, allocations: 57.75 kB / 0.7075 GB, free: 9.406 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001786/0.5983, allocations: 1.32 MB / 0.7087 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.1e-05/0.5984, allocations: 32.08 kB / 0.7088 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000399/0.5988, allocations: 471.2 kB / 0.7092 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.617e-05/0.5988, allocations: 56.17 kB / 0.7093 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/0.599, allocations: 82.17 kB / 0.7094 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.5991, allocations: 327.3 kB / 0.7097 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/0.5993, allocations: 132.7 kB / 0.7098 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003143/0.5997, allocations: 244.8 kB / 0.71 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004618/0.6001, allocations: 334.8 kB / 0.7104 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.6001, allocations: 0 / 0.7104 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008569/0.601, allocations: 483 kB / 0.7108 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.601, allocations: 7.875 kB / 0.7108 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.601, allocations: 8.312 kB / 0.7108 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/0.601, allocations: 5.719 kB / 0.7108 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004643/0.6015, allocations: 104.9 kB / 0.7109 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005117/0.602, allocations: 0.6067 MB / 0.7115 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000562/0.6026, allocations: 77 kB / 0.7116 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.442e-05/0.6026, allocations: 21.97 kB / 0.7116 GB, free: 7.188 MB / 0.5137 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.000469/0.6031, allocations: 292.8 kB / 0.7119 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002104/0.6033, allocations: 101.2 kB / 0.712 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004572/0.6038, allocations: 242.9 kB / 0.7122 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.6038, allocations: 2.844 kB / 0.7122 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.6038, allocations: 0 / 0.7122 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.6038, allocations: 0 / 0.7122 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008432/0.6046, allocations: 0.5508 MB / 0.7128 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.6046, allocations: 2.469 kB / 0.7128 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002377/0.6049, allocations: 49.12 kB / 0.7128 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.6049, allocations: 0 / 0.7128 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.6049, allocations: 13.53 kB / 0.7128 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000404/0.6053, allocations: 0.5983 MB / 0.7134 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6053, allocations: 0 / 0.7134 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005173/0.6058, allocations: 389.4 kB / 0.7138 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003204/0.6061, allocations: 192.3 kB / 0.714 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.6063, allocations: 5.562 kB / 0.714 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004485/0.6067, allocations: 21.67 kB / 0.714 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.82e-05/0.6067, allocations: 6.766 kB / 0.714 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.187e-05/0.6068, allocations: 16.95 kB / 0.714 GB, free: 5.578 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001152/0.6079, allocations: 0.9386 MB / 0.7149 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.6079, allocations: 0 / 0.7149 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008179/0.6087, allocations: 226.1 kB / 0.7151 GB, free: 5.305 MB / 0.5137 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.002027/0.6108, allocations: 0.5435 MB / 0.7157 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005658/0.6113, allocations: 224.9 kB / 0.7159 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.6113, allocations: 0 / 0.7159 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.6115, allocations: 64.16 kB / 0.716 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001655/0.6131, allocations: 339.7 kB / 0.7163 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002646/0.6158, allocations: 1.581 MB / 0.7178 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007089/0.6165, allocations: 0.9832 MB / 0.7188 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002764/0.6168, allocations: 68.08 kB / 0.7188 GB, free: 3.102 MB / 0.5137 GB Notification: Performance of SimCode: time 5.01e-07/0.6168, allocations: 4 kB / 0.7189 GB, free: 3.098 MB / 0.5137 GB Notification: Performance of Templates: time 0.02836/0.6451, allocations: 17.08 MB / 0.7355 GB, free: 6.406 MB / 0.5294 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: 10.950787086971104] Failed to read output from testmodel.py, exit status != 0: 0.6533313291147351 0.675736391 0.088618233 Calling exit ...