Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.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.001806/0.001806, allocations: 73.72 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.8 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.372/1.372, allocations: 158.6 MB / 186.3 MB, free: 6.203 MB / 174.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.2854/0.2854, allocations: 36.35 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.TestGasTurbineStodola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola") translateModel(ThermoPower.Test.GasComponents.TestGasTurbineStodola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola") [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.003384/0.003384, allocations: 75.89 kB / 415.2 MB, free: 14.1 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3341, allocations: 62.38 MB / 477.6 MB, free: 43.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.1812/0.5153, allocations: 147.5 MB / 0.6105 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005978/0.5213, allocations: 3.455 MB / 0.6139 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005276/0.5219, allocations: 11.88 kB / 0.6139 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009441/0.5228, allocations: 254.4 kB / 0.6141 GB, free: 5.125 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.001173/0.524, allocations: 457.7 kB / 0.6146 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004297/0.5283, allocations: 1.494 MB / 0.616 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001806/0.5301, allocations: 1.224 MB / 0.6172 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005515/0.5306, allocations: 318.8 kB / 0.6175 GB, free: 1.656 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00083/0.5315, allocations: 482.3 kB / 0.618 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006752/0.5321, allocations: 422.4 kB / 0.6184 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001096/0.5322, allocations: 56 kB / 0.6184 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002841/0.5351, allocations: 1.232 MB / 0.6196 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003876/0.5355, allocations: 319.2 kB / 0.6199 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004722/0.5359, allocations: 346.5 kB / 0.6203 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002667/0.5386, allocations: 1.589 MB / 0.6218 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.5386, allocations: 0 / 0.6218 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5386, allocations: 4 kB / 0.6218 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.285e-05/0.5386, allocations: 0 / 0.6218 GB, free: 13.23 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.002012/0.5406, allocations: 1.084 MB / 0.6229 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.5407, allocations: 8.031 kB / 0.6229 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000721/0.5414, allocations: 143.2 kB / 0.623 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000864/0.5423, allocations: 462.8 kB / 0.6235 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.094e-05/0.5423, allocations: 37.31 kB / 0.6235 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.247e-05/0.5424, allocations: 48 kB / 0.6236 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/0.5437, allocations: 1.041 MB / 0.6246 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/0.5437, allocations: 4 kB / 0.6246 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.904e-05/0.5438, allocations: 31.94 kB / 0.6246 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.5438, allocations: 12 kB / 0.6246 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008319/0.5447, allocations: 472.9 kB / 0.6251 GB, free: 9.738 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.003846/0.5485, allocations: 1.579 MB / 0.6266 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003028/0.5488, allocations: 134.6 kB / 0.6267 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.5489, allocations: 48.84 kB / 0.6268 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002445/0.5491, allocations: 55.89 kB / 0.6268 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.5492, allocations: 34.56 kB / 0.6269 GB, free: 7.828 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.963e-06/0.5492, allocations: 0 / 0.6269 GB, free: 7.828 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0005098/0.5497, allocations: 222.7 kB / 0.6271 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.5497, allocations: 59.34 kB / 0.6271 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.5507, allocations: 0.7448 MB / 0.6279 GB, free: 6.781 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.009e-05/0.5508, allocations: 33.7 kB / 0.6279 GB, free: 6.742 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003367/0.5511, allocations: 411.6 kB / 0.6283 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.506e-05/0.5512, allocations: 63.47 kB / 0.6284 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/0.5513, allocations: 86.14 kB / 0.6284 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002182/0.5515, allocations: 366.7 kB / 0.6288 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/0.5518, allocations: 126.8 kB / 0.6289 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000341/0.5521, allocations: 255 kB / 0.6292 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004995/0.5526, allocations: 351.5 kB / 0.6295 GB, free: 4.969 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.5526, allocations: 0 / 0.6295 GB, free: 4.969 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007864/0.5534, allocations: 448.7 kB / 0.6299 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.5534, allocations: 8 kB / 0.6299 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.5534, allocations: 4.562 kB / 0.6299 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.785e-05/0.5535, allocations: 15.94 kB / 0.6299 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005459/0.554, allocations: 115.8 kB / 0.6301 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005117/0.5545, allocations: 0.6016 MB / 0.6306 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004003/0.5549, allocations: 51.72 kB / 0.6307 GB, free: 3.707 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.102e-05/0.555, allocations: 16 kB / 0.6307 GB, free: 3.691 MB / 0.5294 GB Warning: Assuming fixed start value for the following 1 variables: ConstantSpeed1.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Angle of flange with respect to support (= flange.phi - support.phi)\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (48): * Single equations (assignments): 47 * 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.000386/0.5554, allocations: 253.6 kB / 0.6309 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.5555, allocations: 59.62 kB / 0.631 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000394/0.5559, allocations: 206.9 kB / 0.6312 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.5559, allocations: 4 kB / 0.6312 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.5559, allocations: 0 / 0.6312 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.5559, allocations: 0 / 0.6312 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.557, allocations: 0.6681 MB / 0.6319 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.557, allocations: 0 / 0.6319 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002435/0.5573, allocations: 46.03 kB / 0.6319 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.5573, allocations: 0 / 0.6319 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.5573, allocations: 8.094 kB / 0.6319 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003745/0.5577, allocations: 0.6054 MB / 0.6325 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.5577, allocations: 3.938 kB / 0.6325 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005773/0.5583, allocations: 366.5 kB / 0.6329 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.5584, allocations: 67.66 kB / 0.6329 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.706e-05/0.5585, allocations: 3.938 kB / 0.6329 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003582/0.5588, allocations: 19.98 kB / 0.6329 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.547e-05/0.5588, allocations: 11.92 kB / 0.633 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.205e-05/0.5589, allocations: 24.12 kB / 0.633 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006228/0.5595, allocations: 0.5222 MB / 0.6335 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5595, allocations: 0 / 0.6335 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007565/0.5603, allocations: 235.3 kB / 0.6337 GB, free: 0.5078 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (ConstantSpeed1.phi) * 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 (16): * Single equations (assignments): 15 * 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.001942/0.5622, allocations: 0.5654 MB / 0.6343 GB, free: 15.99 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005273/0.5627, allocations: 230 kB / 0.6345 GB, free: 15.77 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.5627, allocations: 4 kB / 0.6345 GB, free: 15.77 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.5629, allocations: 71.84 kB / 0.6346 GB, free: 15.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008394/0.5637, allocations: 150.2 kB / 0.6347 GB, free: 15.56 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/0.5656, allocations: 1.159 MB / 0.6358 GB, free: 14.36 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.566, allocations: 321 kB / 0.6361 GB, free: 14.02 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003396/0.5663, allocations: 104.3 kB / 0.6362 GB, free: 13.92 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.5664, allocations: 44.48 kB / 0.6363 GB, free: 13.88 MB / 0.545 GB Notification: Performance of SimCode: time 8.82e-07/0.5664, allocations: 0 / 0.6363 GB, free: 13.88 MB / 0.545 GB Notification: Performance of Templates: time 0.01961/0.586, allocations: 10.48 MB / 0.6465 GB, free: 3.383 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.5924253050470725] Failed to read output from testmodel.py, exit status != 0: 0.5966205599252135 0.6210875069999999 0.07753246200000001 Calling exit ...