Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.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.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine") translateModel(ThermoPower.Test.GasComponents.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 95.08 kB / 16.3 MB, free: 6.457 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.001155/0.001155, allocations: 184.5 kB / 17.19 MB, free: 6.34 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.335/1.335, allocations: 205.4 MB / 223.3 MB, free: 13.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2594/0.2594, allocations: 48.78 MB / 320.4 MB, free: 11.33 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.0004921/0.0004922, allocations: 13.56 kB / 391.1 MB, free: 50.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08945/0.08996, allocations: 60.27 MB / 451.4 MB, free: 9.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.3401/0.4301, allocations: 136.7 MB / 0.5743 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005364/0.4356, allocations: 4.177 MB / 0.5784 GB, free: 15.55 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005654/0.4362, allocations: 7.312 kB / 0.5784 GB, free: 15.55 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008412/0.437, allocations: 207.3 kB / 0.5786 GB, free: 15.45 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009583/0.438, allocations: 388.1 kB / 0.579 GB, free: 15.36 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003556/0.4416, allocations: 1.155 MB / 0.5801 GB, free: 15.08 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001077/0.4426, allocations: 0.7088 MB / 0.5808 GB, free: 14.95 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000451/0.4431, allocations: 304.4 kB / 0.5811 GB, free: 14.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006483/0.4438, allocations: 425 kB / 0.5815 GB, free: 14.7 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003533/0.4441, allocations: 318.7 kB / 0.5818 GB, free: 14.59 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.879e-05/0.4442, allocations: 25.44 kB / 0.5818 GB, free: 14.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00204/0.4462, allocations: 1.032 MB / 0.5828 GB, free: 14.38 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002623/0.4465, allocations: 334.8 kB / 0.5832 GB, free: 14.26 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001519/0.4467, allocations: 186.6 kB / 0.5833 GB, free: 14.2 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00127/0.448, allocations: 1.212 MB / 0.5845 GB, free: 13.69 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.448, allocations: 0 / 0.5845 GB, free: 13.69 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.448, allocations: 4 kB / 0.5845 GB, free: 13.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.448, allocations: 0 / 0.5845 GB, free: 13.68 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001604/0.4496, allocations: 1.112 MB / 0.5856 GB, free: 12.86 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.4496, allocations: 9.062 kB / 0.5856 GB, free: 12.86 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006735/0.4503, allocations: 161.6 kB / 0.5858 GB, free: 12.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008859/0.4512, allocations: 0.6241 MB / 0.5864 GB, free: 12.42 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/0.4513, allocations: 34.66 kB / 0.5864 GB, free: 12.42 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.402e-05/0.4513, allocations: 51.19 kB / 0.5865 GB, free: 12.42 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008267/0.4522, allocations: 0.5913 MB / 0.587 GB, free: 12.25 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.4522, allocations: 0 / 0.587 GB, free: 12.25 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.891e-05/0.4523, allocations: 30.12 kB / 0.5871 GB, free: 12.25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/0.4523, allocations: 10.25 kB / 0.5871 GB, free: 12.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006033/0.4529, allocations: 465.8 kB / 0.5875 GB, free: 12.17 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.003608/0.4565, allocations: 2.354 MB / 0.5898 GB, free: 10.72 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.4567, allocations: 138.2 kB / 0.59 GB, free: 10.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002465/0.457, allocations: 120.4 kB / 0.5901 GB, free: 10.57 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.457, allocations: 38.41 kB / 0.5901 GB, free: 10.53 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.623e-06/0.457, allocations: 0 / 0.5901 GB, free: 10.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004225/0.4575, allocations: 253.5 kB / 0.5904 GB, free: 10.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.4575, allocations: 58.22 kB / 0.5904 GB, free: 10.37 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/0.4588, allocations: 1.338 MB / 0.5917 GB, free: 10.01 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.528e-05/0.4589, allocations: 31.45 kB / 0.5917 GB, free: 9.98 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002843/0.4592, allocations: 463.3 kB / 0.5922 GB, free: 9.777 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.987e-05/0.4592, allocations: 56.67 kB / 0.5922 GB, free: 9.738 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.718e-05/0.4592, allocations: 8.469 kB / 0.5922 GB, free: 9.738 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.4594, allocations: 322.6 kB / 0.5926 GB, free: 9.426 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.4595, allocations: 129.8 kB / 0.5927 GB, free: 9.395 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002416/0.4598, allocations: 238.6 kB / 0.5929 GB, free: 9.215 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.46, allocations: 144.6 kB / 0.593 GB, free: 9.191 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/0.46, allocations: 2.781 kB / 0.593 GB, free: 9.191 MB / 430.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006048/0.4606, allocations: 474.6 kB / 0.5935 GB, free: 9.039 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.4606, allocations: 5.344 kB / 0.5935 GB, free: 9.039 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.4606, allocations: 4.906 kB / 0.5935 GB, free: 9.039 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.4607, allocations: 5.938 kB / 0.5935 GB, free: 9.039 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004197/0.4611, allocations: 107.2 kB / 0.5936 GB, free: 9.016 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003454/0.4615, allocations: 0.6105 MB / 0.5942 GB, free: 8.414 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000453/0.4619, allocations: 75.2 kB / 0.5943 GB, free: 8.371 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-05/0.462, allocations: 27.09 kB / 0.5943 GB, free: 8.367 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: Inertia1.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (47): * Single equations (assignments): 46 * 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.0003436/0.4623, allocations: 296.5 kB / 0.5946 GB, free: 8.215 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.4624, allocations: 93.38 kB / 0.5947 GB, free: 8.168 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003611/0.4628, allocations: 259.8 kB / 0.5949 GB, free: 8.07 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.4628, allocations: 2.375 kB / 0.5949 GB, free: 8.07 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.4628, allocations: 0 / 0.5949 GB, free: 8.07 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.4628, allocations: 96 / 0.5949 GB, free: 8.07 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006315/0.4635, allocations: 0.5587 MB / 0.5955 GB, free: 7.746 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.4635, allocations: 3.984 kB / 0.5955 GB, free: 7.742 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002331/0.4637, allocations: 41.16 kB / 0.5955 GB, free: 7.734 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.4638, allocations: 2.625 kB / 0.5955 GB, free: 7.734 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.4638, allocations: 2.062 kB / 0.5955 GB, free: 7.734 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003035/0.4641, allocations: 0.607 MB / 0.5961 GB, free: 7.133 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.4641, allocations: 1.938 kB / 0.5961 GB, free: 7.133 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003909/0.4645, allocations: 371.3 kB / 0.5965 GB, free: 6.938 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003101/0.4648, allocations: 214.6 kB / 0.5967 GB, free: 6.773 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.598e-05/0.4649, allocations: 2.156 kB / 0.5967 GB, free: 6.773 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004127/0.4653, allocations: 24.44 kB / 0.5967 GB, free: 6.766 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.495e-05/0.4654, allocations: 15.48 kB / 0.5967 GB, free: 6.758 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.555e-05/0.4654, allocations: 21.34 kB / 0.5967 GB, free: 6.75 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009904/0.4664, allocations: 0.9444 MB / 0.5977 GB, free: 6.5 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4664, allocations: 0 / 0.5977 GB, free: 6.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007323/0.4672, allocations: 220.5 kB / 0.5979 GB, free: 6.473 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Inertia1.phi,Inertia1.w) * 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 (14): * Single equations (assignments): 13 * 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.001163/0.4683, allocations: 0.4971 MB / 0.5984 GB, free: 6.125 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004528/0.4688, allocations: 240.9 kB / 0.5986 GB, free: 6.078 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4688, allocations: 4.062 kB / 0.5986 GB, free: 6.074 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.4689, allocations: 63.3 kB / 0.5987 GB, free: 6.066 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001378/0.4703, allocations: 321.4 kB / 0.599 GB, free: 5.957 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002166/0.4725, allocations: 1.728 MB / 0.6006 GB, free: 4.988 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005657/0.4731, allocations: 1.013 MB / 0.6016 GB, free: 4.152 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005172/0.4736, allocations: 170.1 kB / 0.6018 GB, free: 4.082 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.4737, allocations: 64.23 kB / 0.6019 GB, free: 4.07 MB / 430.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4737, allocations: 0 / 0.6019 GB, free: 4.07 MB / 430.1 MB Notification: Performance of Templates: time 0.0229/0.4967, allocations: 14.88 MB / 0.6164 GB, free: 9.277 MB / 446.1 MB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.makefile Environment - environmentSimulation: (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe 2>&1) Environment - environmentSimulation: