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.001665/0.001665, allocations: 103.8 kB / 16.92 MB, free: 5.855 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.001888/0.001888, allocations: 191.3 kB / 17.85 MB, free: 5.176 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.46/1.46, allocations: 205.1 MB / 223.7 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2918/0.2918, allocations: 48.84 MB / 319.9 MB, free: 11.1 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.002558/0.002558, allocations: 72.08 kB / 390.1 MB, free: 48.88 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1223, allocations: 59.16 MB / 449.2 MB, free: 9.777 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.4751/0.5975, allocations: 170.6 MB / 0.6053 GB, free: 5.141 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00583/0.6033, allocations: 3.76 MB / 0.609 GB, free: 2.094 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000613/0.604, allocations: 13.59 kB / 0.609 GB, free: 2.086 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001015/0.605, allocations: 269 kB / 0.6093 GB, free: 1.863 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001027/0.6061, allocations: 446.5 kB / 0.6097 GB, free: 1.516 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003815/0.6099, allocations: 1.475 MB / 0.6111 GB, free: 460 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001629/0.6116, allocations: 1.21 MB / 0.6123 GB, free: 15.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005661/0.6122, allocations: 354.7 kB / 0.6127 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005804/0.6128, allocations: 461.2 kB / 0.6131 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005277/0.6133, allocations: 410.5 kB / 0.6135 GB, free: 15.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.184e-05/0.6134, allocations: 54.81 kB / 0.6136 GB, free: 15.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002994/0.6164, allocations: 1.433 MB / 0.615 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003252/0.6167, allocations: 322.6 kB / 0.6153 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005239/0.6173, allocations: 415.7 kB / 0.6157 GB, free: 13.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002646/0.6199, allocations: 1.605 MB / 0.6172 GB, free: 12.9 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.6199, allocations: 3.938 kB / 0.6172 GB, free: 12.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.6199, allocations: 0 / 0.6172 GB, free: 12.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.597e-05/0.62, allocations: 0 / 0.6172 GB, free: 12.89 MB / 446.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.002378/0.6224, allocations: 1.117 MB / 0.6183 GB, free: 12.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.6224, allocations: 18 kB / 0.6183 GB, free: 12.01 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007547/0.6232, allocations: 141.4 kB / 0.6185 GB, free: 11.94 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007986/0.624, allocations: 0.5117 MB / 0.619 GB, free: 11.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.304e-05/0.624, allocations: 41.56 kB / 0.619 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.873e-05/0.6241, allocations: 52.2 kB / 0.6191 GB, free: 11.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.6252, allocations: 0.6041 MB / 0.6196 GB, free: 11.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.735e-05/0.6252, allocations: 6 kB / 0.6197 GB, free: 11.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.92e-05/0.6253, allocations: 25.62 kB / 0.6197 GB, free: 11.1 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.6253, allocations: 12.25 kB / 0.6197 GB, free: 11.1 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007708/0.6261, allocations: 476.7 kB / 0.6201 GB, free: 10.88 MB / 446.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.004696/0.6308, allocations: 2.318 MB / 0.6224 GB, free: 8.902 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003018/0.6311, allocations: 134.6 kB / 0.6225 GB, free: 8.762 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.6312, allocations: 60.84 kB / 0.6226 GB, free: 8.699 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002784/0.6315, allocations: 125.1 kB / 0.6227 GB, free: 8.559 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.639e-05/0.6316, allocations: 36.62 kB / 0.6227 GB, free: 8.516 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 2.224e-06/0.6316, allocations: 0 / 0.6227 GB, free: 8.516 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005899/0.6322, allocations: 240.7 kB / 0.623 GB, free: 8.273 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.6322, allocations: 55.41 kB / 0.623 GB, free: 8.207 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/0.6335, allocations: 0.9848 MB / 0.624 GB, free: 7.211 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.746e-05/0.6336, allocations: 33.7 kB / 0.624 GB, free: 7.172 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003413/0.6339, allocations: 371.2 kB / 0.6244 GB, free: 6.801 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.149e-05/0.634, allocations: 63.17 kB / 0.6244 GB, free: 6.738 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/0.6341, allocations: 90.03 kB / 0.6245 GB, free: 6.645 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000207/0.6344, allocations: 321.9 kB / 0.6248 GB, free: 6.324 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/0.6346, allocations: 126.1 kB / 0.625 GB, free: 6.195 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000297/0.6349, allocations: 254.3 kB / 0.6252 GB, free: 5.887 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004529/0.6353, allocations: 345.7 kB / 0.6255 GB, free: 5.484 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.6354, allocations: 4 kB / 0.6255 GB, free: 5.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007871/0.6362, allocations: 468.8 kB / 0.626 GB, free: 5.016 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.6362, allocations: 4 kB / 0.626 GB, free: 5.012 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.924e-06/0.6362, allocations: 4 kB / 0.626 GB, free: 5.008 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.6362, allocations: 11.94 kB / 0.626 GB, free: 4.996 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005003/0.6367, allocations: 119.7 kB / 0.6261 GB, free: 4.879 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004076/0.6371, allocations: 0.6098 MB / 0.6267 GB, free: 4.246 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004793/0.6376, allocations: 79.14 kB / 0.6268 GB, free: 4.168 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.176e-05/0.6377, allocations: 16 kB / 0.6268 GB, free: 4.152 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.0003437/0.638, allocations: 249.5 kB / 0.627 GB, free: 3.898 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.6382, allocations: 79.06 kB / 0.6271 GB, free: 3.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004029/0.6386, allocations: 224.8 kB / 0.6273 GB, free: 3.594 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.6386, allocations: 0 / 0.6273 GB, free: 3.594 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.6386, allocations: 6.172 kB / 0.6273 GB, free: 3.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.6386, allocations: 0 / 0.6273 GB, free: 3.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/0.6399, allocations: 0.7972 MB / 0.6281 GB, free: 2.727 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.6399, allocations: 0 / 0.6281 GB, free: 2.727 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/0.6401, allocations: 44.06 kB / 0.6281 GB, free: 2.684 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.6401, allocations: 4 kB / 0.6282 GB, free: 2.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.6402, allocations: 4 kB / 0.6282 GB, free: 2.676 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003484/0.6405, allocations: 0.6015 MB / 0.6287 GB, free: 2.051 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.6405, allocations: 4.031 kB / 0.6287 GB, free: 2.047 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004758/0.641, allocations: 377.2 kB / 0.6291 GB, free: 1.652 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002161/0.6412, allocations: 172.1 kB / 0.6293 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.744e-05/0.6413, allocations: 7.938 kB / 0.6293 GB, free: 1.457 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004011/0.6417, allocations: 15.98 kB / 0.6293 GB, free: 1.441 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.6418, allocations: 11.98 kB / 0.6293 GB, free: 1.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.085e-05/0.6418, allocations: 24.03 kB / 0.6293 GB, free: 1.406 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009307/0.6428, allocations: 0.6981 MB / 0.63 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6428, allocations: 0 / 0.63 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009356/0.6437, allocations: 211.8 kB / 0.6302 GB, free: 0.5078 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.001747/0.6455, allocations: 0.5467 MB / 0.6307 GB, free: 15.96 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005794/0.6461, allocations: 251.8 kB / 0.631 GB, free: 15.71 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/0.6461, allocations: 0 / 0.631 GB, free: 15.71 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001662/0.6463, allocations: 67.91 kB / 0.6311 GB, free: 15.65 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001525/0.6478, allocations: 324.2 kB / 0.6314 GB, free: 15.33 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/0.6498, allocations: 1.189 MB / 0.6325 GB, free: 14.11 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005808/0.6504, allocations: 0.9226 MB / 0.6334 GB, free: 13.16 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005262/0.6509, allocations: 137.6 kB / 0.6336 GB, free: 13.02 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/0.651, allocations: 55.42 kB / 0.6336 GB, free: 12.96 MB / 462.1 MB Notification: Performance of SimCode: time 2.41e-07/0.651, allocations: 0 / 0.6336 GB, free: 12.96 MB / 462.1 MB Notification: Performance of Templates: time 0.02589/0.6769, allocations: 14.37 MB / 0.6476 GB, free: 14.57 MB / 478.1 MB 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)