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.001385/0.001385, allocations: 73.41 kB / 21.24 MB, free: 0.5547 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.001535/0.001535, allocations: 160.1 kB / 24.5 MB, free: 3.715 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.313/1.313, allocations: 158.6 MB / 186.3 MB, free: 6.207 MB / 174.1 MB " [Timeout remaining time 179] 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.2806/0.2806, allocations: 36.34 MB / 274.8 MB, free: 14.66 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.002339/0.002339, allocations: 79.89 kB / 415.3 MB, free: 14.1 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.328, allocations: 62.38 MB / 477.6 MB, free: 43.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.1765/0.5045, allocations: 147.4 MB / 0.6104 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005836/0.5103, allocations: 3.517 MB / 0.6139 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004114/0.5107, allocations: 11.88 kB / 0.6139 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008588/0.5116, allocations: 246.4 kB / 0.6141 GB, free: 5.148 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.001042/0.5126, allocations: 0.4937 MB / 0.6146 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0041/0.5167, allocations: 1.571 MB / 0.6161 GB, free: 3.098 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001596/0.5183, allocations: 1.259 MB / 0.6173 GB, free: 1.836 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005039/0.5188, allocations: 325.9 kB / 0.6177 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006885/0.5195, allocations: 0.4944 MB / 0.6181 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006567/0.5202, allocations: 470.2 kB / 0.6186 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.00011/0.5203, allocations: 52 kB / 0.6186 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002726/0.523, allocations: 1.232 MB / 0.6198 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004212/0.5234, allocations: 379 kB / 0.6202 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004964/0.5239, allocations: 374.2 kB / 0.6206 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002565/0.5265, allocations: 1.709 MB / 0.6222 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.5265, allocations: 0 / 0.6222 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5265, allocations: 4 kB / 0.6222 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.161e-05/0.5265, allocations: 0 / 0.6222 GB, free: 12.82 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.00207/0.5286, allocations: 1.215 MB / 0.6234 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.5286, allocations: 16.03 kB / 0.6234 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000734/0.5294, allocations: 151.3 kB / 0.6236 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009788/0.5304, allocations: 0.5871 MB / 0.6242 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.978e-05/0.5304, allocations: 37 kB / 0.6242 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.911e-05/0.5305, allocations: 52 kB / 0.6242 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/0.5318, allocations: 1.029 MB / 0.6252 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.5318, allocations: 4 kB / 0.6252 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-05/0.5319, allocations: 23.94 kB / 0.6253 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/0.5319, allocations: 15.94 kB / 0.6253 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007916/0.5327, allocations: 475.7 kB / 0.6257 GB, free: 9.051 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.003738/0.5364, allocations: 1.609 MB / 0.6273 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.5367, allocations: 138.6 kB / 0.6274 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.893e-05/0.5368, allocations: 44.84 kB / 0.6275 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002395/0.5371, allocations: 56.2 kB / 0.6275 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.5371, allocations: 34.56 kB / 0.6276 GB, free: 7.109 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.332e-06/0.5371, allocations: 0 / 0.6276 GB, free: 7.109 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0005032/0.5376, allocations: 238.8 kB / 0.6278 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.5376, allocations: 59.34 kB / 0.6279 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/0.5391, allocations: 1.106 MB / 0.6289 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.563e-05/0.5391, allocations: 29.7 kB / 0.629 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004121/0.5395, allocations: 471.6 kB / 0.6294 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.28e-05/0.5396, allocations: 63.5 kB / 0.6295 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.5397, allocations: 89.97 kB / 0.6296 GB, free: 5.027 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.5399, allocations: 321.9 kB / 0.6299 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002251/0.5401, allocations: 126.7 kB / 0.63 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003198/0.5404, allocations: 246.1 kB / 0.6302 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000498/0.5409, allocations: 338.7 kB / 0.6305 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.5409, allocations: 4 kB / 0.6305 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007771/0.5417, allocations: 456.6 kB / 0.631 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.5417, allocations: 11.94 kB / 0.631 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.5417, allocations: 4 kB / 0.631 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.5417, allocations: 8.531 kB / 0.631 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004676/0.5422, allocations: 103.9 kB / 0.6311 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004512/0.5426, allocations: 0.6055 MB / 0.6317 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003852/0.543, allocations: 59.59 kB / 0.6318 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-05/0.5431, allocations: 23.98 kB / 0.6318 GB, free: 2.594 MB / 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.0004294/0.5435, allocations: 294.4 kB / 0.6321 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.5436, allocations: 79.47 kB / 0.6321 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004167/0.544, allocations: 232.2 kB / 0.6324 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-06/0.5441, allocations: 8.094 kB / 0.6324 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.5441, allocations: 0 / 0.6324 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.5441, allocations: 0 / 0.6324 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006136/0.5447, allocations: 417 kB / 0.6328 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.5447, allocations: 0 / 0.6328 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002442/0.5449, allocations: 43.91 kB / 0.6328 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.5449, allocations: 0 / 0.6328 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.5449, allocations: 11.94 kB / 0.6328 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004116/0.5454, allocations: 0.5977 MB / 0.6334 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5454, allocations: 4.094 kB / 0.6334 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004972/0.5459, allocations: 366.9 kB / 0.6338 GB, free: 500 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000181/0.546, allocations: 91.48 kB / 0.6338 GB, free: 408 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.542e-05/0.5461, allocations: 4 kB / 0.6338 GB, free: 404 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003688/0.5465, allocations: 19.97 kB / 0.6339 GB, free: 384 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.875e-05/0.5465, allocations: 11.98 kB / 0.6339 GB, free: 372 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.62e-05/0.5465, allocations: 11.98 kB / 0.6339 GB, free: 360 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001025/0.5476, allocations: 0.7762 MB / 0.6346 GB, free: 15.58 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.5476, allocations: 0 / 0.6346 GB, free: 15.58 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007886/0.5483, allocations: 243.4 kB / 0.6349 GB, free: 15.34 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.001955/0.5503, allocations: 0.5643 MB / 0.6354 GB, free: 14.83 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005185/0.5508, allocations: 230.8 kB / 0.6356 GB, free: 14.61 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.5508, allocations: 0 / 0.6356 GB, free: 14.61 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.551, allocations: 67.91 kB / 0.6357 GB, free: 14.54 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008984/0.5519, allocations: 159.7 kB / 0.6359 GB, free: 14.39 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002504/0.5544, allocations: 1.519 MB / 0.6373 GB, free: 12.84 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005057/0.5549, allocations: 398.8 kB / 0.6377 GB, free: 12.43 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004276/0.5553, allocations: 136.9 kB / 0.6379 GB, free: 12.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.5554, allocations: 56.48 kB / 0.6379 GB, free: 12.24 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.5554, allocations: 0 / 0.6379 GB, free: 12.24 MB / 0.545 GB Notification: Performance of Templates: time 0.02259/0.578, allocations: 11.53 MB / 0.6492 GB, free: 0.6953 MB / 0.545 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 -s ida -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.438469020999037] Failed to read output from testmodel.py, exit status != 0: 0.5875740990741178 0.602418108 0.072575476 Calling exit ...