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.001766/0.001766, allocations: 113 kB / 19.04 MB, free: 3.254 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.001925/0.001925, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 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.416/1.416, allocations: 207.6 MB / 232.8 MB, free: 11 MB / 190.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.2959/0.2959, allocations: 49.52 MB / 334.4 MB, free: 4.68 MB / 270.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.002195/0.002195, allocations: 71.89 kB / 474.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1179, allocations: 62.33 MB / 0.524 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.4294/0.5473, allocations: 171.3 MB / 0.6912 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006106/0.5534, allocations: 3.834 MB / 0.6949 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006232/0.554, allocations: 4 kB / 0.6949 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009487/0.5549, allocations: 278.3 kB / 0.6952 GB, free: 7.617 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.00131/0.5562, allocations: 499.2 kB / 0.6957 GB, free: 7.129 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004296/0.5605, allocations: 1.566 MB / 0.6972 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001693/0.5622, allocations: 1.247 MB / 0.6984 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006229/0.5629, allocations: 333.7 kB / 0.6987 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001014/0.5639, allocations: 498.4 kB / 0.6992 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009298/0.5648, allocations: 482.3 kB / 0.6997 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002023/0.565, allocations: 56 kB / 0.6997 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003945/0.569, allocations: 1.493 MB / 0.7012 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0005208/0.5695, allocations: 386.9 kB / 0.7016 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0007493/0.5702, allocations: 457.7 kB / 0.702 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003584/0.5738, allocations: 1.728 MB / 0.7037 GB, free: 14.91 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.5738, allocations: 0 / 0.7037 GB, free: 14.91 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5738, allocations: 0 / 0.7037 GB, free: 14.91 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.821e-05/0.5739, allocations: 0 / 0.7037 GB, free: 14.91 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.002917/0.5768, allocations: 1.302 MB / 0.705 GB, free: 13.55 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.5768, allocations: 11.89 kB / 0.705 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008483/0.5777, allocations: 163.2 kB / 0.7051 GB, free: 13.38 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.5788, allocations: 0.6476 MB / 0.7058 GB, free: 12.7 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.032e-05/0.5788, allocations: 43.12 kB / 0.7058 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.883e-05/0.5789, allocations: 48 kB / 0.7058 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.58, allocations: 0.6112 MB / 0.7064 GB, free: 11.99 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.5801, allocations: 0 / 0.7064 GB, free: 11.99 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.845e-05/0.5801, allocations: 27.94 kB / 0.7065 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.5801, allocations: 12 kB / 0.7065 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007627/0.5809, allocations: 467.7 kB / 0.7069 GB, free: 11.49 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.00437/0.5853, allocations: 2.34 MB / 0.7092 GB, free: 8.984 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002882/0.5856, allocations: 122.7 kB / 0.7093 GB, free: 8.855 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.011e-05/0.5857, allocations: 48.83 kB / 0.7094 GB, free: 8.805 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002879/0.5859, allocations: 129.1 kB / 0.7095 GB, free: 8.66 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.586, allocations: 42.5 kB / 0.7095 GB, free: 8.609 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.763e-06/0.586, allocations: 0 / 0.7095 GB, free: 8.609 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0005389/0.5865, allocations: 253.7 kB / 0.7098 GB, free: 8.355 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.5866, allocations: 55.39 kB / 0.7098 GB, free: 8.289 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001701/0.5883, allocations: 1.32 MB / 0.7111 GB, free: 6.945 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.249e-05/0.5883, allocations: 37.7 kB / 0.7112 GB, free: 6.902 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000401/0.5887, allocations: 471.7 kB / 0.7116 GB, free: 6.438 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.508e-05/0.5888, allocations: 51.59 kB / 0.7117 GB, free: 6.387 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.5889, allocations: 85.95 kB / 0.7117 GB, free: 6.297 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.5891, allocations: 329.9 kB / 0.7121 GB, free: 5.969 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002308/0.5893, allocations: 130.5 kB / 0.7122 GB, free: 5.836 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000321/0.5896, allocations: 245.4 kB / 0.7124 GB, free: 5.539 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004827/0.5901, allocations: 332.9 kB / 0.7127 GB, free: 5.152 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.5901, allocations: 4 kB / 0.7127 GB, free: 5.148 MB / 0.545 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008349/0.5909, allocations: 480.9 kB / 0.7132 GB, free: 4.672 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.591, allocations: 8.062 kB / 0.7132 GB, free: 4.664 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.591, allocations: 8 kB / 0.7132 GB, free: 4.656 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.591, allocations: 4 kB / 0.7132 GB, free: 4.652 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004786/0.5915, allocations: 107.8 kB / 0.7133 GB, free: 4.547 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004505/0.5919, allocations: 0.6055 MB / 0.7139 GB, free: 3.918 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004649/0.5924, allocations: 75.45 kB / 0.714 GB, free: 3.844 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.919e-05/0.5925, allocations: 17.31 kB / 0.714 GB, free: 3.828 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.0004587/0.5929, allocations: 297.8 kB / 0.7143 GB, free: 3.527 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001821/0.5931, allocations: 103.3 kB / 0.7144 GB, free: 3.426 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004718/0.5936, allocations: 237.6 kB / 0.7146 GB, free: 3.184 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.5936, allocations: 96 / 0.7146 GB, free: 3.184 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.5936, allocations: 3.984 kB / 0.7146 GB, free: 3.18 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.5936, allocations: 7.984 kB / 0.7146 GB, free: 3.172 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008453/0.5944, allocations: 0.5449 MB / 0.7151 GB, free: 2.578 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.5944, allocations: 4.562 kB / 0.7151 GB, free: 2.574 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002392/0.5947, allocations: 47.91 kB / 0.7152 GB, free: 2.527 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.5947, allocations: 0 / 0.7152 GB, free: 2.527 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.5947, allocations: 7.984 kB / 0.7152 GB, free: 2.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003994/0.5951, allocations: 0.5943 MB / 0.7158 GB, free: 1.902 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5951, allocations: 0 / 0.7158 GB, free: 1.902 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004985/0.5956, allocations: 391.2 kB / 0.7162 GB, free: 1.504 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002635/0.5959, allocations: 192.5 kB / 0.7163 GB, free: 1.297 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.553e-05/0.596, allocations: 4 kB / 0.7163 GB, free: 1.293 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003981/0.5964, allocations: 19.59 kB / 0.7164 GB, free: 1.277 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.5964, allocations: 8 kB / 0.7164 GB, free: 1.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.199e-05/0.5964, allocations: 19.97 kB / 0.7164 GB, free: 1.25 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001279/0.5977, allocations: 0.9381 MB / 0.7173 GB, free: 308 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5977, allocations: 4 kB / 0.7173 GB, free: 304 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007984/0.5985, allocations: 227.6 kB / 0.7175 GB, free: 76 kB / 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.001921/0.6004, allocations: 0.547 MB / 0.7181 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006021/0.601, allocations: 232 kB / 0.7183 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.601, allocations: 0 / 0.7183 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.6012, allocations: 59.98 kB / 0.7183 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001573/0.6028, allocations: 331.8 kB / 0.7187 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002692/0.6055, allocations: 1.551 MB / 0.7202 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007838/0.6062, allocations: 0.9919 MB / 0.7211 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005157/0.6068, allocations: 170.6 kB / 0.7213 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001528/0.6069, allocations: 59.42 kB / 0.7214 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of SimCode: time 8.51e-07/0.6069, allocations: 0 / 0.7214 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of Templates: time 0.03161/0.6385, allocations: 16.09 MB / 0.7371 GB, free: 11.96 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: 5.858564336784184]