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.002547/0.002547, allocations: 180.2 kB / 16.38 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.25/2.25, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001207/0.001206, allocations: 101.8 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6304/0.6304, allocations: 48.78 MB / 367.9 MB, free: 47.41 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004023/0.0004023, allocations: 8 kB / 438.6 MB, free: 11.01 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1633, allocations: 60.25 MB / 498.9 MB, free: 14.62 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.151/2.314, allocations: 0.7185 GB / 1.206 GB, free: 79.15 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/2.315, allocations: 87.14 kB / 1.206 GB, free: 79.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.6967/3.011, allocations: 202 MB / 1.403 GB, free: 87.33 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.312e-06/3.011, allocations: 0 / 1.403 GB, free: 87.33 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.727e-05/3.011, allocations: 19.98 kB / 1.403 GB, free: 87.31 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.001857/3.013, allocations: 1.005 MB / 1.404 GB, free: 86.25 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/3.013, allocations: 8.031 kB / 1.404 GB, free: 86.25 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006343/3.014, allocations: 142.9 kB / 1.404 GB, free: 86.11 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008403/3.015, allocations: 0.5356 MB / 1.405 GB, free: 85.53 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.138e-05/3.015, allocations: 37.31 kB / 1.405 GB, free: 85.49 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.18e-05/3.015, allocations: 48 kB / 1.405 GB, free: 85.45 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009077/3.016, allocations: 0.6002 MB / 1.405 GB, free: 84.83 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/3.016, allocations: 7.906 kB / 1.405 GB, free: 84.82 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.096e-05/3.016, allocations: 20 kB / 1.405 GB, free: 84.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/3.016, allocations: 12 kB / 1.405 GB, free: 84.79 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006176/3.017, allocations: 464.9 kB / 1.406 GB, free: 84.34 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.003633/3.02, allocations: 2.302 MB / 1.408 GB, free: 81.86 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/3.021, allocations: 134.6 kB / 1.408 GB, free: 81.72 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000239/3.021, allocations: 121 kB / 1.408 GB, free: 81.59 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/3.021, allocations: 38.56 kB / 1.408 GB, free: 81.54 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=15): time 3.196e-06/3.021, allocations: 0 / 1.408 GB, free: 81.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=15): time 0.0004814/3.021, allocations: 244.3 kB / 1.409 GB, free: 81.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/3.021, allocations: 55.34 kB / 1.409 GB, free: 81.23 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008727/3.022, allocations: 0.8943 MB / 1.409 GB, free: 80.32 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/3.022, allocations: 29.7 kB / 1.41 GB, free: 80.29 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001964/3.022, allocations: 395.2 kB / 1.41 GB, free: 79.89 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.031e-05/3.023, allocations: 51.27 kB / 1.41 GB, free: 79.84 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.662e-05/3.023, allocations: 8 kB / 1.41 GB, free: 79.84 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.408e-05/3.023, allocations: 318 kB / 1.41 GB, free: 79.52 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/3.023, allocations: 129.6 kB / 1.41 GB, free: 79.39 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000189/3.023, allocations: 247.1 kB / 1.411 GB, free: 79.09 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/3.023, allocations: 145.4 kB / 1.411 GB, free: 78.95 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/3.023, allocations: 4 kB / 1.411 GB, free: 78.94 MB / 0.5105 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005715/3.024, allocations: 473.8 kB / 1.411 GB, free: 78.48 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/3.024, allocations: 15.89 kB / 1.411 GB, free: 78.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/3.024, allocations: 4 kB / 1.411 GB, free: 78.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/3.024, allocations: 8 kB / 1.411 GB, free: 78.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005357/3.024, allocations: 111.9 kB / 1.411 GB, free: 78.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002733/3.025, allocations: 0.6058 MB / 1.412 GB, free: 77.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004781/3.025, allocations: 75.2 kB / 1.412 GB, free: 77.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.662e-05/3.025, allocations: 19.98 kB / 1.412 GB, free: 77.62 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.000313/3.026, allocations: 263.6 kB / 1.412 GB, free: 77.35 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/3.026, allocations: 75.16 kB / 1.412 GB, free: 77.28 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003332/3.026, allocations: 219.9 kB / 1.413 GB, free: 77.05 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/3.026, allocations: 4 kB / 1.413 GB, free: 77.05 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/3.026, allocations: 0 / 1.413 GB, free: 77.05 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/3.026, allocations: 0 / 1.413 GB, free: 77.05 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/3.027, allocations: 0.8363 MB / 1.413 GB, free: 76.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/3.027, allocations: 0 / 1.413 GB, free: 76.15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00022/3.027, allocations: 55.98 kB / 1.413 GB, free: 76.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/3.027, allocations: 4 kB / 1.413 GB, free: 76.09 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/3.027, allocations: 0 / 1.413 GB, free: 76.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001869/3.028, allocations: 0.6015 MB / 1.414 GB, free: 75.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/3.028, allocations: 4.031 kB / 1.414 GB, free: 75.46 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003421/3.028, allocations: 414.4 kB / 1.414 GB, free: 75.01 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002271/3.028, allocations: 184.2 kB / 1.415 GB, free: 74.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/3.028, allocations: 8 kB / 1.415 GB, free: 74.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004237/3.029, allocations: 24.05 kB / 1.415 GB, free: 74.78 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.468e-05/3.029, allocations: 19.92 kB / 1.415 GB, free: 74.76 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.213e-05/3.029, allocations: 15.97 kB / 1.415 GB, free: 74.75 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006617/3.029, allocations: 0.6903 MB / 1.415 GB, free: 74.06 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/3.029, allocations: 0 / 1.415 GB, free: 74.06 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009941/3.03, allocations: 271.8 kB / 1.416 GB, free: 73.8 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.001807/3.032, allocations: 1.033 MB / 1.417 GB, free: 72.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004439/3.033, allocations: 232.6 kB / 1.417 GB, free: 72.57 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/3.033, allocations: 3.938 kB / 1.417 GB, free: 72.57 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001124/3.033, allocations: 68.09 kB / 1.417 GB, free: 72.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/3.034, allocations: 307.2 kB / 1.417 GB, free: 72.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/3.036, allocations: 1.355 MB / 1.419 GB, free: 70.81 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/3.036, allocations: 0.9371 MB / 1.419 GB, free: 69.85 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004576/3.036, allocations: 137.7 kB / 1.42 GB, free: 69.71 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/3.036, allocations: 63.36 kB / 1.42 GB, free: 69.65 MB / 0.5105 GB Notification: Performance of SimCode: time 2.8e-07/3.036, allocations: 0 / 1.42 GB, free: 69.65 MB / 0.5105 GB Notification: Performance of Templates: time 0.0277/3.064, allocations: 21.79 MB / 1.441 GB, free: 47.82 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)