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.001442/0.001443, allocations: 174.4 kB / 13.63 MB, free: 1.684 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.549/1.549, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.0007686/0.0007686, allocations: 78.73 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2473/0.2473, allocations: 48.78 MB / 364.3 MB, free: 6.859 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.375e-05/3.377e-05, allocations: 4 kB / 432.5 MB, free: 16.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1019, allocations: 60.25 MB / 492.7 MB, free: 4.383 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.627/1.729, allocations: 0.7185 GB / 1.2 GB, free: 93.21 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/1.729, allocations: 79.83 kB / 1.2 GB, free: 93.17 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.888/2.617, allocations: 201.8 MB / 1.397 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.084e-06/2.617, allocations: 0 / 1.397 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.915e-05/2.617, allocations: 23.98 kB / 1.397 GB, free: 104.6 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.001571/2.619, allocations: 0.9086 MB / 1.398 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/2.619, allocations: 16.03 kB / 1.398 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006551/2.619, allocations: 138.9 kB / 1.398 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008216/2.62, allocations: 0.5279 MB / 1.398 GB, free: 103 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.149e-05/2.62, allocations: 37.31 kB / 1.398 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.556e-05/2.62, allocations: 51.98 kB / 1.398 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009132/2.621, allocations: 0.5847 MB / 1.399 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/2.621, allocations: 3.906 kB / 1.399 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.301e-05/2.621, allocations: 24 kB / 1.399 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/2.621, allocations: 16 kB / 1.399 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005862/2.622, allocations: 445.1 kB / 1.399 GB, free: 101.8 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.003518/2.625, allocations: 2.31 MB / 1.402 GB, free: 99.32 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/2.626, allocations: 130.7 kB / 1.402 GB, free: 99.18 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.567e-05/2.626, allocations: 56.86 kB / 1.402 GB, free: 99.12 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000225/2.626, allocations: 121 kB / 1.402 GB, free: 98.99 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/2.626, allocations: 38.56 kB / 1.402 GB, free: 98.94 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=15): time 1.673e-06/2.626, allocations: 0 / 1.402 GB, free: 98.94 MB / 0.5105 GB Notification: Performance of matching and sorting (n=15): time 0.0003605/2.626, allocations: 208.9 kB / 1.402 GB, free: 98.73 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/2.626, allocations: 59.36 kB / 1.402 GB, free: 98.66 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009434/2.627, allocations: 0.8749 MB / 1.403 GB, free: 97.78 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/2.627, allocations: 33.7 kB / 1.403 GB, free: 97.74 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/2.628, allocations: 383 kB / 1.404 GB, free: 97.36 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.488e-05/2.628, allocations: 63.17 kB / 1.404 GB, free: 97.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.635e-05/2.628, allocations: 8 kB / 1.404 GB, free: 97.29 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.703e-05/2.628, allocations: 318 kB / 1.404 GB, free: 96.97 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/2.628, allocations: 125.6 kB / 1.404 GB, free: 96.85 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001947/2.628, allocations: 259 kB / 1.404 GB, free: 96.54 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001974/2.628, allocations: 148.7 kB / 1.404 GB, free: 96.39 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/2.628, allocations: 0 / 1.404 GB, free: 96.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005715/2.629, allocations: 462.2 kB / 1.405 GB, free: 95.93 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/2.629, allocations: 15.06 kB / 1.405 GB, free: 95.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/2.629, allocations: 4.562 kB / 1.405 GB, free: 95.92 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/2.629, allocations: 8 kB / 1.405 GB, free: 95.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000459/2.63, allocations: 111.8 kB / 1.405 GB, free: 95.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002522/2.63, allocations: 0.6094 MB / 1.406 GB, free: 95.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004683/2.63, allocations: 79.19 kB / 1.406 GB, free: 95.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.226e-05/2.63, allocations: 20 kB / 1.406 GB, free: 95.07 MB / 0.5105 GB Warning: Assuming fixed start value for the following 1 variables: ConstantSpeed1.phi:VARIABLE(unit = "rad" ) "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 () * 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.000139/2.63, allocations: 130.4 kB / 1.406 GB, free: 94.94 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.774e-05/2.631, allocations: 79.06 kB / 1.406 GB, free: 94.86 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003525/2.631, allocations: 223.9 kB / 1.406 GB, free: 94.63 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/2.631, allocations: 3.984 kB / 1.406 GB, free: 94.63 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/2.631, allocations: 0 / 1.406 GB, free: 94.63 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/2.631, allocations: 4 kB / 1.406 GB, free: 94.62 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/2.632, allocations: 0.8246 MB / 1.407 GB, free: 93.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/2.632, allocations: 4 kB / 1.407 GB, free: 93.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000211/2.632, allocations: 51.89 kB / 1.407 GB, free: 93.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/2.632, allocations: 8 kB / 1.407 GB, free: 93.67 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/2.632, allocations: 0 / 1.407 GB, free: 93.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001883/2.632, allocations: 0.6017 MB / 1.408 GB, free: 93.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/2.632, allocations: 4.031 kB / 1.408 GB, free: 93.04 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003517/2.633, allocations: 418.5 kB / 1.408 GB, free: 92.59 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002201/2.633, allocations: 184.2 kB / 1.408 GB, free: 92.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.064e-05/2.633, allocations: 7.953 kB / 1.408 GB, free: 92.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004016/2.634, allocations: 23.92 kB / 1.408 GB, free: 92.36 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.183e-05/2.634, allocations: 15.92 kB / 1.408 GB, free: 92.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-05/2.634, allocations: 19.97 kB / 1.408 GB, free: 92.32 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006544/2.634, allocations: 0.6787 MB / 1.409 GB, free: 91.65 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/2.634, allocations: 4.062 kB / 1.409 GB, free: 91.64 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009174/2.635, allocations: 275.8 kB / 1.409 GB, free: 91.38 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 () * 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.001807/2.637, allocations: 0.9762 MB / 1.41 GB, free: 90.39 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005075/2.638, allocations: 231.8 kB / 1.41 GB, free: 90.16 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/2.638, allocations: 4 kB / 1.41 GB, free: 90.16 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001221/2.638, allocations: 59.92 kB / 1.41 GB, free: 90.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001394/2.639, allocations: 312.2 kB / 1.411 GB, free: 89.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/2.64, allocations: 0.8462 MB / 1.411 GB, free: 88.91 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/2.641, allocations: 0.9332 MB / 1.412 GB, free: 87.95 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004817/2.641, allocations: 133.7 kB / 1.413 GB, free: 87.82 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/2.641, allocations: 59.36 kB / 1.413 GB, free: 87.76 MB / 0.5105 GB Notification: Performance of SimCode: time 3.71e-07/2.641, allocations: 0 / 1.413 GB, free: 87.76 MB / 0.5105 GB Notification: Performance of Templates: time 0.03195/2.673, allocations: 23.94 MB / 1.436 GB, free: 63.79 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)