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: "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGasTurbine,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGasTurbine,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 93.61 kB / 16.3 MB, free: 5.992 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.001057/0.001057, allocations: 183.2 kB / 17.19 MB, free: 5.906 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.762/1.762, allocations: 205.4 MB / 223.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5131/0.5131, allocations: 48.77 MB / 320.4 MB, free: 3.832 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.0006041/0.0006042, allocations: 19.98 kB / 391.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1618, allocations: 60.24 MB / 451.5 MB, free: 1.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.5626/0.7245, allocations: 136.7 MB / 0.5744 GB, free: 4.398 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01059/0.7352, allocations: 4.179 MB / 0.5785 GB, free: 216 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001022/0.7363, allocations: 11.94 kB / 0.5785 GB, free: 204 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001291/0.7376, allocations: 203 kB / 0.5787 GB, free: 0 / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002007/0.7397, allocations: 394.9 kB / 0.5791 GB, free: 15.61 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00621/0.7459, allocations: 1.15 MB / 0.5802 GB, free: 14.48 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002786/0.7487, allocations: 0.7027 MB / 0.5809 GB, free: 13.78 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001301/0.7501, allocations: 315.1 kB / 0.5812 GB, free: 13.48 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002079/0.7522, allocations: 430.7 kB / 0.5816 GB, free: 13.05 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001098/0.7533, allocations: 306.9 kB / 0.5819 GB, free: 12.75 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002502/0.7535, allocations: 32 kB / 0.5819 GB, free: 12.72 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004082/0.7576, allocations: 1.034 MB / 0.583 GB, free: 11.69 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006525/0.7583, allocations: 335.2 kB / 0.5833 GB, free: 11.36 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006255/0.759, allocations: 185.2 kB / 0.5835 GB, free: 11.17 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003538/0.7625, allocations: 1.213 MB / 0.5846 GB, free: 9.965 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.7625, allocations: 0 / 0.5846 GB, free: 9.965 MB / 462.1 MB Notification: Performance of FrontEnd: time 7.885e-06/0.7626, allocations: 4 kB / 0.5846 GB, free: 9.961 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.316e-05/0.7626, allocations: 3.938 kB / 0.5846 GB, free: 9.957 MB / 462.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.003838/0.7665, allocations: 1.102 MB / 0.5857 GB, free: 8.805 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.875e-05/0.7666, allocations: 12.03 kB / 0.5857 GB, free: 8.793 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003295/0.7669, allocations: 102.4 kB / 0.5858 GB, free: 8.684 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001498/0.7684, allocations: 158.7 kB / 0.586 GB, free: 8.527 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002046/0.7705, allocations: 0.6202 MB / 0.5866 GB, free: 7.863 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.12e-05/0.7706, allocations: 38.31 kB / 0.5866 GB, free: 7.828 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.7708, allocations: 48 kB / 0.5867 GB, free: 7.781 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/0.7724, allocations: 0.5918 MB / 0.5872 GB, free: 7.176 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.161e-05/0.7725, allocations: 7.906 kB / 0.5873 GB, free: 7.168 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/0.7726, allocations: 24 kB / 0.5873 GB, free: 7.145 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.289e-05/0.7726, allocations: 12 kB / 0.5873 GB, free: 7.133 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.7738, allocations: 467.6 kB / 0.5877 GB, free: 6.676 MB / 462.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.006723/0.7806, allocations: 2.347 MB / 0.59 GB, free: 4.168 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003839/0.781, allocations: 134.6 kB / 0.5902 GB, free: 4.027 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003738/0.7814, allocations: 121.1 kB / 0.5903 GB, free: 3.891 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.212e-05/0.7814, allocations: 38.56 kB / 0.5903 GB, free: 3.844 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 4.419e-06/0.7815, allocations: 0 / 0.5903 GB, free: 3.844 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008784/0.7823, allocations: 248.9 kB / 0.5905 GB, free: 3.594 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/0.7824, allocations: 63.34 kB / 0.5906 GB, free: 3.52 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002514/0.7849, allocations: 1.34 MB / 0.5919 GB, free: 2.156 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.688e-05/0.7851, allocations: 33.7 kB / 0.5919 GB, free: 2.117 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005002/0.7856, allocations: 459.2 kB / 0.5924 GB, free: 1.664 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.543e-05/0.7856, allocations: 55.2 kB / 0.5924 GB, free: 1.609 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.747e-05/0.7857, allocations: 12 kB / 0.5924 GB, free: 1.598 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.7858, allocations: 318 kB / 0.5928 GB, free: 1.281 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002867/0.7861, allocations: 125.6 kB / 0.5929 GB, free: 1.156 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003856/0.7865, allocations: 245.5 kB / 0.5931 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003478/0.7869, allocations: 143.9 kB / 0.5932 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.7869, allocations: 0 / 0.5932 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001149/0.7881, allocations: 476.2 kB / 0.5937 GB, free: 252 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/0.7881, allocations: 4 kB / 0.5937 GB, free: 248 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/0.7881, allocations: 8 kB / 0.5937 GB, free: 240 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/0.7882, allocations: 7.938 kB / 0.5937 GB, free: 232 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006939/0.7889, allocations: 107.8 kB / 0.5938 GB, free: 124 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004997/0.7894, allocations: 0.6078 MB / 0.5944 GB, free: 15.49 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007372/0.7902, allocations: 79.25 kB / 0.5945 GB, free: 15.41 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.856e-05/0.7902, allocations: 24 kB / 0.5945 GB, free: 15.39 MB / 478.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.0006149/0.7909, allocations: 302.8 kB / 0.5948 GB, free: 15.09 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002021/0.7911, allocations: 98.81 kB / 0.5949 GB, free: 14.99 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006086/0.7917, allocations: 245.6 kB / 0.5951 GB, free: 14.75 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.7917, allocations: 4 kB / 0.5951 GB, free: 14.74 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.7917, allocations: 3.984 kB / 0.5951 GB, free: 14.74 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.7917, allocations: 0 / 0.5951 GB, free: 14.74 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.7928, allocations: 0.5491 MB / 0.5957 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.7928, allocations: 0 / 0.5957 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003249/0.7931, allocations: 46.53 kB / 0.5957 GB, free: 14.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.7931, allocations: 0 / 0.5957 GB, free: 14.1 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.7932, allocations: 8.047 kB / 0.5957 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004214/0.7936, allocations: 0.6016 MB / 0.5963 GB, free: 13.46 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.7936, allocations: 0 / 0.5963 GB, free: 13.46 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006426/0.7943, allocations: 386.7 kB / 0.5967 GB, free: 13.07 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004364/0.7947, allocations: 203.9 kB / 0.5969 GB, free: 12.85 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/0.7949, allocations: 4 kB / 0.5969 GB, free: 12.85 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006314/0.7955, allocations: 24.12 kB / 0.5969 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.7956, allocations: 15.92 kB / 0.5969 GB, free: 12.81 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.307e-05/0.7956, allocations: 15.98 kB / 0.5969 GB, free: 12.79 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001764/0.7974, allocations: 0.9424 MB / 0.5979 GB, free: 11.84 MB / 478.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.7974, allocations: 0 / 0.5979 GB, free: 11.84 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001222/0.7987, allocations: 223.8 kB / 0.5981 GB, free: 11.62 MB / 478.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.002749/0.8014, allocations: 1.317 MB / 0.5994 GB, free: 10.33 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007584/0.8022, allocations: 239.8 kB / 0.5996 GB, free: 10.09 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.8022, allocations: 4 kB / 0.5996 GB, free: 10.09 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001997/0.8024, allocations: 67.91 kB / 0.5996 GB, free: 10.02 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002312/0.8047, allocations: 316.8 kB / 0.5999 GB, free: 9.711 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01407/0.8188, allocations: 8.4 MB / 0.6082 GB, free: 1.062 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009726/0.8199, allocations: 1.004 MB / 0.6091 GB, free: 32 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001081/0.821, allocations: 170.5 kB / 0.6093 GB, free: 15.86 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000633/0.8217, allocations: 291.3 kB / 0.6096 GB, free: 15.57 MB / 494.1 MB Notification: Performance of SimCode: time 2.394e-06/0.8217, allocations: 0 / 0.6096 GB, free: 15.57 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4008/1.222, allocations: 23.24 MB / 0.6323 GB, free: 152.4 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001569/1.223, allocations: 238.7 kB / 0.6325 GB, free: 152.2 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.2/4.423, allocations: 0 / 0.6325 GB, free: 152.2 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbine_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbine.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe 2>&1) Environment - environmentSimulation: