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.0009178/0.0009179, allocations: 93.84 kB / 16.3 MB, free: 5.996 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.0008709/0.0008709, allocations: 182.6 kB / 17.2 MB, free: 5.914 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.312/1.312, allocations: 205.4 MB / 223.4 MB, free: 13.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3127/0.3127, allocations: 48.78 MB / 320.4 MB, free: 11.3 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.000524/0.000524, allocations: 12.84 kB / 391.1 MB, free: 50.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1291, allocations: 60.27 MB / 451.4 MB, free: 9.598 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.4394/0.5686, allocations: 136.8 MB / 0.5744 GB, free: 284 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005427/0.5741, allocations: 4.15 MB / 0.5785 GB, free: 15.97 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005192/0.5746, allocations: 8.469 kB / 0.5785 GB, free: 15.96 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007434/0.5754, allocations: 198.4 kB / 0.5787 GB, free: 15.9 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007935/0.5762, allocations: 354.7 kB / 0.579 GB, free: 15.82 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00328/0.5795, allocations: 1.081 MB / 0.5801 GB, free: 15.55 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00118/0.5806, allocations: 0.6817 MB / 0.5807 GB, free: 15.43 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004742/0.5811, allocations: 304.7 kB / 0.581 GB, free: 15.31 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005892/0.5817, allocations: 405.7 kB / 0.5814 GB, free: 15.2 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003416/0.5821, allocations: 293.5 kB / 0.5817 GB, free: 15.08 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.788e-05/0.5821, allocations: 26.25 kB / 0.5817 GB, free: 15.08 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00222/0.5844, allocations: 1.027 MB / 0.5827 GB, free: 14.88 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002417/0.5846, allocations: 275.6 kB / 0.583 GB, free: 14.78 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001541/0.5848, allocations: 171.7 kB / 0.5831 GB, free: 14.72 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00142/0.5862, allocations: 1.127 MB / 0.5842 GB, free: 14.24 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.5862, allocations: 4 kB / 0.5842 GB, free: 14.24 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.5862, allocations: 0 / 0.5842 GB, free: 14.24 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.5863, allocations: 2.375 kB / 0.5842 GB, free: 14.24 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.001617/0.5879, allocations: 0.9738 MB / 0.5852 GB, free: 13.51 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.5879, allocations: 10.22 kB / 0.5852 GB, free: 13.51 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006876/0.5886, allocations: 143.5 kB / 0.5853 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007381/0.5894, allocations: 0.4928 MB / 0.5858 GB, free: 13.12 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.875e-05/0.5894, allocations: 38.95 kB / 0.5859 GB, free: 13.12 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.651e-05/0.5895, allocations: 54.56 kB / 0.5859 GB, free: 13.12 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008467/0.5903, allocations: 0.605 MB / 0.5865 GB, free: 12.94 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.5904, allocations: 0 / 0.5865 GB, free: 12.94 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.784e-05/0.5904, allocations: 22.72 kB / 0.5865 GB, free: 12.94 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.5905, allocations: 15.25 kB / 0.5865 GB, free: 12.94 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005954/0.5911, allocations: 471.3 kB / 0.587 GB, free: 12.87 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.003726/0.5948, allocations: 2.318 MB / 0.5892 GB, free: 11.39 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.595, allocations: 128.6 kB / 0.5894 GB, free: 11.35 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002422/0.5953, allocations: 120.6 kB / 0.5895 GB, free: 11.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.5953, allocations: 43.19 kB / 0.5895 GB, free: 11.2 MB / 430.1 MB Notification: Performance of pre-optimization done (n=15): time 1.893e-06/0.5953, allocations: 4 kB / 0.5895 GB, free: 11.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004351/0.5958, allocations: 232 kB / 0.5898 GB, free: 11.12 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.5958, allocations: 55.34 kB / 0.5898 GB, free: 11.05 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.5968, allocations: 0.9901 MB / 0.5908 GB, free: 10.77 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.59e-05/0.5969, allocations: 27.52 kB / 0.5908 GB, free: 10.73 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000256/0.5971, allocations: 388.8 kB / 0.5912 GB, free: 10.53 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.148e-05/0.5972, allocations: 58.92 kB / 0.5912 GB, free: 10.49 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.764e-05/0.5972, allocations: 8.781 kB / 0.5912 GB, free: 10.49 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.5973, allocations: 324.6 kB / 0.5915 GB, free: 10.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.5975, allocations: 128.1 kB / 0.5917 GB, free: 10.15 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/0.5977, allocations: 251.9 kB / 0.5919 GB, free: 9.949 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000213/0.598, allocations: 141.2 kB / 0.592 GB, free: 9.934 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.598, allocations: 0 / 0.592 GB, free: 9.934 MB / 430.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006354/0.5986, allocations: 465.8 kB / 0.5925 GB, free: 9.785 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.5986, allocations: 5.719 kB / 0.5925 GB, free: 9.785 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.5987, allocations: 8.031 kB / 0.5925 GB, free: 9.785 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.5987, allocations: 9.344 kB / 0.5925 GB, free: 9.781 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004879/0.5992, allocations: 113.9 kB / 0.5926 GB, free: 9.754 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003611/0.5996, allocations: 0.613 MB / 0.5932 GB, free: 9.152 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004604/0.6, allocations: 80.11 kB / 0.5933 GB, free: 9.105 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.595e-05/0.6001, allocations: 25.3 kB / 0.5933 GB, free: 9.102 MB / 430.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.0002965/0.6004, allocations: 247.3 kB / 0.5936 GB, free: 8.957 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.6005, allocations: 75.72 kB / 0.5936 GB, free: 8.922 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000359/0.6009, allocations: 227.1 kB / 0.5938 GB, free: 8.836 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.6009, allocations: 0 / 0.5938 GB, free: 8.836 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.6009, allocations: 0 / 0.5938 GB, free: 8.836 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.6009, allocations: 2.406 kB / 0.5938 GB, free: 8.836 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.602, allocations: 0.8139 MB / 0.5946 GB, free: 8.336 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.602, allocations: 1.688 kB / 0.5946 GB, free: 8.336 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002168/0.6022, allocations: 44.44 kB / 0.5947 GB, free: 8.328 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.6022, allocations: 2.625 kB / 0.5947 GB, free: 8.328 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.6022, allocations: 1.969 kB / 0.5947 GB, free: 8.328 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002762/0.6025, allocations: 0.6001 MB / 0.5953 GB, free: 7.734 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.6025, allocations: 4.188 kB / 0.5953 GB, free: 7.73 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003961/0.6029, allocations: 416.6 kB / 0.5957 GB, free: 7.465 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002177/0.6032, allocations: 184.8 kB / 0.5958 GB, free: 7.312 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.845e-05/0.6033, allocations: 8.422 kB / 0.5959 GB, free: 7.309 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004046/0.6037, allocations: 25.92 kB / 0.5959 GB, free: 7.301 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.871e-05/0.6037, allocations: 9.766 kB / 0.5959 GB, free: 7.297 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.372e-05/0.6038, allocations: 21.81 kB / 0.5959 GB, free: 7.289 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006828/0.6044, allocations: 0.695 MB / 0.5966 GB, free: 7.098 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.6045, allocations: 0 / 0.5966 GB, free: 7.098 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007105/0.6052, allocations: 214.2 kB / 0.5968 GB, free: 7.07 MB / 430.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.00117/0.6063, allocations: 499.3 kB / 0.5973 GB, free: 6.734 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004477/0.6068, allocations: 244.4 kB / 0.5975 GB, free: 6.684 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.6068, allocations: 2.281 kB / 0.5975 GB, free: 6.684 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.607, allocations: 73.16 kB / 0.5976 GB, free: 6.668 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001338/0.6083, allocations: 318.9 kB / 0.5979 GB, free: 6.547 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.61, allocations: 1.339 MB / 0.5992 GB, free: 5.758 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004509/0.6104, allocations: 0.9367 MB / 0.6001 GB, free: 4.949 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004545/0.6109, allocations: 130.3 kB / 0.6002 GB, free: 4.898 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.611, allocations: 55.45 kB / 0.6003 GB, free: 4.887 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.611, allocations: 0 / 0.6003 GB, free: 4.887 MB / 430.1 MB Notification: Performance of Templates: time 0.02248/0.6335, allocations: 13.9 MB / 0.6139 GB, free: 12.09 MB / 446.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: