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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008003/0.0008004, allocations: 90.7 kB / 16.31 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008625/0.0008628, allocations: 184.3 kB / 17.21 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.563/1.563, allocations: 205.4 MB / 223.4 MB, free: 5.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4467/0.4467, allocations: 48.77 MB / 320.4 MB, free: 3.812 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000486/0.0004861, allocations: 12 kB / 391.2 MB, free: 14.3 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1208, allocations: 60.26 MB / 451.4 MB, free: 1.902 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.3843/0.5052, allocations: 155.2 MB / 0.5924 GB, free: 1.938 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004602/0.5098, allocations: 3.556 MB / 0.5958 GB, free: 14.38 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004348/0.5103, allocations: 7.938 kB / 0.5959 GB, free: 14.37 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006764/0.511, allocations: 182.8 kB / 0.596 GB, free: 14.19 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008493/0.5119, allocations: 429.8 kB / 0.5964 GB, free: 13.77 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003099/0.515, allocations: 1.052 MB / 0.5975 GB, free: 12.73 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001602/0.5166, allocations: 1.372 MB / 0.5988 GB, free: 11.35 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004479/0.5171, allocations: 295.8 kB / 0.5991 GB, free: 11.07 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005761/0.5176, allocations: 410.5 kB / 0.5995 GB, free: 10.66 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005267/0.5182, allocations: 410.5 kB / 0.5999 GB, free: 10.26 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.717e-05/0.5183, allocations: 27.94 kB / 0.5999 GB, free: 10.23 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002622/0.5209, allocations: 1.092 MB / 0.601 GB, free: 9.141 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002676/0.5212, allocations: 303.2 kB / 0.6013 GB, free: 8.844 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.5213, allocations: 165.3 kB / 0.6014 GB, free: 8.676 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001439/0.5228, allocations: 1.137 MB / 0.6025 GB, free: 7.539 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.5228, allocations: 0 / 0.6025 GB, free: 7.539 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5228, allocations: 0 / 0.6025 GB, free: 7.539 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.5228, allocations: 0 / 0.6025 GB, free: 7.539 MB / 478.1 MB 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.001543/0.5244, allocations: 0.9717 MB / 0.6035 GB, free: 6.52 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.5244, allocations: 8.031 kB / 0.6035 GB, free: 6.512 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006487/0.5251, allocations: 135 kB / 0.6036 GB, free: 6.379 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006591/0.5258, allocations: 0.4889 MB / 0.6041 GB, free: 5.848 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/0.5258, allocations: 37.31 kB / 0.6041 GB, free: 5.812 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.925e-05/0.5259, allocations: 57.89 kB / 0.6042 GB, free: 5.758 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.5269, allocations: 0.608 MB / 0.6048 GB, free: 5.137 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.527, allocations: 3.938 kB / 0.6048 GB, free: 5.133 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.842e-05/0.527, allocations: 24 kB / 0.6048 GB, free: 5.109 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.527, allocations: 12 kB / 0.6048 GB, free: 5.098 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007/0.5277, allocations: 472.9 kB / 0.6053 GB, free: 4.637 MB / 478.1 MB 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.003987/0.5317, allocations: 2.322 MB / 0.6075 GB, free: 2.148 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002818/0.532, allocations: 126.6 kB / 0.6076 GB, free: 2.016 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.5322, allocations: 60.83 kB / 0.6077 GB, free: 1.953 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002231/0.5324, allocations: 121.1 kB / 0.6078 GB, free: 1.816 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.5324, allocations: 38.5 kB / 0.6079 GB, free: 1.77 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 2.034e-06/0.5324, allocations: 0 / 0.6079 GB, free: 1.77 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004921/0.5329, allocations: 242.8 kB / 0.6081 GB, free: 1.527 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.533, allocations: 59.36 kB / 0.6081 GB, free: 1.457 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/0.5342, allocations: 0.9848 MB / 0.6091 GB, free: 472 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.401e-05/0.5343, allocations: 29.7 kB / 0.6091 GB, free: 436 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002747/0.5345, allocations: 379.3 kB / 0.6095 GB, free: 48 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.908e-05/0.5346, allocations: 63.27 kB / 0.6096 GB, free: 15.98 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.869e-05/0.5346, allocations: 4 kB / 0.6096 GB, free: 15.98 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.5348, allocations: 322 kB / 0.6099 GB, free: 15.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/0.535, allocations: 125.7 kB / 0.61 GB, free: 15.53 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002716/0.5352, allocations: 258.2 kB / 0.6102 GB, free: 15.21 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002542/0.5355, allocations: 147.9 kB / 0.6104 GB, free: 15.07 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.5355, allocations: 0 / 0.6104 GB, free: 15.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006987/0.5362, allocations: 456.6 kB / 0.6108 GB, free: 14.62 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.5362, allocations: 11.98 kB / 0.6108 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.5363, allocations: 4 kB / 0.6108 GB, free: 14.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.5363, allocations: 11.94 kB / 0.6108 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004816/0.5368, allocations: 112.9 kB / 0.6109 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003804/0.5372, allocations: 0.6095 MB / 0.6115 GB, free: 13.85 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004456/0.5376, allocations: 83.28 kB / 0.6116 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.384e-05/0.5377, allocations: 20 kB / 0.6116 GB, free: 13.75 MB / 494.1 MB 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.0003419/0.538, allocations: 241.7 kB / 0.6119 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.5381, allocations: 75.16 kB / 0.6119 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004075/0.5386, allocations: 227.1 kB / 0.6122 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.5386, allocations: 11.94 kB / 0.6122 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.5386, allocations: 0.5938 kB / 0.6122 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.5386, allocations: 7.969 kB / 0.6122 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.5397, allocations: 0.801 MB / 0.613 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.5397, allocations: 0.875 kB / 0.613 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/0.5399, allocations: 43.97 kB / 0.613 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.5399, allocations: 4.094 kB / 0.613 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.54, allocations: 8 kB / 0.613 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003112/0.5403, allocations: 0.5977 MB / 0.6136 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.5403, allocations: 0 / 0.6136 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004255/0.5407, allocations: 387.9 kB / 0.614 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002005/0.5409, allocations: 169.3 kB / 0.6141 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.654e-05/0.541, allocations: 7.984 kB / 0.6141 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003603/0.5414, allocations: 19.98 kB / 0.6142 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.5414, allocations: 15.92 kB / 0.6142 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.521e-05/0.5415, allocations: 20.05 kB / 0.6142 GB, free: 10.99 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008147/0.5423, allocations: 0.6942 MB / 0.6149 GB, free: 10.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5423, allocations: 0 / 0.6149 GB, free: 10.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007459/0.5431, allocations: 215.8 kB / 0.6151 GB, free: 10.09 MB / 494.1 MB 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.001201/0.5443, allocations: 0.513 MB / 0.6156 GB, free: 9.621 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005276/0.5448, allocations: 235.7 kB / 0.6158 GB, free: 9.391 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.5448, allocations: 0 / 0.6158 GB, free: 9.391 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.545, allocations: 68.97 kB / 0.6159 GB, free: 9.324 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/0.5463, allocations: 324 kB / 0.6162 GB, free: 9.004 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.5481, allocations: 1.351 MB / 0.6175 GB, free: 7.633 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004831/0.5486, allocations: 0.9176 MB / 0.6184 GB, free: 6.688 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004781/0.5491, allocations: 133.4 kB / 0.6185 GB, free: 6.559 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.5492, allocations: 55.42 kB / 0.6186 GB, free: 6.504 MB / 494.1 MB Notification: Performance of SimCode: time 1.453e-06/0.5492, allocations: 4 kB / 0.6186 GB, free: 6.5 MB / 494.1 MB Notification: Performance of Templates: time 0.2184/0.7676, allocations: 13.43 MB / 0.6317 GB, free: 153.1 MB / 494.1 MB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: