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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 210.7 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.419/1.419, allocations: 207.6 MB / 234.5 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.3098/0.3098, allocations: 49.56 MB / 336.3 MB, free: 4.199 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002296/0.002296, allocations: 71.91 kB / 476.3 MB, free: 12.96 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1359, allocations: 62.44 MB / 0.5261 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.517/0.6529, allocations: 171.3 MB / 0.6934 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006087/0.659, allocations: 3.798 MB / 0.6972 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006078/0.6596, allocations: 15.88 kB / 0.6972 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001049/0.6606, allocations: 278.4 kB / 0.6974 GB, free: 6.664 MB / 0.5294 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.00116/0.6618, allocations: 453.6 kB / 0.6979 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004302/0.6661, allocations: 1.501 MB / 0.6993 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001877/0.668, allocations: 1.231 MB / 0.7005 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000558/0.6685, allocations: 318.5 kB / 0.7008 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007762/0.6693, allocations: 474.4 kB / 0.7013 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006439/0.67, allocations: 454.3 kB / 0.7017 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.6701, allocations: 56 kB / 0.7018 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003608/0.6737, allocations: 1.505 MB / 0.7033 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004231/0.6741, allocations: 323.1 kB / 0.7036 GB, free: 384 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005843/0.6747, allocations: 414.2 kB / 0.704 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003185/0.6779, allocations: 1.618 MB / 0.7055 GB, free: 14.35 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.6779, allocations: 0 / 0.7055 GB, free: 14.35 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6779, allocations: 4 kB / 0.7055 GB, free: 14.34 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.224e-05/0.6779, allocations: 0 / 0.7055 GB, free: 14.34 MB / 0.545 GB 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.002253/0.6801, allocations: 1.076 MB / 0.7066 GB, free: 13.23 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/0.6802, allocations: 16.03 kB / 0.7066 GB, free: 13.22 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001332/0.6803, allocations: 102.5 kB / 0.7067 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007498/0.6811, allocations: 135.4 kB / 0.7068 GB, free: 12.98 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009174/0.682, allocations: 470.7 kB / 0.7073 GB, free: 12.49 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.892e-05/0.682, allocations: 37.31 kB / 0.7073 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.032e-05/0.6821, allocations: 56 kB / 0.7074 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.6832, allocations: 0.6126 MB / 0.708 GB, free: 11.77 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/0.6832, allocations: 11.89 kB / 0.708 GB, free: 11.76 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.65e-05/0.6833, allocations: 27.94 kB / 0.708 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.6833, allocations: 12 kB / 0.708 GB, free: 11.72 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008042/0.6841, allocations: 469 kB / 0.7085 GB, free: 11.26 MB / 0.545 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.004489/0.6886, allocations: 2.016 MB / 0.7104 GB, free: 9.145 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002895/0.6889, allocations: 118.6 kB / 0.7105 GB, free: 9.02 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.992e-05/0.689, allocations: 51.16 kB / 0.7106 GB, free: 8.969 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002563/0.6892, allocations: 55.94 kB / 0.7106 GB, free: 8.914 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.655e-05/0.6893, allocations: 46.44 kB / 0.7107 GB, free: 8.859 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 2.354e-06/0.6893, allocations: 0 / 0.7107 GB, free: 8.859 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0005835/0.6899, allocations: 246 kB / 0.7109 GB, free: 8.613 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.6899, allocations: 55.41 kB / 0.711 GB, free: 8.547 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001309/0.6912, allocations: 0.9889 MB / 0.7119 GB, free: 7.551 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.936e-05/0.6913, allocations: 25.7 kB / 0.712 GB, free: 7.52 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003878/0.6917, allocations: 403.9 kB / 0.7124 GB, free: 7.121 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.622e-05/0.6917, allocations: 55.59 kB / 0.7124 GB, free: 7.066 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/0.6919, allocations: 82.08 kB / 0.7125 GB, free: 6.98 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.692, allocations: 321.9 kB / 0.7128 GB, free: 6.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002574/0.6923, allocations: 134.6 kB / 0.7129 GB, free: 6.527 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003372/0.6926, allocations: 250.3 kB / 0.7132 GB, free: 6.219 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004904/0.6931, allocations: 345.7 kB / 0.7135 GB, free: 5.816 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.6931, allocations: 0 / 0.7135 GB, free: 5.816 MB / 0.545 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007799/0.6939, allocations: 469 kB / 0.7139 GB, free: 5.352 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.6939, allocations: 8 kB / 0.7139 GB, free: 5.344 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.6939, allocations: 7.938 kB / 0.714 GB, free: 5.336 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.536e-05/0.694, allocations: 11.98 kB / 0.714 GB, free: 5.324 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005416/0.6945, allocations: 107.8 kB / 0.7141 GB, free: 5.219 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004442/0.6949, allocations: 0.6055 MB / 0.7147 GB, free: 4.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004818/0.6954, allocations: 79.58 kB / 0.7147 GB, free: 4.512 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.986e-05/0.6955, allocations: 27.98 kB / 0.7148 GB, free: 4.484 MB / 0.545 GB 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 (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.0003676/0.6959, allocations: 249.5 kB / 0.715 GB, free: 4.23 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/0.696, allocations: 75.53 kB / 0.7151 GB, free: 4.156 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004152/0.6964, allocations: 218.8 kB / 0.7153 GB, free: 3.938 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.6964, allocations: 0 / 0.7153 GB, free: 3.938 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.6964, allocations: 0 / 0.7153 GB, free: 3.938 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.6964, allocations: 5.562 kB / 0.7153 GB, free: 3.934 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/0.6977, allocations: 0.7846 MB / 0.7161 GB, free: 3.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.6977, allocations: 0 / 0.7161 GB, free: 3.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002288/0.698, allocations: 39.97 kB / 0.7161 GB, free: 3.051 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.698, allocations: 7.938 kB / 0.7161 GB, free: 3.043 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.698, allocations: 0 / 0.7161 GB, free: 3.043 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004409/0.6984, allocations: 0.6094 MB / 0.7167 GB, free: 2.41 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.6984, allocations: 4.031 kB / 0.7167 GB, free: 2.406 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005431/0.699, allocations: 393.4 kB / 0.7171 GB, free: 1.996 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002241/0.6992, allocations: 103.4 kB / 0.7172 GB, free: 1.895 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.69e-05/0.6993, allocations: 0 / 0.7172 GB, free: 1.895 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003915/0.6997, allocations: 23.05 kB / 0.7172 GB, free: 1.875 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.374e-05/0.6997, allocations: 11.97 kB / 0.7172 GB, free: 1.863 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.88e-05/0.6998, allocations: 15.98 kB / 0.7172 GB, free: 1.848 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000916/0.7007, allocations: 0.6981 MB / 0.7179 GB, free: 1.152 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.7007, allocations: 0 / 0.7179 GB, free: 1.152 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008232/0.7015, allocations: 215.6 kB / 0.7181 GB, free: 0.9414 MB / 0.545 GB 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 (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.002737/0.7042, allocations: 1.37 MB / 0.7194 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005827/0.7048, allocations: 235.7 kB / 0.7197 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.7048, allocations: 5.125 kB / 0.7197 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.705, allocations: 68.03 kB / 0.7197 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001495/0.7065, allocations: 326.9 kB / 0.7201 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00904/0.7155, allocations: 6.327 MB / 0.7262 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006868/0.7162, allocations: 0.9174 MB / 0.7271 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005669/0.7168, allocations: 137.7 kB / 0.7273 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003578/0.7171, allocations: 235.3 kB / 0.7275 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of SimCode: time 9.21e-07/0.7171, allocations: 0 / 0.7275 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06681/0.7839, allocations: 22.58 MB / 0.7495 GB, free: 324 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.77/15.55, allocations: 3.938 kB / 0.7495 GB, free: 320 kB / 0.5762 GB " [Timeout remaining time 644] (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 & python3 -m fmpy simulate --output-file ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbineStodola.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.557832320999296] Failed to read output from testmodel.py, exit status != 0: 15.736170303000108 15.759213644 15.076798111 Calling exit ...