Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.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.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine") translateModel(ThermoPower.Test.GasComponents.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002158/0.002159, allocations: 181.3 kB / 16.39 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.282/2.282, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0009719/0.0009719, allocations: 90.59 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6985/0.6985, allocations: 48.77 MB / 367.9 MB, free: 47.44 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003735/0.0003735, allocations: 8 kB / 438.6 MB, free: 11.01 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1711, allocations: 60.27 MB / 498.9 MB, free: 14.61 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.16/2.332, allocations: 0.7181 GB / 1.205 GB, free: 91.57 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003337/2.332, allocations: 83.95 kB / 1.205 GB, free: 91.48 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.7175/3.05, allocations: 203.6 MB / 1.404 GB, free: 94.18 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.633e-06/3.05, allocations: 4 kB / 1.404 GB, free: 94.17 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.64e-05/3.05, allocations: 23.98 kB / 1.404 GB, free: 94.15 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002146/3.052, allocations: 1.152 MB / 1.405 GB, free: 92.95 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/3.052, allocations: 12.03 kB / 1.405 GB, free: 92.93 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007035/3.053, allocations: 154.7 kB / 1.405 GB, free: 92.78 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/3.054, allocations: 0.667 MB / 1.406 GB, free: 92.07 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/3.054, allocations: 37 kB / 1.406 GB, free: 92.03 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.52e-05/3.054, allocations: 48 kB / 1.406 GB, free: 91.98 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008577/3.055, allocations: 0.5879 MB / 1.407 GB, free: 91.38 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/3.055, allocations: 7.844 kB / 1.407 GB, free: 91.38 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.917e-05/3.055, allocations: 23.98 kB / 1.407 GB, free: 91.35 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/3.055, allocations: 19.94 kB / 1.407 GB, free: 91.33 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005603/3.055, allocations: 451.8 kB / 1.407 GB, free: 90.89 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.003542/3.059, allocations: 2.358 MB / 1.41 GB, free: 88.37 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/3.059, allocations: 134.7 kB / 1.41 GB, free: 88.23 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002261/3.059, allocations: 121.1 kB / 1.41 GB, free: 88.09 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/3.059, allocations: 34.56 kB / 1.41 GB, free: 88.05 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 3.066e-06/3.059, allocations: 0 / 1.41 GB, free: 88.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14): time 0.0005062/3.06, allocations: 260.8 kB / 1.41 GB, free: 87.79 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.35e-05/3.06, allocations: 51.41 kB / 1.41 GB, free: 87.72 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/3.061, allocations: 1.206 MB / 1.411 GB, free: 86.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.292e-05/3.061, allocations: 29.7 kB / 1.411 GB, free: 86.46 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002607/3.061, allocations: 467.1 kB / 1.412 GB, free: 86 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/3.062, allocations: 55.2 kB / 1.412 GB, free: 85.95 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.496e-05/3.062, allocations: 4 kB / 1.412 GB, free: 85.94 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.078e-05/3.062, allocations: 322 kB / 1.412 GB, free: 85.62 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/3.062, allocations: 125.6 kB / 1.412 GB, free: 85.49 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/3.062, allocations: 245.6 kB / 1.413 GB, free: 85.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001969/3.062, allocations: 144.8 kB / 1.413 GB, free: 85.05 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/3.062, allocations: 4 kB / 1.413 GB, free: 85.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006067/3.063, allocations: 482.9 kB / 1.413 GB, free: 84.57 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/3.063, allocations: 11.95 kB / 1.413 GB, free: 84.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/3.063, allocations: 4 kB / 1.413 GB, free: 84.56 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/3.063, allocations: 8 kB / 1.413 GB, free: 84.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004331/3.063, allocations: 99.88 kB / 1.413 GB, free: 84.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002496/3.064, allocations: 0.6055 MB / 1.414 GB, free: 83.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004902/3.064, allocations: 71.48 kB / 1.414 GB, free: 83.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.626e-05/3.064, allocations: 31.92 kB / 1.414 GB, free: 83.72 MB / 0.5105 GB Warning: Assuming fixed start value for the following 1 variables: Inertia1.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (47): * Single equations (assignments): 46 * 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.0003764/3.065, allocations: 304.4 kB / 1.414 GB, free: 83.42 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/3.065, allocations: 94.88 kB / 1.414 GB, free: 83.32 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003552/3.065, allocations: 237.8 kB / 1.415 GB, free: 83.08 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/3.065, allocations: 7.938 kB / 1.415 GB, free: 83.07 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/3.065, allocations: 4 kB / 1.415 GB, free: 83.07 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/3.065, allocations: 0 / 1.415 GB, free: 83.07 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005849/3.066, allocations: 0.584 MB / 1.415 GB, free: 82.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/3.066, allocations: 3.984 kB / 1.415 GB, free: 82.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/3.066, allocations: 47.91 kB / 1.415 GB, free: 82.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/3.066, allocations: 0 / 1.415 GB, free: 82.39 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/3.066, allocations: 4 kB / 1.415 GB, free: 82.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001885/3.066, allocations: 0.5978 MB / 1.416 GB, free: 81.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/3.066, allocations: 0 / 1.416 GB, free: 81.76 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003552/3.066, allocations: 378.6 kB / 1.416 GB, free: 81.38 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003209/3.067, allocations: 224 kB / 1.416 GB, free: 81.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.889e-05/3.067, allocations: 4 kB / 1.416 GB, free: 81.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004217/3.067, allocations: 28.06 kB / 1.416 GB, free: 81.11 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.917e-05/3.067, allocations: 11.98 kB / 1.416 GB, free: 81.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.177e-05/3.067, allocations: 15.98 kB / 1.416 GB, free: 81.08 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009254/3.068, allocations: 0.9267 MB / 1.417 GB, free: 80.14 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2e-07/3.068, allocations: 0 / 1.417 GB, free: 80.14 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009867/3.069, allocations: 291.8 kB / 1.418 GB, free: 79.86 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Inertia1.phi,Inertia1.w) * 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 (14): * Single equations (assignments): 13 * 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.001809/3.071, allocations: 1.026 MB / 1.419 GB, free: 78.87 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004726/3.072, allocations: 223.7 kB / 1.419 GB, free: 78.65 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.768e-06/3.072, allocations: 0 / 1.419 GB, free: 78.65 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001252/3.072, allocations: 68.97 kB / 1.419 GB, free: 78.58 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/3.073, allocations: 327.2 kB / 1.419 GB, free: 78.26 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002305/3.075, allocations: 1.757 MB / 1.421 GB, free: 76.47 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004447/3.076, allocations: 1.012 MB / 1.422 GB, free: 75.43 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000568/3.077, allocations: 178.7 kB / 1.422 GB, free: 75.25 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/3.077, allocations: 63.42 kB / 1.422 GB, free: 75.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.333e-06/3.077, allocations: 0 / 1.422 GB, free: 75.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.03082/3.108, allocations: 22.97 MB / 1.445 GB, free: 52.2 MB / 0.5105 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.makefile (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe 2>&1)