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.001397/0.001397, allocations: 85.95 kB / 20.68 MB, free: 1.023 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: 163.2 kB / 23.95 MB, free: 4.156 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.323/1.323, allocations: 158.6 MB / 185.7 MB, free: 6.434 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.2671/0.2671, allocations: 36.35 MB / 274.3 MB, free: 0.6484 MB / 254.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: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 414.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.369e-05/2.537e-05, allocations: 6.281 kB / 414.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.4054/0.4054, allocations: 147.5 MB / 0.5491 GB, free: 2.621 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005605/0.411, allocations: 3.463 MB / 0.5525 GB, free: 15.15 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004761/0.4115, allocations: 15.88 kB / 0.5525 GB, free: 15.13 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000971/0.4125, allocations: 262.2 kB / 0.5528 GB, free: 14.88 MB / 446.1 MB [/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.001276/0.4138, allocations: 465.2 kB / 0.5532 GB, free: 14.42 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004536/0.4183, allocations: 1.525 MB / 0.5547 GB, free: 12.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001909/0.4202, allocations: 1.227 MB / 0.5559 GB, free: 11.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007405/0.4209, allocations: 318.5 kB / 0.5562 GB, free: 11.35 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001618/0.4226, allocations: 0.6156 MB / 0.5568 GB, free: 10.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008189/0.4234, allocations: 386.9 kB / 0.5572 GB, free: 10.35 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001746/0.4236, allocations: 56 kB / 0.5572 GB, free: 10.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003211/0.4268, allocations: 1.247 MB / 0.5585 GB, free: 9.047 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005274/0.4273, allocations: 335.1 kB / 0.5588 GB, free: 8.719 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006079/0.4279, allocations: 289.3 kB / 0.5591 GB, free: 8.438 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003088/0.431, allocations: 1.717 MB / 0.5607 GB, free: 6.719 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.431, allocations: 0 / 0.5607 GB, free: 6.719 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.431, allocations: 0 / 0.5607 GB, free: 6.719 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.431, allocations: 0 / 0.5607 GB, free: 6.719 MB / 446.1 MB 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.001905/0.4329, allocations: 1.064 MB / 0.5618 GB, free: 5.621 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.433, allocations: 12.03 kB / 0.5618 GB, free: 5.609 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007862/0.4337, allocations: 139.4 kB / 0.5619 GB, free: 5.473 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008377/0.4346, allocations: 462.8 kB / 0.5624 GB, free: 4.992 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.015e-05/0.4346, allocations: 41.31 kB / 0.5624 GB, free: 4.953 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.196e-05/0.4347, allocations: 59.98 kB / 0.5625 GB, free: 4.895 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/0.4361, allocations: 1.035 MB / 0.5635 GB, free: 3.742 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/0.4361, allocations: 7.891 kB / 0.5635 GB, free: 3.734 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-05/0.4361, allocations: 24 kB / 0.5635 GB, free: 3.711 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.4362, allocations: 12 kB / 0.5635 GB, free: 3.699 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007774/0.4369, allocations: 472.9 kB / 0.564 GB, free: 3.234 MB / 446.1 MB 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.003891/0.4408, allocations: 1.57 MB / 0.5655 GB, free: 1.617 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002819/0.4411, allocations: 134.6 kB / 0.5656 GB, free: 1.477 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.764e-05/0.4412, allocations: 49.78 kB / 0.5657 GB, free: 1.426 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002444/0.4415, allocations: 47.95 kB / 0.5657 GB, free: 1.379 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.4415, allocations: 34.56 kB / 0.5657 GB, free: 1.336 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.4415, allocations: 0 / 0.5657 GB, free: 1.336 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005329/0.442, allocations: 229.1 kB / 0.566 GB, free: 1.105 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.76e-05/0.4421, allocations: 55.41 kB / 0.566 GB, free: 1.039 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.4431, allocations: 0.7488 MB / 0.5668 GB, free: 288 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.127e-05/0.4431, allocations: 29.7 kB / 0.5668 GB, free: 252 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003503/0.4435, allocations: 415.7 kB / 0.5672 GB, free: 15.83 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.434e-05/0.4435, allocations: 51.59 kB / 0.5672 GB, free: 15.78 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001607/0.4437, allocations: 90.03 kB / 0.5673 GB, free: 15.68 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002109/0.4439, allocations: 362.8 kB / 0.5677 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002334/0.4441, allocations: 134.8 kB / 0.5678 GB, free: 15.18 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003232/0.4445, allocations: 258.8 kB / 0.568 GB, free: 14.87 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005552/0.445, allocations: 349.7 kB / 0.5684 GB, free: 14.46 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.445, allocations: 3.625 kB / 0.5684 GB, free: 14.46 MB / 462.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007756/0.4458, allocations: 441.2 kB / 0.5688 GB, free: 14.02 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.4458, allocations: 18.89 kB / 0.5688 GB, free: 14.01 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.4458, allocations: 4 kB / 0.5688 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/0.4459, allocations: 8 kB / 0.5688 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000524/0.4464, allocations: 111.8 kB / 0.5689 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005594/0.4469, allocations: 0.6055 MB / 0.5695 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004066/0.4473, allocations: 59.61 kB / 0.5696 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.88e-05/0.4474, allocations: 19.98 kB / 0.5696 GB, free: 13.18 MB / 462.1 MB 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.0003599/0.4478, allocations: 249.8 kB / 0.5698 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.4479, allocations: 59.67 kB / 0.5699 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000418/0.4483, allocations: 204.1 kB / 0.5701 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.4483, allocations: 4 kB / 0.5701 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.4483, allocations: 96 / 0.5701 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.4483, allocations: 7.969 kB / 0.5701 GB, free: 12.65 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.4494, allocations: 0.6604 MB / 0.5707 GB, free: 11.94 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.4494, allocations: 4.094 kB / 0.5707 GB, free: 11.94 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002426/0.4496, allocations: 43.97 kB / 0.5708 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.4497, allocations: 0 / 0.5708 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.4497, allocations: 11.98 kB / 0.5708 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004841/0.4502, allocations: 0.5938 MB / 0.5714 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4502, allocations: 0 / 0.5714 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004979/0.4507, allocations: 375.4 kB / 0.5717 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.4508, allocations: 63.59 kB / 0.5718 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.797e-05/0.4508, allocations: 8 kB / 0.5718 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003683/0.4512, allocations: 20.12 kB / 0.5718 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.5e-05/0.4512, allocations: 15.92 kB / 0.5718 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.941e-05/0.4513, allocations: 15.98 kB / 0.5719 GB, free: 10.75 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006441/0.4519, allocations: 0.5222 MB / 0.5724 GB, free: 10.23 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4519, allocations: 0 / 0.5724 GB, free: 10.23 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007867/0.4527, allocations: 235.3 kB / 0.5726 GB, free: 10 MB / 462.1 MB 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.002047/0.4548, allocations: 0.5802 MB / 0.5732 GB, free: 9.434 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005358/0.4553, allocations: 231.6 kB / 0.5734 GB, free: 9.207 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.4553, allocations: 0 / 0.5734 GB, free: 9.207 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.4555, allocations: 65.03 kB / 0.5734 GB, free: 9.145 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009155/0.4564, allocations: 154 kB / 0.5736 GB, free: 8.988 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.4583, allocations: 1.103 MB / 0.5747 GB, free: 7.848 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.4587, allocations: 321 kB / 0.575 GB, free: 7.512 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003298/0.459, allocations: 108.2 kB / 0.5751 GB, free: 7.402 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.4591, allocations: 40.5 kB / 0.5751 GB, free: 7.359 MB / 462.1 MB Notification: Performance of SimCode: time 3.5e-07/0.4591, allocations: 3.938 kB / 0.5751 GB, free: 7.355 MB / 462.1 MB Notification: Performance of Templates: time 0.02039/0.4795, allocations: 10.44 MB / 0.5853 GB, free: 12.9 MB / 478.1 MB " [Timeout remaining time 660] 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 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.381393201649189] Failed to read output from testmodel.py, exit status != 0: 0.48826558142900467 0.503061023 0.06886204 Calling exit ...