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.001793/0.001793, allocations: 107.9 kB / 17.06 MB, free: 6.016 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.001878/0.001879, allocations: 191 kB / 18 MB, free: 5.102 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.367/1.367, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2801/0.2801, allocations: 48.85 MB / 320.1 MB, free: 11.01 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.001592/0.001592, allocations: 67.89 kB / 450 MB, free: 9.062 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1102, allocations: 59.15 MB / 0.4972 GB, free: 13.78 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.4163/0.5266, allocations: 170.5 MB / 0.6638 GB, free: 36 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005167/0.5318, allocations: 3.805 MB / 0.6675 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004511/0.5323, allocations: 7.938 kB / 0.6675 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009201/0.5332, allocations: 274.3 kB / 0.6678 GB, free: 11.94 MB / 0.5137 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001148/0.5344, allocations: 0.4976 MB / 0.6683 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003905/0.5383, allocations: 1.554 MB / 0.6698 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001519/0.5399, allocations: 1.245 MB / 0.671 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006093/0.5405, allocations: 373.6 kB / 0.6714 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008372/0.5413, allocations: 497.6 kB / 0.6718 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006538/0.542, allocations: 450.4 kB / 0.6723 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001341/0.5422, allocations: 56 kB / 0.6723 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00358/0.5457, allocations: 1.427 MB / 0.6737 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004162/0.5462, allocations: 379 kB / 0.6741 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006744/0.5469, allocations: 469.6 kB / 0.6745 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002998/0.5499, allocations: 1.733 MB / 0.6762 GB, free: 3.293 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.5499, allocations: 0 / 0.6762 GB, free: 3.293 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5499, allocations: 3.938 kB / 0.6762 GB, free: 3.289 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.498e-05/0.55, allocations: 4 kB / 0.6762 GB, free: 3.285 MB / 0.5137 GB 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.002377/0.5523, allocations: 1.306 MB / 0.6775 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.5524, allocations: 19.83 kB / 0.6775 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001347/0.5525, allocations: 98.45 kB / 0.6776 GB, free: 1.797 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007927/0.5533, allocations: 155.3 kB / 0.6777 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.5544, allocations: 0.667 MB / 0.6784 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.38e-05/0.5545, allocations: 37 kB / 0.6784 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.249e-05/0.5546, allocations: 48 kB / 0.6785 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.5556, allocations: 0.6112 MB / 0.6791 GB, free: 240 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.5557, allocations: 0 / 0.6791 GB, free: 240 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.015e-05/0.5557, allocations: 27.92 kB / 0.6791 GB, free: 212 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.5558, allocations: 16.69 kB / 0.6791 GB, free: 196 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007653/0.5565, allocations: 463.8 kB / 0.6796 GB, free: 15.73 MB / 0.5294 GB 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.004227/0.5608, allocations: 2.344 MB / 0.6819 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002591/0.5611, allocations: 134.6 kB / 0.682 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.609e-05/0.5612, allocations: 60.84 kB / 0.682 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002703/0.5614, allocations: 121.1 kB / 0.6822 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.5615, allocations: 34.56 kB / 0.6822 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.5615, allocations: 0 / 0.6822 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0005809/0.5621, allocations: 265.3 kB / 0.6824 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.5621, allocations: 55.41 kB / 0.6825 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001609/0.5637, allocations: 1.344 MB / 0.6838 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.858e-05/0.5638, allocations: 29.7 kB / 0.6838 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003524/0.5642, allocations: 467.8 kB / 0.6843 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.65e-05/0.5642, allocations: 63.45 kB / 0.6843 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.5643, allocations: 85.98 kB / 0.6844 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.5645, allocations: 329.9 kB / 0.6847 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.5647, allocations: 126.6 kB / 0.6849 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000275/0.565, allocations: 246.2 kB / 0.6851 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004122/0.5654, allocations: 340.8 kB / 0.6854 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.5654, allocations: 4 kB / 0.6854 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007761/0.5662, allocations: 472.9 kB / 0.6859 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.5662, allocations: 7.938 kB / 0.6859 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.5662, allocations: 8 kB / 0.6859 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.5662, allocations: 4 kB / 0.6859 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000458/0.5667, allocations: 109.1 kB / 0.686 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000369/0.5671, allocations: 0.6132 MB / 0.6866 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004955/0.5676, allocations: 83.67 kB / 0.6867 GB, free: 8.031 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-05/0.5677, allocations: 19.98 kB / 0.6867 GB, free: 8.012 MB / 0.5294 GB 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003655/0.568, allocations: 298.4 kB / 0.687 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001664/0.5682, allocations: 95.38 kB / 0.6871 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003918/0.5686, allocations: 241.7 kB / 0.6873 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.5686, allocations: 4 kB / 0.6873 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.5686, allocations: 0.875 kB / 0.6873 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.5686, allocations: 4 kB / 0.6873 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006714/0.5693, allocations: 0.5491 MB / 0.6878 GB, free: 6.766 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.5693, allocations: 3.938 kB / 0.6878 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002467/0.5696, allocations: 51.91 kB / 0.6879 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.5696, allocations: 0 / 0.6879 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.5696, allocations: 2.188 kB / 0.6879 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000304/0.5699, allocations: 0.5977 MB / 0.6885 GB, free: 6.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5699, allocations: 4.094 kB / 0.6885 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004611/0.5704, allocations: 391.1 kB / 0.6889 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003043/0.5707, allocations: 204.5 kB / 0.6891 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.5708, allocations: 0 / 0.6891 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004621/0.5713, allocations: 19.98 kB / 0.6891 GB, free: 5.449 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.458e-05/0.5713, allocations: 7.984 kB / 0.6891 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-05/0.5714, allocations: 15.98 kB / 0.6891 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001161/0.5726, allocations: 0.9541 MB / 0.69 GB, free: 4.461 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2e-07/0.5726, allocations: 0 / 0.69 GB, free: 4.461 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007271/0.5733, allocations: 227.6 kB / 0.6902 GB, free: 4.238 MB / 0.5294 GB 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002028/0.5753, allocations: 1.362 MB / 0.6916 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005175/0.5759, allocations: 231.8 kB / 0.6918 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.5759, allocations: 5.062 kB / 0.6918 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.576, allocations: 67.86 kB / 0.6919 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/0.5776, allocations: 342.9 kB / 0.6922 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01085/0.5885, allocations: 8.015 MB / 0.7 GB, free: 9.953 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006625/0.5892, allocations: 0.9919 MB / 0.701 GB, free: 8.934 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000652/0.5899, allocations: 162.7 kB / 0.7011 GB, free: 8.77 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004535/0.5903, allocations: 295.3 kB / 0.7014 GB, free: 8.48 MB / 0.545 GB Notification: Performance of SimCode: time 1.112e-06/0.5904, allocations: 0 / 0.7014 GB, free: 8.48 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05701/0.6474, allocations: 24.83 MB / 0.7257 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/13.68, allocations: 15.81 kB / 0.7257 GB, free: 15.55 MB / 0.5762 GB (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 & python3 -m fmpy simulate --output-file ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbine.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe 2>&1)