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: "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGasTurbineStodola,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbineStodola",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGasTurbineStodola,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbineStodola",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.001036/0.001036, allocations: 92.78 kB / 16.31 MB, free: 6.461 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.001231/0.001231, allocations: 181.1 kB / 17.21 MB, free: 6.328 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.326/1.326, allocations: 205.4 MB / 223.4 MB, free: 5.801 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4072/0.4072, allocations: 48.76 MB / 320.4 MB, free: 3.793 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.0008451/0.0008453, allocations: 16 kB / 391.3 MB, free: 14.19 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1157, allocations: 60.25 MB / 451.5 MB, free: 1.801 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.3674/0.4831, allocations: 155.2 MB / 0.5925 GB, free: 1.871 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004692/0.4878, allocations: 3.536 MB / 0.5959 GB, free: 14.33 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004081/0.4883, allocations: 15.94 kB / 0.5959 GB, free: 14.31 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006324/0.4889, allocations: 186.8 kB / 0.5961 GB, free: 14.13 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00087/0.4898, allocations: 429.8 kB / 0.5965 GB, free: 13.71 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003033/0.4929, allocations: 1.065 MB / 0.5976 GB, free: 12.66 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001656/0.4945, allocations: 1.364 MB / 0.5989 GB, free: 11.29 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004669/0.495, allocations: 309 kB / 0.5992 GB, free: 11 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006915/0.4957, allocations: 402.5 kB / 0.5996 GB, free: 10.6 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005114/0.4962, allocations: 410.5 kB / 0.6 GB, free: 10.2 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.505e-05/0.4963, allocations: 32 kB / 0.6 GB, free: 10.17 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002479/0.4988, allocations: 1.092 MB / 0.6011 GB, free: 9.074 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003939/0.4992, allocations: 291.2 kB / 0.6013 GB, free: 8.789 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002121/0.4994, allocations: 173.3 kB / 0.6015 GB, free: 8.613 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001689/0.5011, allocations: 1.142 MB / 0.6026 GB, free: 7.469 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.5011, allocations: 0 / 0.6026 GB, free: 7.469 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.5011, allocations: 0 / 0.6026 GB, free: 7.469 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.5012, allocations: 0 / 0.6026 GB, free: 7.469 MB / 478.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.00167/0.5028, allocations: 0.97 MB / 0.6036 GB, free: 6.453 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.5029, allocations: 15.97 kB / 0.6036 GB, free: 6.438 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001134/0.503, allocations: 102.5 kB / 0.6037 GB, free: 6.328 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000644/0.5037, allocations: 127 kB / 0.6038 GB, free: 6.203 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006677/0.5043, allocations: 0.5006 MB / 0.6043 GB, free: 5.66 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.142e-05/0.5044, allocations: 37.31 kB / 0.6043 GB, free: 5.625 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.43e-05/0.5045, allocations: 53.62 kB / 0.6044 GB, free: 5.574 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.5055, allocations: 0.608 MB / 0.605 GB, free: 4.953 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.5056, allocations: 8 kB / 0.605 GB, free: 4.945 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.545e-05/0.5056, allocations: 24 kB / 0.605 GB, free: 4.922 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.5056, allocations: 12 kB / 0.605 GB, free: 4.91 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006754/0.5063, allocations: 465 kB / 0.6055 GB, free: 4.457 MB / 478.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.003673/0.51, allocations: 2.341 MB / 0.6077 GB, free: 1.949 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002369/0.5102, allocations: 126.6 kB / 0.6079 GB, free: 1.816 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.433e-05/0.5104, allocations: 52.84 kB / 0.6079 GB, free: 1.762 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002457/0.5106, allocations: 125.1 kB / 0.608 GB, free: 1.621 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.5107, allocations: 46.5 kB / 0.6081 GB, free: 1.566 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 1.924e-06/0.5107, allocations: 0 / 0.6081 GB, free: 1.566 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004341/0.5111, allocations: 233.6 kB / 0.6083 GB, free: 1.332 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.5111, allocations: 59.34 kB / 0.6084 GB, free: 1.262 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.5123, allocations: 0.9849 MB / 0.6093 GB, free: 272 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.485e-05/0.5123, allocations: 29.7 kB / 0.6094 GB, free: 236 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003101/0.5127, allocations: 383.2 kB / 0.6097 GB, free: 15.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.589e-05/0.5127, allocations: 63.09 kB / 0.6098 GB, free: 15.79 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.814e-05/0.5128, allocations: 8 kB / 0.6098 GB, free: 15.78 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.5129, allocations: 322 kB / 0.6101 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002035/0.5131, allocations: 125.7 kB / 0.6102 GB, free: 15.33 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002945/0.5134, allocations: 258.2 kB / 0.6105 GB, free: 15.02 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003255/0.5137, allocations: 143.9 kB / 0.6106 GB, free: 14.88 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.5137, allocations: 0 / 0.6106 GB, free: 14.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008028/0.5145, allocations: 460.2 kB / 0.611 GB, free: 14.42 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.5146, allocations: 8 kB / 0.611 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.5146, allocations: 4.562 kB / 0.611 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.5146, allocations: 8 kB / 0.6111 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005699/0.5152, allocations: 115.8 kB / 0.6112 GB, free: 14.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003746/0.5156, allocations: 0.606 MB / 0.6118 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004315/0.516, allocations: 79.11 kB / 0.6118 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.74e-05/0.5161, allocations: 27.98 kB / 0.6119 GB, free: 13.55 MB / 494.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.0003385/0.5164, allocations: 249.7 kB / 0.6121 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.5165, allocations: 82.98 kB / 0.6122 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003746/0.5169, allocations: 219.2 kB / 0.6124 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.5169, allocations: 4 kB / 0.6124 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.517, allocations: 0 / 0.6124 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.517, allocations: 0 / 0.6124 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/0.5181, allocations: 0.8089 MB / 0.6132 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.5181, allocations: 7.984 kB / 0.6132 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002229/0.5184, allocations: 39.97 kB / 0.6132 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.216e-06/0.5184, allocations: 4 kB / 0.6132 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.5184, allocations: 7.984 kB / 0.6132 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003471/0.5188, allocations: 0.5978 MB / 0.6138 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5188, allocations: 0 / 0.6138 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004735/0.5192, allocations: 381.1 kB / 0.6142 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002067/0.5195, allocations: 188 kB / 0.6144 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.28e-05/0.5196, allocations: 8.156 kB / 0.6144 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003779/0.5199, allocations: 19.98 kB / 0.6144 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.172e-05/0.52, allocations: 11.98 kB / 0.6144 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.929e-05/0.52, allocations: 23.92 kB / 0.6144 GB, free: 10.78 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008688/0.5209, allocations: 0.6942 MB / 0.6151 GB, free: 10.09 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5209, allocations: 0 / 0.6151 GB, free: 10.09 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008286/0.5217, allocations: 215.8 kB / 0.6153 GB, free: 9.879 MB / 494.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.002037/0.5238, allocations: 1.312 MB / 0.6166 GB, free: 8.586 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005479/0.5244, allocations: 236.5 kB / 0.6168 GB, free: 8.355 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.5244, allocations: 256 / 0.6168 GB, free: 8.355 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.5245, allocations: 79.91 kB / 0.6169 GB, free: 8.277 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/0.5261, allocations: 316.7 kB / 0.6172 GB, free: 7.965 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00586/0.5319, allocations: 4.318 MB / 0.6214 GB, free: 3.52 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005051/0.5325, allocations: 0.9137 MB / 0.6223 GB, free: 2.578 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005502/0.533, allocations: 130.5 kB / 0.6224 GB, free: 2.453 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003189/0.5333, allocations: 239.4 kB / 0.6227 GB, free: 2.219 MB / 494.1 MB Notification: Performance of SimCode: time 5.1e-07/0.5334, allocations: 0 / 0.6227 GB, free: 2.219 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2341/0.7675, allocations: 20.28 MB / 0.6425 GB, free: 151.4 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001588/0.7677, allocations: 247.8 kB / 0.6427 GB, free: 151.1 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.452/3.219, allocations: 3.797 kB / 0.6427 GB, free: 151.1 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbineStodola_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbineStodola.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe 2>&1) Environment - environmentSimulation: