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.0008658/0.0008658, allocations: 95.03 kB / 16.32 MB, free: 5.602 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.001006/0.001006, allocations: 182 kB / 17.21 MB, free: 5.52 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.283/1.283, allocations: 205.4 MB / 223.4 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.272/0.272, allocations: 48.77 MB / 320.4 MB, free: 11.21 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.0005618/0.0005621, allocations: 14.33 kB / 391.3 MB, free: 50.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09278/0.09336, allocations: 60.28 MB / 451.5 MB, free: 9.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.3986/0.492, allocations: 155.1 MB / 0.5924 GB, free: 14.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004624/0.4966, allocations: 3.58 MB / 0.5959 GB, free: 13 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004917/0.4972, allocations: 10.16 kB / 0.5959 GB, free: 12.99 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006892/0.4979, allocations: 192.2 kB / 0.5961 GB, free: 12.85 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008137/0.4987, allocations: 462.7 kB / 0.5965 GB, free: 12.55 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003004/0.5017, allocations: 1.13 MB / 0.5976 GB, free: 11.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001466/0.5032, allocations: 1.397 MB / 0.599 GB, free: 11.46 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004168/0.5036, allocations: 311.2 kB / 0.5993 GB, free: 11.32 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005617/0.5042, allocations: 426.3 kB / 0.5997 GB, free: 11.17 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000525/0.5047, allocations: 435.3 kB / 0.6001 GB, free: 10.99 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.818e-05/0.5048, allocations: 24.62 kB / 0.6001 GB, free: 10.99 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002307/0.5071, allocations: 1.095 MB / 0.6012 GB, free: 10.67 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002993/0.5074, allocations: 355.8 kB / 0.6016 GB, free: 10.53 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001796/0.5076, allocations: 185.9 kB / 0.6017 GB, free: 10.46 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001631/0.5092, allocations: 1.23 MB / 0.6029 GB, free: 9.859 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.5093, allocations: 0 / 0.6029 GB, free: 9.859 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.5093, allocations: 0 / 0.6029 GB, free: 9.859 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.952e-05/0.5093, allocations: 0 / 0.6029 GB, free: 9.859 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.001757/0.5111, allocations: 1.112 MB / 0.604 GB, free: 9.031 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.5111, allocations: 11.53 kB / 0.604 GB, free: 9.027 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001109/0.5112, allocations: 96.08 kB / 0.6041 GB, free: 8.977 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006815/0.5119, allocations: 155 kB / 0.6043 GB, free: 8.906 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009261/0.5129, allocations: 0.6264 MB / 0.6049 GB, free: 8.516 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.569e-05/0.5129, allocations: 40.22 kB / 0.6049 GB, free: 8.516 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.381e-05/0.513, allocations: 46.97 kB / 0.605 GB, free: 8.516 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008742/0.5138, allocations: 0.5938 MB / 0.6055 GB, free: 8.348 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.5139, allocations: 7.531 kB / 0.6056 GB, free: 8.344 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.198e-05/0.5139, allocations: 21.25 kB / 0.6056 GB, free: 8.344 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.514, allocations: 17.78 kB / 0.6056 GB, free: 8.34 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006347/0.5146, allocations: 466.6 kB / 0.606 GB, free: 8.266 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.003579/0.5182, allocations: 2.368 MB / 0.6083 GB, free: 6.789 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000242/0.5184, allocations: 136.7 kB / 0.6085 GB, free: 6.746 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.293e-05/0.5185, allocations: 57.59 kB / 0.6085 GB, free: 6.727 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002424/0.5188, allocations: 121.7 kB / 0.6086 GB, free: 6.621 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.5188, allocations: 42.72 kB / 0.6087 GB, free: 6.578 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.5188, allocations: 0 / 0.6087 GB, free: 6.578 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004601/0.5193, allocations: 249 kB / 0.6089 GB, free: 6.484 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.5194, allocations: 58.16 kB / 0.609 GB, free: 6.418 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001372/0.5207, allocations: 1.34 MB / 0.6103 GB, free: 6.059 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.538e-05/0.5208, allocations: 31.48 kB / 0.6103 GB, free: 6.027 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002961/0.5211, allocations: 466.4 kB / 0.6108 GB, free: 5.82 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.823e-05/0.5211, allocations: 54.83 kB / 0.6108 GB, free: 5.781 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.59e-05/0.5212, allocations: 7.188 kB / 0.6108 GB, free: 5.781 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.5213, allocations: 322.4 kB / 0.6111 GB, free: 5.469 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.5214, allocations: 129.6 kB / 0.6113 GB, free: 5.438 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/0.5217, allocations: 240.3 kB / 0.6115 GB, free: 5.258 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.5219, allocations: 142.5 kB / 0.6116 GB, free: 5.238 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.5219, allocations: 0 / 0.6116 GB, free: 5.238 MB / 430.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006655/0.5226, allocations: 475.7 kB / 0.6121 GB, free: 5.086 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.5226, allocations: 6.25 kB / 0.6121 GB, free: 5.086 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.5226, allocations: 5.125 kB / 0.6121 GB, free: 5.086 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.5226, allocations: 8.656 kB / 0.6121 GB, free: 5.086 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004142/0.5231, allocations: 103.5 kB / 0.6122 GB, free: 5.062 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003747/0.5234, allocations: 0.6149 MB / 0.6128 GB, free: 4.457 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004632/0.5239, allocations: 74.73 kB / 0.6129 GB, free: 4.414 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-05/0.524, allocations: 25.73 kB / 0.6129 GB, free: 4.41 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.0003947/0.5244, allocations: 294.2 kB / 0.6132 GB, free: 4.262 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.5245, allocations: 101.3 kB / 0.6133 GB, free: 4.207 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003803/0.5249, allocations: 254.9 kB / 0.6135 GB, free: 4.117 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.5249, allocations: 0 / 0.6135 GB, free: 4.117 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.5249, allocations: 2.812 kB / 0.6135 GB, free: 4.117 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.5249, allocations: 0 / 0.6135 GB, free: 4.117 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006251/0.5256, allocations: 0.549 MB / 0.614 GB, free: 3.793 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.5256, allocations: 0 / 0.614 GB, free: 3.793 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002068/0.5258, allocations: 45.56 kB / 0.6141 GB, free: 3.785 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.5258, allocations: 0 / 0.6141 GB, free: 3.785 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.5258, allocations: 18.84 kB / 0.6141 GB, free: 3.773 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003051/0.5261, allocations: 0.5968 MB / 0.6147 GB, free: 3.176 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.5262, allocations: 6.844 kB / 0.6147 GB, free: 3.172 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003843/0.5265, allocations: 373.7 kB / 0.6151 GB, free: 2.973 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002247/0.5268, allocations: 214.4 kB / 0.6153 GB, free: 2.812 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.055e-05/0.5269, allocations: 4.156 kB / 0.6153 GB, free: 2.809 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003813/0.5273, allocations: 18.11 kB / 0.6153 GB, free: 2.805 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.858e-05/0.5273, allocations: 12.39 kB / 0.6153 GB, free: 2.801 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.622e-05/0.5273, allocations: 19.55 kB / 0.6153 GB, free: 2.793 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001101/0.5285, allocations: 0.9434 MB / 0.6162 GB, free: 2.543 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5285, allocations: 0 / 0.6162 GB, free: 2.543 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009134/0.5294, allocations: 225.3 kB / 0.6164 GB, free: 2.516 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.002371/0.5318, allocations: 1.333 MB / 0.6177 GB, free: 1.492 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006308/0.5324, allocations: 228.9 kB / 0.618 GB, free: 1.453 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.5324, allocations: 0 / 0.618 GB, free: 1.453 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.5326, allocations: 67 kB / 0.618 GB, free: 1.441 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001976/0.5346, allocations: 322.9 kB / 0.6183 GB, free: 1.336 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00902/0.5436, allocations: 5.653 MB / 0.6239 GB, free: 13.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006825/0.5443, allocations: 0.9937 MB / 0.6248 GB, free: 12.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007111/0.5451, allocations: 166.7 kB / 0.625 GB, free: 12.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003417/0.5454, allocations: 289.5 kB / 0.6253 GB, free: 12.21 MB / 446.1 MB Notification: Performance of SimCode: time 8.81e-07/0.5454, allocations: 0 / 0.6253 GB, free: 12.21 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05751/0.6029, allocations: 22.86 MB / 0.6476 GB, free: 5.32 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001863/0.6032, allocations: 246.5 kB / 0.6478 GB, free: 5.023 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.371/2.974, allocations: 0 / 0.6478 GB, free: 5.023 MB / 462.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: