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.00133/0.00133, allocations: 108.2 kB / 21.19 MB, free: 0.7617 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.001459/0.001459, allocations: 213.9 kB / 24.49 MB, free: 4.148 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.447/1.447, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.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.324/0.324, allocations: 49.56 MB / 337.1 MB, free: 4.105 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.002582/0.002582, allocations: 71.89 kB / 477.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1406, allocations: 62.42 MB / 0.5273 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.4688/0.6093, allocations: 171.3 MB / 0.6946 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005911/0.6152, allocations: 3.84 MB / 0.6983 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004879/0.6157, allocations: 11.88 kB / 0.6983 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009761/0.6167, allocations: 274.4 kB / 0.6986 GB, free: 6.414 MB / 0.5294 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.001325/0.618, allocations: 0.4991 MB / 0.6991 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004355/0.6224, allocations: 1.582 MB / 0.7006 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001836/0.6242, allocations: 1.266 MB / 0.7019 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007517/0.625, allocations: 325.8 kB / 0.7022 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009914/0.626, allocations: 0.4944 MB / 0.7027 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008912/0.6268, allocations: 494.3 kB / 0.7031 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001589/0.627, allocations: 56 kB / 0.7032 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003325/0.6303, allocations: 1.505 MB / 0.7047 GB, free: 200 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004831/0.6308, allocations: 383 kB / 0.705 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006891/0.6315, allocations: 457.7 kB / 0.7055 GB, free: 15.37 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003068/0.6346, allocations: 1.728 MB / 0.7072 GB, free: 13.64 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.6346, allocations: 0 / 0.7072 GB, free: 13.64 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.442e-06/0.6346, allocations: 4 kB / 0.7072 GB, free: 13.64 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.414e-05/0.6346, allocations: 0 / 0.7072 GB, free: 13.64 MB / 0.545 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.002525/0.6371, allocations: 1.215 MB / 0.7083 GB, free: 12.39 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.6372, allocations: 8.031 kB / 0.7084 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007988/0.638, allocations: 171.2 kB / 0.7085 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.6391, allocations: 0.5872 MB / 0.7091 GB, free: 11.6 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.977e-05/0.6391, allocations: 41.81 kB / 0.7091 GB, free: 11.56 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.061e-05/0.6392, allocations: 48 kB / 0.7092 GB, free: 11.51 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.6402, allocations: 0.5996 MB / 0.7098 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/0.6402, allocations: 4 kB / 0.7098 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.958e-05/0.6403, allocations: 23.94 kB / 0.7098 GB, free: 10.87 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.909e-05/0.6403, allocations: 12 kB / 0.7098 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007306/0.641, allocations: 467.7 kB / 0.7102 GB, free: 10.4 MB / 0.545 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.003929/0.645, allocations: 2.049 MB / 0.7122 GB, free: 8.254 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002615/0.6452, allocations: 134.6 kB / 0.7124 GB, free: 8.113 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.764e-05/0.6453, allocations: 48.84 kB / 0.7124 GB, free: 8.062 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002409/0.6456, allocations: 43.95 kB / 0.7125 GB, free: 8.02 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.6456, allocations: 43.69 kB / 0.7125 GB, free: 7.969 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.6456, allocations: 0 / 0.7125 GB, free: 7.969 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0005104/0.6461, allocations: 257.7 kB / 0.7128 GB, free: 7.711 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/0.6462, allocations: 55.34 kB / 0.7128 GB, free: 7.645 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001629/0.6478, allocations: 1.328 MB / 0.7141 GB, free: 6.293 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.6478, allocations: 29.7 kB / 0.7141 GB, free: 6.258 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003957/0.6482, allocations: 467.8 kB / 0.7146 GB, free: 5.797 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.758e-05/0.6483, allocations: 59.52 kB / 0.7146 GB, free: 5.738 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.6484, allocations: 85.97 kB / 0.7147 GB, free: 5.648 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.6486, allocations: 329.9 kB / 0.715 GB, free: 5.32 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/0.6488, allocations: 126.6 kB / 0.7151 GB, free: 5.195 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003047/0.6491, allocations: 245.5 kB / 0.7154 GB, free: 4.898 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004466/0.6495, allocations: 332.8 kB / 0.7157 GB, free: 4.512 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.6495, allocations: 0 / 0.7157 GB, free: 4.512 MB / 0.545 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007736/0.6503, allocations: 480.5 kB / 0.7162 GB, free: 4.035 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.6503, allocations: 8 kB / 0.7162 GB, free: 4.027 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.6503, allocations: 4 kB / 0.7162 GB, free: 4.023 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.6504, allocations: 8.562 kB / 0.7162 GB, free: 4.016 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004538/0.6508, allocations: 107.9 kB / 0.7163 GB, free: 3.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004327/0.6513, allocations: 0.6093 MB / 0.7169 GB, free: 3.277 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004273/0.6517, allocations: 82 kB / 0.717 GB, free: 3.199 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.964e-05/0.6517, allocations: 23.98 kB / 0.717 GB, free: 3.176 MB / 0.545 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.0004003/0.6521, allocations: 293.8 kB / 0.7173 GB, free: 2.879 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.6523, allocations: 99.33 kB / 0.7174 GB, free: 2.781 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003993/0.6527, allocations: 237.6 kB / 0.7176 GB, free: 2.543 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.6527, allocations: 0 / 0.7176 GB, free: 2.543 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.6527, allocations: 4 kB / 0.7176 GB, free: 2.539 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.6527, allocations: 3.984 kB / 0.7176 GB, free: 2.535 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006873/0.6534, allocations: 0.5167 MB / 0.7181 GB, free: 1.977 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.6534, allocations: 4 kB / 0.7181 GB, free: 1.973 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002293/0.6536, allocations: 51.84 kB / 0.7181 GB, free: 1.922 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.6536, allocations: 0 / 0.7181 GB, free: 1.922 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.6536, allocations: 11.98 kB / 0.7182 GB, free: 1.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003883/0.654, allocations: 0.5899 MB / 0.7187 GB, free: 1.297 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.654, allocations: 0 / 0.7187 GB, free: 1.297 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004759/0.6545, allocations: 383.1 kB / 0.7191 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002423/0.6547, allocations: 123.3 kB / 0.7192 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.788e-05/0.6548, allocations: 4.156 kB / 0.7192 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003734/0.6552, allocations: 27.59 kB / 0.7192 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.29e-05/0.6552, allocations: 3.984 kB / 0.7192 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-05/0.6553, allocations: 19.98 kB / 0.7193 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001182/0.6564, allocations: 0.9342 MB / 0.7202 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.6564, allocations: 0 / 0.7202 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006983/0.6571, allocations: 223.6 kB / 0.7204 GB, free: 15.57 MB / 0.5606 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.001805/0.6589, allocations: 0.5468 MB / 0.7209 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005084/0.6594, allocations: 224.6 kB / 0.7211 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.6594, allocations: 320 / 0.7211 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.6596, allocations: 67.91 kB / 0.7212 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/0.661, allocations: 343.2 kB / 0.7215 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00245/0.6635, allocations: 1.59 MB / 0.7231 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006751/0.6641, allocations: 0.9763 MB / 0.724 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.6643, allocations: 75.36 kB / 0.7241 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of SimCode: time 7.31e-07/0.6643, allocations: 0 / 0.7241 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of Templates: time 0.02533/0.6896, allocations: 17.08 MB / 0.7408 GB, free: 10.58 MB / 0.5762 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.657886288128793] Failed to read output from testmodel.py, exit status != 0: 0.7004820159636438 0.715131752 0.07717697600000001 Calling exit ...