Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001734/0.001734, allocations: 113.2 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.002081/0.002081, allocations: 215 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.456/1.456, allocations: 230.6 MB / 257.5 MB, free: 7.984 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.2276/0.2276, allocations: 26.82 MB / 340.7 MB, free: 8.184 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.TestGasTurbineStodola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbineStodola") translateModel(ThermoPower.Test.GasComponents.TestGasTurbineStodola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbineStodola") [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.002102/0.002102, allocations: 67.89 kB / 477.3 MB, free: 3.156 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3802, allocations: 60.49 MB / 0.5252 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.2341/0.6143, allocations: 170.2 MB / 0.6914 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006358/0.6206, allocations: 3.606 MB / 0.6949 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006489/0.6213, allocations: 7.938 kB / 0.6949 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001164/0.6224, allocations: 286.3 kB / 0.6952 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001427/0.6239, allocations: 497.4 kB / 0.6956 GB, free: 5.848 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004403/0.6283, allocations: 1.437 MB / 0.697 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001876/0.6301, allocations: 1.251 MB / 0.6983 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006186/0.6308, allocations: 325.6 kB / 0.6986 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009552/0.6317, allocations: 494.3 kB / 0.699 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008184/0.6325, allocations: 446.3 kB / 0.6995 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001619/0.6327, allocations: 56 kB / 0.6995 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003005/0.6357, allocations: 1.395 MB / 0.7009 GB, free: 480 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000387/0.6361, allocations: 319.2 kB / 0.7012 GB, free: 160 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006426/0.6367, allocations: 422 kB / 0.7016 GB, free: 15.74 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002793/0.6395, allocations: 1.584 MB / 0.7031 GB, free: 14.16 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.6395, allocations: 0 / 0.7031 GB, free: 14.16 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.362e-06/0.6395, allocations: 0 / 0.7031 GB, free: 14.16 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.057e-05/0.6396, allocations: 0 / 0.7031 GB, free: 14.16 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.002263/0.6418, allocations: 1.091 MB / 0.7042 GB, free: 13.04 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.6419, allocations: 8.031 kB / 0.7042 GB, free: 13.03 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007905/0.6426, allocations: 143.4 kB / 0.7043 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009366/0.6436, allocations: 474.7 kB / 0.7048 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.199e-05/0.6436, allocations: 41.31 kB / 0.7048 GB, free: 12.35 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.939e-05/0.6437, allocations: 55.94 kB / 0.7049 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.6448, allocations: 0.6158 MB / 0.7055 GB, free: 11.67 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/0.6448, allocations: 0 / 0.7055 GB, free: 11.67 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.875e-05/0.6449, allocations: 24 kB / 0.7055 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.6449, allocations: 12 kB / 0.7055 GB, free: 11.63 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008086/0.6457, allocations: 476.9 kB / 0.706 GB, free: 11.16 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.004532/0.6503, allocations: 2.012 MB / 0.708 GB, free: 9.055 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002811/0.6505, allocations: 122.6 kB / 0.7081 GB, free: 8.926 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.6506, allocations: 52.83 kB / 0.7081 GB, free: 8.871 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002465/0.6509, allocations: 55.94 kB / 0.7082 GB, free: 8.816 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.6509, allocations: 38.56 kB / 0.7082 GB, free: 8.77 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.533e-06/0.6509, allocations: 0 / 0.7082 GB, free: 8.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0005784/0.6515, allocations: 243.8 kB / 0.7084 GB, free: 8.527 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.6516, allocations: 59.28 kB / 0.7085 GB, free: 8.457 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/0.6529, allocations: 0.9889 MB / 0.7095 GB, free: 7.457 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.46e-05/0.6529, allocations: 37.64 kB / 0.7095 GB, free: 7.414 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00036/0.6533, allocations: 399.9 kB / 0.7099 GB, free: 7.02 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.27e-05/0.6533, allocations: 55.53 kB / 0.7099 GB, free: 6.965 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.6535, allocations: 86.03 kB / 0.71 GB, free: 6.875 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.6536, allocations: 322 kB / 0.7103 GB, free: 6.555 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002236/0.6539, allocations: 130.6 kB / 0.7104 GB, free: 6.422 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003325/0.6542, allocations: 250.3 kB / 0.7107 GB, free: 6.113 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004842/0.6547, allocations: 348.7 kB / 0.711 GB, free: 5.711 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.6547, allocations: 0 / 0.711 GB, free: 5.711 MB / 0.545 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000864/0.6555, allocations: 472.8 kB / 0.7115 GB, free: 5.242 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.6556, allocations: 8 kB / 0.7115 GB, free: 5.234 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.6556, allocations: 4 kB / 0.7115 GB, free: 5.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.323e-05/0.6556, allocations: 8 kB / 0.7115 GB, free: 5.223 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000533/0.6561, allocations: 111.8 kB / 0.7116 GB, free: 5.113 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004998/0.6566, allocations: 0.6136 MB / 0.7122 GB, free: 4.477 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004753/0.6571, allocations: 71.39 kB / 0.7123 GB, free: 4.406 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.938e-05/0.6572, allocations: 27.98 kB / 0.7123 GB, free: 4.379 MB / 0.545 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.0003986/0.6576, allocations: 249.6 kB / 0.7125 GB, free: 4.125 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.6577, allocations: 75.53 kB / 0.7126 GB, free: 4.051 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004159/0.6581, allocations: 223.8 kB / 0.7128 GB, free: 3.824 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.6581, allocations: 96 / 0.7128 GB, free: 3.824 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.6582, allocations: 4 kB / 0.7128 GB, free: 3.82 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.6582, allocations: 0 / 0.7128 GB, free: 3.82 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001376/0.6595, allocations: 0.7769 MB / 0.7136 GB, free: 2.984 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.6595, allocations: 7.875 kB / 0.7136 GB, free: 2.977 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002243/0.6598, allocations: 43.97 kB / 0.7136 GB, free: 2.934 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.6598, allocations: 0 / 0.7136 GB, free: 2.934 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.6598, allocations: 8.094 kB / 0.7136 GB, free: 2.926 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003949/0.6602, allocations: 0.6015 MB / 0.7142 GB, free: 2.301 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.6602, allocations: 4.031 kB / 0.7142 GB, free: 2.297 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005205/0.6607, allocations: 385.6 kB / 0.7146 GB, free: 1.895 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000223/0.6609, allocations: 99.47 kB / 0.7147 GB, free: 1.797 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.027e-05/0.661, allocations: 0 / 0.7147 GB, free: 1.797 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000376/0.6614, allocations: 23.92 kB / 0.7147 GB, free: 1.773 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/0.6614, allocations: 15.92 kB / 0.7147 GB, free: 1.758 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.906e-05/0.6614, allocations: 19.97 kB / 0.7147 GB, free: 1.738 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009118/0.6624, allocations: 0.702 MB / 0.7154 GB, free: 1.039 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6624, allocations: 4.062 kB / 0.7154 GB, free: 1.035 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007541/0.6631, allocations: 215.6 kB / 0.7156 GB, free: 0.8242 MB / 0.545 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.001761/0.6649, allocations: 0.5326 MB / 0.7162 GB, free: 428 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005676/0.6654, allocations: 236.6 kB / 0.7164 GB, free: 192 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.6654, allocations: 4 kB / 0.7164 GB, free: 188 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.6656, allocations: 71.97 kB / 0.7165 GB, free: 116 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001423/0.667, allocations: 310.8 kB / 0.7168 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/0.6689, allocations: 1.201 MB / 0.7179 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005839/0.6695, allocations: 0.9174 MB / 0.7188 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000389/0.6699, allocations: 141.5 kB / 0.719 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.67, allocations: 55.38 kB / 0.719 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of SimCode: time 6.21e-07/0.67, allocations: 0 / 0.719 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of Templates: time 0.2274/0.8974, allocations: 15.09 MB / 0.7337 GB, free: 194.3 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbineStodola.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbineStodola.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbineStodola -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.068202685564756] Failed to read output from testmodel.py, exit status != 0: 0.9065854251384735 0.918900589 0.276475069 Calling exit ...