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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.GasComponents.TestGasTurbineStodola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola") translateModel(ThermoPower.Test.GasComponents.TestGasTurbineStodola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001633/0.001633, allocations: 172.2 kB / 17.39 MB, free: 4.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.495/1.495, allocations: 205.4 MB / 223.5 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007597/0.0007596, allocations: 78.42 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3813/0.3813, allocations: 48.78 MB / 369 MB, free: 47.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003439/0.0003441, allocations: 8 kB / 439.9 MB, free: 10.72 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1137, allocations: 60.27 MB / 0.4884 GB, free: 14.31 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.352/1.466, allocations: 0.7186 GB / 1.207 GB, free: 89.96 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002259/1.467, allocations: 84.98 kB / 1.207 GB, free: 89.89 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.6479/2.114, allocations: 202 MB / 1.404 GB, free: 94.08 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.413e-06/2.115, allocations: 4 kB / 1.404 GB, free: 94.07 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.295e-05/2.115, allocations: 16 kB / 1.404 GB, free: 94.06 MB / 0.5105 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.00186/2.116, allocations: 1.001 MB / 1.405 GB, free: 93 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/2.116, allocations: 8.031 kB / 1.405 GB, free: 93 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000749/2.117, allocations: 139.8 kB / 1.406 GB, free: 92.86 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008575/2.118, allocations: 0.5521 MB / 1.406 GB, free: 92.27 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.81e-05/2.118, allocations: 37.69 kB / 1.406 GB, free: 92.23 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.098e-05/2.118, allocations: 56.36 kB / 1.406 GB, free: 92.17 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008602/2.119, allocations: 0.5969 MB / 1.407 GB, free: 91.56 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/2.119, allocations: 4.094 kB / 1.407 GB, free: 91.56 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.719e-05/2.119, allocations: 35.94 kB / 1.407 GB, free: 91.52 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/2.119, allocations: 12 kB / 1.407 GB, free: 91.51 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005959/2.12, allocations: 453 kB / 1.407 GB, free: 91.07 MB / 0.5105 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.003315/2.123, allocations: 2.318 MB / 1.41 GB, free: 88.59 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/2.123, allocations: 126.6 kB / 1.41 GB, free: 88.45 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.907e-05/2.123, allocations: 61.81 kB / 1.41 GB, free: 88.39 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001989/2.124, allocations: 121.1 kB / 1.41 GB, free: 88.25 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/2.124, allocations: 42.55 kB / 1.41 GB, free: 88.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=15): time 1.944e-06/2.124, allocations: 4 kB / 1.41 GB, free: 88.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=15): time 0.0004289/2.124, allocations: 243 kB / 1.41 GB, free: 87.96 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.093e-05/2.124, allocations: 55.41 kB / 1.41 GB, free: 87.89 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009443/2.125, allocations: 0.9732 MB / 1.411 GB, free: 86.91 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/2.125, allocations: 29.7 kB / 1.411 GB, free: 86.88 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/2.125, allocations: 391.2 kB / 1.411 GB, free: 86.49 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/2.125, allocations: 59.19 kB / 1.412 GB, free: 86.43 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.634e-05/2.125, allocations: 8 kB / 1.412 GB, free: 86.42 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.229e-05/2.125, allocations: 325.9 kB / 1.412 GB, free: 86.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/2.126, allocations: 133.6 kB / 1.412 GB, free: 85.96 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000182/2.126, allocations: 254.3 kB / 1.412 GB, free: 85.65 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003613/2.126, allocations: 341.7 kB / 1.413 GB, free: 85.26 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/2.126, allocations: 0 / 1.413 GB, free: 85.26 MB / 0.5105 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005953/2.127, allocations: 468.1 kB / 1.413 GB, free: 84.79 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/2.127, allocations: 8 kB / 1.413 GB, free: 84.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/2.127, allocations: 11.88 kB / 1.413 GB, free: 84.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/2.127, allocations: 11.94 kB / 1.413 GB, free: 84.76 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004356/2.127, allocations: 112.4 kB / 1.413 GB, free: 84.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002274/2.128, allocations: 0.6055 MB / 1.414 GB, free: 84.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000452/2.128, allocations: 71.2 kB / 1.414 GB, free: 83.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.332e-05/2.128, allocations: 27.98 kB / 1.414 GB, free: 83.93 MB / 0.5105 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000278/2.128, allocations: 253.4 kB / 1.414 GB, free: 83.67 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/2.128, allocations: 75.06 kB / 1.414 GB, free: 83.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003146/2.129, allocations: 219.8 kB / 1.414 GB, free: 83.37 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/2.129, allocations: 4 kB / 1.414 GB, free: 83.37 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/2.129, allocations: 0 / 1.414 GB, free: 83.37 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/2.129, allocations: 0 / 1.414 GB, free: 83.37 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009707/2.13, allocations: 0.8409 MB / 1.415 GB, free: 82.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/2.13, allocations: 0 / 1.415 GB, free: 82.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002183/2.13, allocations: 47.91 kB / 1.415 GB, free: 82.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/2.13, allocations: 4 kB / 1.415 GB, free: 82.41 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/2.13, allocations: 0 / 1.415 GB, free: 82.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000177/2.13, allocations: 0.5977 MB / 1.416 GB, free: 81.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/2.13, allocations: 8.219 kB / 1.416 GB, free: 81.78 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003544/2.131, allocations: 385 kB / 1.416 GB, free: 81.38 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002083/2.131, allocations: 180.2 kB / 1.416 GB, free: 81.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.136e-05/2.131, allocations: 15.94 kB / 1.416 GB, free: 81.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004012/2.131, allocations: 24.05 kB / 1.416 GB, free: 81.14 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.544e-05/2.131, allocations: 11.98 kB / 1.416 GB, free: 81.13 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/2.131, allocations: 19.97 kB / 1.416 GB, free: 81.11 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006567/2.132, allocations: 0.6864 MB / 1.417 GB, free: 80.43 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.3e-07/2.132, allocations: 0 / 1.417 GB, free: 80.43 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008297/2.133, allocations: 275.7 kB / 1.417 GB, free: 80.16 MB / 0.5105 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001732/2.135, allocations: 1.027 MB / 1.418 GB, free: 79.17 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004136/2.135, allocations: 232.5 kB / 1.419 GB, free: 78.94 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/2.135, allocations: 4.312 kB / 1.419 GB, free: 78.94 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001195/2.135, allocations: 71.91 kB / 1.419 GB, free: 78.87 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001413/2.137, allocations: 307.4 kB / 1.419 GB, free: 78.57 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/2.138, allocations: 1.375 MB / 1.42 GB, free: 77.16 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/2.139, allocations: 0.9137 MB / 1.421 GB, free: 76.21 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00048/2.139, allocations: 141.7 kB / 1.421 GB, free: 76.07 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/2.139, allocations: 55.44 kB / 1.421 GB, free: 76.02 MB / 0.5105 GB Notification: Performance of SimCode: time 3.91e-07/2.139, allocations: 0 / 1.421 GB, free: 76.02 MB / 0.5105 GB Notification: Performance of Templates: time 0.02588/2.165, allocations: 22.12 MB / 1.443 GB, free: 53.87 MB / 0.5105 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.makefile (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)