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.0008533/0.0008533, allocations: 91.62 kB / 21.44 MB, free: 3.102 MB / 18.57 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.0008608/0.0008608, allocations: 159.8 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8186/0.8186, allocations: 158.6 MB / 186.5 MB, free: 3.039 MB / 170.7 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.1815/0.1815, allocations: 36.34 MB / 275.1 MB, free: 10.91 MB / 266.7 MB " [Timeout remaining time 180] 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.543e-06/1.543e-06, allocations: 0 / 415.6 MB, free: 5.598 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.543e-05/1.697e-05, allocations: 2.281 kB / 415.6 MB, free: 5.594 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.3147/0.3147, allocations: 147.5 MB / 0.5499 GB, free: 9.617 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.003172/0.3179, allocations: 3.466 MB / 0.5533 GB, free: 6.141 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001867/0.3181, allocations: 11.94 kB / 0.5533 GB, free: 6.129 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006241/0.3187, allocations: 258.2 kB / 0.5535 GB, free: 5.875 MB / 458.7 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.0005904/0.3193, allocations: 477.1 kB / 0.554 GB, free: 5.406 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002061/0.3214, allocations: 1.527 MB / 0.5555 GB, free: 3.879 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001416/0.3228, allocations: 1.219 MB / 0.5567 GB, free: 2.656 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003336/0.3231, allocations: 314.5 kB / 0.557 GB, free: 2.348 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005157/0.3236, allocations: 0.6156 MB / 0.5576 GB, free: 1.73 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003486/0.324, allocations: 386.9 kB / 0.5579 GB, free: 1.352 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.881e-05/0.324, allocations: 56 kB / 0.558 GB, free: 1.297 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001291/0.3253, allocations: 1.251 MB / 0.5592 GB, free: 44 kB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002121/0.3255, allocations: 339.1 kB / 0.5595 GB, free: 15.71 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001929/0.3257, allocations: 288.3 kB / 0.5598 GB, free: 15.43 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.3271, allocations: 1.706 MB / 0.5615 GB, free: 13.72 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3271, allocations: 0 / 0.5615 GB, free: 13.72 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3271, allocations: 0 / 0.5615 GB, free: 13.72 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.3271, allocations: 7.938 kB / 0.5615 GB, free: 13.71 MB / 474.7 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.001199/0.3283, allocations: 1.053 MB / 0.5625 GB, free: 12.62 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.3283, allocations: 12.03 kB / 0.5625 GB, free: 12.61 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004085/0.3287, allocations: 147.3 kB / 0.5627 GB, free: 12.47 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004922/0.3292, allocations: 466.8 kB / 0.5631 GB, free: 11.98 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.3292, allocations: 41.31 kB / 0.5631 GB, free: 11.95 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.477e-05/0.3293, allocations: 49.97 kB / 0.5632 GB, free: 11.9 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.3303, allocations: 1.043 MB / 0.5642 GB, free: 10.74 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.3304, allocations: 3.953 kB / 0.5642 GB, free: 10.73 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.365e-05/0.3304, allocations: 24 kB / 0.5642 GB, free: 10.71 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.3304, allocations: 12 kB / 0.5642 GB, free: 10.7 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004767/0.3309, allocations: 476.9 kB / 0.5647 GB, free: 10.23 MB / 474.7 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.002221/0.3331, allocations: 1.574 MB / 0.5662 GB, free: 8.609 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.3333, allocations: 122.6 kB / 0.5663 GB, free: 8.48 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.584e-05/0.3334, allocations: 56.83 kB / 0.5664 GB, free: 8.422 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001366/0.3335, allocations: 43.97 kB / 0.5664 GB, free: 8.379 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.3335, allocations: 42.5 kB / 0.5665 GB, free: 8.328 MB / 474.7 MB Notification: Performance of pre-optimization done (n=15): time 1.784e-06/0.3335, allocations: 0 / 0.5665 GB, free: 8.328 MB / 474.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003294/0.3339, allocations: 227.3 kB / 0.5667 GB, free: 8.102 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.3339, allocations: 55.41 kB / 0.5668 GB, free: 8.035 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005551/0.3344, allocations: 0.7488 MB / 0.5675 GB, free: 7.277 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.3345, allocations: 25.7 kB / 0.5675 GB, free: 7.246 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/0.3347, allocations: 411.5 kB / 0.5679 GB, free: 6.836 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/0.3347, allocations: 55.58 kB / 0.568 GB, free: 6.781 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.784e-05/0.3348, allocations: 86.09 kB / 0.568 GB, free: 6.688 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.3349, allocations: 370.7 kB / 0.5684 GB, free: 6.316 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.335, allocations: 134.8 kB / 0.5685 GB, free: 6.184 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/0.3352, allocations: 258.8 kB / 0.5688 GB, free: 5.867 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003068/0.3355, allocations: 349.6 kB / 0.5691 GB, free: 5.461 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.3356, allocations: 0 / 0.5691 GB, free: 5.461 MB / 474.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004602/0.336, allocations: 456.2 kB / 0.5695 GB, free: 5.012 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.336, allocations: 4 kB / 0.5695 GB, free: 5.008 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.336, allocations: 8 kB / 0.5695 GB, free: 5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.3361, allocations: 4 kB / 0.5696 GB, free: 4.996 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000266/0.3363, allocations: 112.4 kB / 0.5697 GB, free: 4.887 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002961/0.3366, allocations: 0.6094 MB / 0.5703 GB, free: 4.254 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001766/0.3368, allocations: 59.55 kB / 0.5703 GB, free: 4.195 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-05/0.3368, allocations: 20 kB / 0.5703 GB, free: 4.176 MB / 474.7 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.0007353/0.3376, allocations: 249.5 kB / 0.5706 GB, free: 3.922 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.741e-05/0.3376, allocations: 55.67 kB / 0.5706 GB, free: 3.867 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002579/0.3379, allocations: 205.9 kB / 0.5708 GB, free: 3.66 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3379, allocations: 8.094 kB / 0.5708 GB, free: 3.652 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3379, allocations: 0 / 0.5708 GB, free: 3.652 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.3379, allocations: 3.938 kB / 0.5708 GB, free: 3.648 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006485/0.3385, allocations: 0.6605 MB / 0.5715 GB, free: 2.941 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.3385, allocations: 0 / 0.5715 GB, free: 2.941 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.3387, allocations: 47.91 kB / 0.5715 GB, free: 2.895 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3387, allocations: 0 / 0.5715 GB, free: 2.895 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.3387, allocations: 8 kB / 0.5715 GB, free: 2.887 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001986/0.3389, allocations: 0.6017 MB / 0.5721 GB, free: 2.262 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3389, allocations: 0 / 0.5721 GB, free: 2.262 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002778/0.3391, allocations: 371.1 kB / 0.5725 GB, free: 1.875 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.085e-05/0.3392, allocations: 67.59 kB / 0.5725 GB, free: 1.809 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.173e-05/0.3392, allocations: 4 kB / 0.5725 GB, free: 1.805 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.3394, allocations: 15.98 kB / 0.5726 GB, free: 1.789 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.266e-05/0.3394, allocations: 11.92 kB / 0.5726 GB, free: 1.777 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.419e-05/0.3395, allocations: 23.97 kB / 0.5726 GB, free: 1.754 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003761/0.3398, allocations: 0.5144 MB / 0.5731 GB, free: 1.242 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3398, allocations: 160 / 0.5731 GB, free: 1.242 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004165/0.3403, allocations: 235.4 kB / 0.5733 GB, free: 1.012 MB / 474.7 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.0009561/0.3412, allocations: 0.589 MB / 0.5739 GB, free: 440 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003263/0.3415, allocations: 232.4 kB / 0.5741 GB, free: 208 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3415, allocations: 0 / 0.5741 GB, free: 208 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 7.52e-05/0.3416, allocations: 63.91 kB / 0.5742 GB, free: 144 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004976/0.3421, allocations: 146.9 kB / 0.5743 GB, free: 15.99 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.3433, allocations: 1.148 MB / 0.5754 GB, free: 14.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.3435, allocations: 316.9 kB / 0.5757 GB, free: 14.46 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.888e-05/0.3436, allocations: 48.48 kB / 0.5758 GB, free: 14.41 MB / 490.7 MB Notification: Performance of SimCode: time 7.62e-07/0.3436, allocations: 0 / 0.5758 GB, free: 14.41 MB / 490.7 MB Notification: Performance of Templates: time 0.01076/0.3544, allocations: 13 MB / 0.5885 GB, free: 1.395 MB / 490.7 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: 6.217229555360973] Failed to read output from testmodel.py, exit status != 0: 0.3595544109120965 0.36761307200000004 0.038807738 Calling exit ...