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.001154/0.001154, allocations: 89.61 kB / 16.65 MB, free: 6.59 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.001355/0.001355, allocations: 182.5 kB / 17.56 MB, free: 6.203 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.456/1.456, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2987/0.2987, allocations: 48.79 MB / 320.8 MB, free: 11.11 MB / 270.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.0006044/0.0006043, allocations: 14.44 kB / 391.8 MB, free: 50.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1126, allocations: 60.27 MB / 452.1 MB, free: 9.184 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.4355/0.5481, allocations: 166.5 MB / 0.6041 GB, free: 11.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005758/0.5539, allocations: 3.83 MB / 0.6078 GB, free: 8.961 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006594/0.5546, allocations: 9.719 kB / 0.6078 GB, free: 8.957 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009964/0.5556, allocations: 237.2 kB / 0.608 GB, free: 8.77 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001213/0.5569, allocations: 426.8 kB / 0.6085 GB, free: 8.441 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004393/0.5613, allocations: 1.326 MB / 0.6097 GB, free: 7.504 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002493/0.5638, allocations: 1.621 MB / 0.6113 GB, free: 6.637 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009187/0.5647, allocations: 291.1 kB / 0.6116 GB, free: 6.457 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001051/0.5658, allocations: 413.9 kB / 0.612 GB, free: 6.258 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009107/0.5667, allocations: 418.5 kB / 0.6124 GB, free: 6.035 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001392/0.5669, allocations: 27.84 kB / 0.6124 GB, free: 6.035 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003721/0.5706, allocations: 1.683 MB / 0.6141 GB, free: 5.133 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004187/0.571, allocations: 306.1 kB / 0.6144 GB, free: 4.945 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007708/0.5718, allocations: 398.5 kB / 0.6147 GB, free: 4.691 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003076/0.5749, allocations: 1.666 MB / 0.6164 GB, free: 3.684 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.5749, allocations: 2.906 kB / 0.6164 GB, free: 3.684 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5749, allocations: 0 / 0.6164 GB, free: 3.684 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.602e-05/0.575, allocations: 0 / 0.6164 GB, free: 3.684 MB / 430.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.002185/0.5772, allocations: 0.9599 MB / 0.6173 GB, free: 2.902 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.5772, allocations: 10.88 kB / 0.6173 GB, free: 2.902 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008946/0.5781, allocations: 137.9 kB / 0.6175 GB, free: 2.836 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009411/0.5791, allocations: 0.5077 MB / 0.6179 GB, free: 2.418 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.634e-05/0.5791, allocations: 39.09 kB / 0.618 GB, free: 2.402 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.704e-05/0.5792, allocations: 56.59 kB / 0.618 GB, free: 2.379 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.5803, allocations: 0.6111 MB / 0.6186 GB, free: 2.016 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.5803, allocations: 0 / 0.6186 GB, free: 2.016 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.426e-05/0.5804, allocations: 25.78 kB / 0.6187 GB, free: 1.996 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/0.5804, allocations: 17.16 kB / 0.6187 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007504/0.5811, allocations: 471 kB / 0.6191 GB, free: 1.777 MB / 430.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.004737/0.5859, allocations: 2.327 MB / 0.6214 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002725/0.5862, allocations: 128.3 kB / 0.6215 GB, free: 15.81 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.5863, allocations: 60.38 kB / 0.6216 GB, free: 15.78 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000257/0.5866, allocations: 127.4 kB / 0.6217 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.5866, allocations: 37.09 kB / 0.6217 GB, free: 15.62 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 2.064e-06/0.5866, allocations: 0 / 0.6217 GB, free: 15.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004925/0.5871, allocations: 238.1 kB / 0.622 GB, free: 15.49 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.5872, allocations: 54.31 kB / 0.622 GB, free: 15.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/0.5882, allocations: 0.9812 MB / 0.623 GB, free: 14.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.258e-05/0.5883, allocations: 36.67 kB / 0.623 GB, free: 14.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002599/0.5885, allocations: 382.6 kB / 0.6234 GB, free: 14.55 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.325e-05/0.5886, allocations: 63.91 kB / 0.6234 GB, free: 14.49 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.306e-05/0.5887, allocations: 36.83 kB / 0.6235 GB, free: 14.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.5888, allocations: 322.7 kB / 0.6238 GB, free: 14.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.589, allocations: 134.1 kB / 0.6239 GB, free: 14.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002558/0.5892, allocations: 246.5 kB / 0.6241 GB, free: 13.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004024/0.5897, allocations: 346.2 kB / 0.6245 GB, free: 13.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.5897, allocations: 2.562 kB / 0.6245 GB, free: 13.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000697/0.5904, allocations: 464.2 kB / 0.6249 GB, free: 13.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.5904, allocations: 5.75 kB / 0.6249 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.5904, allocations: 5.125 kB / 0.6249 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.5904, allocations: 10.25 kB / 0.6249 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005237/0.591, allocations: 116.6 kB / 0.625 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004181/0.5914, allocations: 0.6091 MB / 0.6256 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004938/0.5919, allocations: 83.94 kB / 0.6257 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.614e-05/0.592, allocations: 24.58 kB / 0.6257 GB, free: 12.6 MB / 446.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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003297/0.5923, allocations: 250 kB / 0.626 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.5924, allocations: 70.66 kB / 0.6261 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004009/0.5928, allocations: 227.8 kB / 0.6263 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.5928, allocations: 2.938 kB / 0.6263 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.5928, allocations: 0 / 0.6263 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.5929, allocations: 3.938 kB / 0.6263 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.5939, allocations: 0.8018 MB / 0.6271 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.594, allocations: 0 / 0.6271 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002235/0.5942, allocations: 47.91 kB / 0.6271 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.5942, allocations: 4.094 kB / 0.6271 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.5942, allocations: 8 kB / 0.6271 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003144/0.5946, allocations: 0.5977 MB / 0.6277 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.5946, allocations: 3.938 kB / 0.6277 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004745/0.5951, allocations: 377.4 kB / 0.6281 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002063/0.5953, allocations: 188.1 kB / 0.6282 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.922e-05/0.5954, allocations: 0 / 0.6282 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004153/0.5958, allocations: 23.97 kB / 0.6283 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.732e-05/0.5958, allocations: 7.984 kB / 0.6283 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.75e-05/0.5959, allocations: 24.92 kB / 0.6283 GB, free: 10.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000826/0.5967, allocations: 0.6981 MB / 0.629 GB, free: 9.395 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5967, allocations: 3.938 kB / 0.629 GB, free: 9.391 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000853/0.5976, allocations: 211.8 kB / 0.6292 GB, free: 9.184 MB / 446.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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001436/0.599, allocations: 0.5336 MB / 0.6297 GB, free: 8.648 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005189/0.5995, allocations: 247.7 kB / 0.6299 GB, free: 8.406 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.5996, allocations: 4 kB / 0.6299 GB, free: 8.402 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001948/0.5998, allocations: 65.22 kB / 0.63 GB, free: 8.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001626/0.6014, allocations: 319 kB / 0.6303 GB, free: 8.023 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.6034, allocations: 1.441 MB / 0.6317 GB, free: 6.555 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005299/0.604, allocations: 0.9137 MB / 0.6326 GB, free: 5.613 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004873/0.6045, allocations: 137.8 kB / 0.6327 GB, free: 5.477 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.6046, allocations: 59.42 kB / 0.6328 GB, free: 5.418 MB / 446.1 MB Notification: Performance of SimCode: time 6.81e-07/0.6046, allocations: 0 / 0.6328 GB, free: 5.418 MB / 446.1 MB Notification: Performance of Templates: time 0.02496/0.6296, allocations: 13.8 MB / 0.6463 GB, free: 7.594 MB / 462.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: