Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001469/0.001469, allocations: 115.8 kB / 20.43 MB, free: 1.449 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: 216.7 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.458/1.458, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1587/0.1587, allocations: 26.81 MB / 340.7 MB, free: 8.203 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine") translateModel(ThermoPower.Test.GasComponents.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine") [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 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.002087/0.002087, allocations: 63.91 kB / 477.3 MB, free: 3.191 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3305, allocations: 60.49 MB / 0.5252 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.2255/0.556, allocations: 170.1 MB / 0.6913 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007196/0.5631, allocations: 3.672 MB / 0.6949 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008171/0.564, allocations: 7.938 kB / 0.6949 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001341/0.5653, allocations: 278.3 kB / 0.6951 GB, free: 6.418 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001771/0.5671, allocations: 0.5404 MB / 0.6957 GB, free: 5.875 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005057/0.5721, allocations: 1.522 MB / 0.6972 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002153/0.5743, allocations: 1.282 MB / 0.6984 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000901/0.5752, allocations: 347.8 kB / 0.6987 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0013/0.5765, allocations: 0.4983 MB / 0.6992 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.5776, allocations: 498.2 kB / 0.6997 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002356/0.5778, allocations: 56 kB / 0.6998 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003671/0.5815, allocations: 1.406 MB / 0.7011 GB, free: 292 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0006311/0.5821, allocations: 383 kB / 0.7015 GB, free: 15.91 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001179/0.5833, allocations: 465.7 kB / 0.7019 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004079/0.5874, allocations: 1.705 MB / 0.7036 GB, free: 13.75 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.5874, allocations: 0 / 0.7036 GB, free: 13.75 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.679e-06/0.5874, allocations: 4 kB / 0.7036 GB, free: 13.74 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.834e-05/0.5875, allocations: 0 / 0.7036 GB, free: 13.74 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.002926/0.5904, allocations: 1.239 MB / 0.7048 GB, free: 12.47 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.5904, allocations: 12.03 kB / 0.7048 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009919/0.5914, allocations: 167.2 kB / 0.705 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/0.5928, allocations: 0.5911 MB / 0.7056 GB, free: 11.68 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.067e-05/0.5928, allocations: 37 kB / 0.7056 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.5929, allocations: 52 kB / 0.7056 GB, free: 11.59 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/0.5941, allocations: 0.6073 MB / 0.7062 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.602e-05/0.5941, allocations: 3.953 kB / 0.7062 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.549e-05/0.5942, allocations: 24 kB / 0.7063 GB, free: 10.94 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.5942, allocations: 12 kB / 0.7063 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008396/0.5951, allocations: 463.8 kB / 0.7067 GB, free: 10.47 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.004593/0.5997, allocations: 2.045 MB / 0.7087 GB, free: 8.336 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003043/0.6, allocations: 130.6 kB / 0.7088 GB, free: 8.199 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.6001, allocations: 52.84 kB / 0.7089 GB, free: 8.145 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002518/0.6003, allocations: 48.2 kB / 0.7089 GB, free: 8.098 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.128e-05/0.6004, allocations: 46.5 kB / 0.709 GB, free: 8.043 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 2.034e-06/0.6004, allocations: 0 / 0.709 GB, free: 8.043 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0006736/0.601, allocations: 257 kB / 0.7092 GB, free: 7.785 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/0.6011, allocations: 59.33 kB / 0.7093 GB, free: 7.715 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002113/0.6032, allocations: 1.348 MB / 0.7106 GB, free: 6.344 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.438e-05/0.6033, allocations: 29.69 kB / 0.7106 GB, free: 6.309 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004722/0.6037, allocations: 471.8 kB / 0.7111 GB, free: 5.844 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.433e-05/0.6038, allocations: 55.53 kB / 0.7111 GB, free: 5.789 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.604, allocations: 89.95 kB / 0.7112 GB, free: 5.695 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.6041, allocations: 314 kB / 0.7115 GB, free: 5.383 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002557/0.6044, allocations: 138.6 kB / 0.7116 GB, free: 5.246 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003814/0.6048, allocations: 241.5 kB / 0.7119 GB, free: 4.953 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005018/0.6053, allocations: 340.2 kB / 0.7122 GB, free: 4.562 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.6053, allocations: 4 kB / 0.7122 GB, free: 4.559 MB / 0.545 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008767/0.6061, allocations: 484.9 kB / 0.7127 GB, free: 4.078 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.6062, allocations: 7.125 kB / 0.7127 GB, free: 4.074 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.6062, allocations: 8 kB / 0.7127 GB, free: 4.066 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.583e-05/0.6062, allocations: 7.938 kB / 0.7127 GB, free: 4.059 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000503/0.6067, allocations: 107.8 kB / 0.7128 GB, free: 3.953 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004855/0.6072, allocations: 0.6016 MB / 0.7134 GB, free: 3.328 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005132/0.6077, allocations: 75.58 kB / 0.7135 GB, free: 3.254 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.028e-05/0.6078, allocations: 24 kB / 0.7135 GB, free: 3.23 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.0004957/0.6083, allocations: 297.5 kB / 0.7138 GB, free: 2.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002249/0.6085, allocations: 95.39 kB / 0.7139 GB, free: 2.836 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000493/0.609, allocations: 245.7 kB / 0.7141 GB, free: 2.59 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.609, allocations: 0 / 0.7141 GB, free: 2.59 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.609, allocations: 0 / 0.7141 GB, free: 2.59 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.609, allocations: 3.984 kB / 0.7141 GB, free: 2.586 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008614/0.6099, allocations: 0.5404 MB / 0.7146 GB, free: 2.004 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.6099, allocations: 0 / 0.7146 GB, free: 2.004 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002352/0.6101, allocations: 43.91 kB / 0.7147 GB, free: 1.961 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.6101, allocations: 4 kB / 0.7147 GB, free: 1.957 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.6101, allocations: 4 kB / 0.7147 GB, free: 1.953 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004377/0.6106, allocations: 0.5939 MB / 0.7152 GB, free: 1.336 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.6106, allocations: 0 / 0.7152 GB, free: 1.336 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005565/0.6111, allocations: 395.3 kB / 0.7156 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003141/0.6114, allocations: 131.2 kB / 0.7157 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/0.6116, allocations: 4 kB / 0.7158 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004339/0.612, allocations: 15.98 kB / 0.7158 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.612, allocations: 15.86 kB / 0.7158 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.905e-05/0.6121, allocations: 19.97 kB / 0.7158 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001507/0.6136, allocations: 0.9543 MB / 0.7167 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6136, allocations: 4 kB / 0.7167 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009651/0.6146, allocations: 219.6 kB / 0.7169 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.002173/0.6167, allocations: 0.5309 MB / 0.7175 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006522/0.6174, allocations: 220.1 kB / 0.7177 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/0.6174, allocations: 8.375 kB / 0.7177 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.6176, allocations: 67.84 kB / 0.7177 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001638/0.6192, allocations: 326.6 kB / 0.7181 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003069/0.6223, allocations: 1.569 MB / 0.7196 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008863/0.6231, allocations: 0.9957 MB / 0.7206 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005715/0.6237, allocations: 170.6 kB / 0.7207 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/0.6239, allocations: 63.42 kB / 0.7208 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of SimCode: time 1.112e-06/0.6239, allocations: 0 / 0.7208 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of Templates: time 0.2844/0.9083, allocations: 16.11 MB / 0.7365 GB, free: 189.3 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.918603332713246] Failed to read output from testmodel.py, exit status != 0: 0.9176906086504459 0.929089209 0.33858650700000004 Calling exit ...