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.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.001783/0.001783, allocations: 107.5 kB / 21.21 MB, free: 0.6523 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.002249/0.002249, allocations: 212.5 kB / 24.51 MB, free: 3.941 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.458/1.458, allocations: 207.7 MB / 235.4 MB, free: 9.785 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.3037/0.3037, allocations: 49.6 MB / 337.2 MB, free: 3.883 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.TestGasTurbine,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGasTurbine,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbine",fmuType="cs",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.00214/0.00214, allocations: 75.89 kB / 477.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1331, allocations: 62.41 MB / 0.5269 GB, free: 14.17 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.4268/0.56, allocations: 147.3 MB / 0.6708 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00559/0.5656, allocations: 3.499 MB / 0.6742 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004612/0.566, allocations: 11.94 kB / 0.6742 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009265/0.5669, allocations: 254.4 kB / 0.6744 GB, free: 14.16 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.001133/0.5681, allocations: 0.4898 MB / 0.6749 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004159/0.5722, allocations: 1.577 MB / 0.6765 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001729/0.574, allocations: 1.266 MB / 0.6777 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005864/0.5746, allocations: 333.8 kB / 0.678 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007685/0.5753, allocations: 0.4983 MB / 0.6785 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00064/0.576, allocations: 490.3 kB / 0.679 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.5761, allocations: 52 kB / 0.679 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002797/0.5789, allocations: 1.259 MB / 0.6802 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004062/0.5793, allocations: 382.9 kB / 0.6806 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004595/0.5797, allocations: 382.2 kB / 0.681 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002643/0.5824, allocations: 1.727 MB / 0.6827 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5824, allocations: 0 / 0.6827 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.303e-06/0.5824, allocations: 3.938 kB / 0.6827 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.281e-05/0.5824, allocations: 4 kB / 0.6827 GB, free: 5.711 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.002131/0.5845, allocations: 1.231 MB / 0.6839 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.5846, allocations: 12.03 kB / 0.6839 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.085e-05/0.5846, allocations: 16.94 kB / 0.6839 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001347/0.5847, allocations: 95.52 kB / 0.684 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008342/0.5856, allocations: 159.3 kB / 0.6841 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.5866, allocations: 0.6027 MB / 0.6847 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.041e-05/0.5866, allocations: 40.94 kB / 0.6848 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.191e-05/0.5867, allocations: 48 kB / 0.6848 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.5882, allocations: 1.034 MB / 0.6858 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.5882, allocations: 7.938 kB / 0.6858 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.53e-05/0.5882, allocations: 20 kB / 0.6858 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.094e-05/0.5883, allocations: 16 kB / 0.6859 GB, free: 2.246 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007657/0.589, allocations: 467.7 kB / 0.6863 GB, free: 1.789 MB / 0.5137 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.00406/0.5931, allocations: 1.747 MB / 0.688 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002886/0.5934, allocations: 134.5 kB / 0.6881 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.5935, allocations: 55.92 kB / 0.6882 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002462/0.5937, allocations: 47.97 kB / 0.6882 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.341e-05/0.5938, allocations: 34.56 kB / 0.6883 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.873e-06/0.5938, allocations: 0 / 0.6883 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0005522/0.5944, allocations: 261.3 kB / 0.6885 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.5944, allocations: 51.41 kB / 0.6886 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001651/0.596, allocations: 1.336 MB / 0.6899 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.581e-05/0.5961, allocations: 33.7 kB / 0.6899 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004066/0.5965, allocations: 471.8 kB / 0.6904 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.903e-05/0.5966, allocations: 59.58 kB / 0.6904 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/0.5967, allocations: 89.97 kB / 0.6905 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.5969, allocations: 325.8 kB / 0.6908 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.5971, allocations: 126.6 kB / 0.6909 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003197/0.5974, allocations: 249.4 kB / 0.6912 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004547/0.5979, allocations: 336.8 kB / 0.6915 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.5979, allocations: 0 / 0.6915 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007819/0.5986, allocations: 476.5 kB / 0.6919 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.5987, allocations: 8 kB / 0.692 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.118e-06/0.5987, allocations: 4 kB / 0.692 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/0.5987, allocations: 8 kB / 0.692 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004912/0.5992, allocations: 112.3 kB / 0.6921 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004511/0.5996, allocations: 0.6055 MB / 0.6927 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000482/0.6001, allocations: 83.38 kB / 0.6927 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.174e-05/0.6002, allocations: 20 kB / 0.6928 GB, free: 10.89 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.0004776/0.6006, allocations: 289.6 kB / 0.693 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/0.6008, allocations: 99.31 kB / 0.6931 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004638/0.6013, allocations: 251.8 kB / 0.6934 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.6013, allocations: 4.094 kB / 0.6934 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.6013, allocations: 4 kB / 0.6934 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.6013, allocations: 0 / 0.6934 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007031/0.602, allocations: 465.5 kB / 0.6938 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.602, allocations: 0 / 0.6938 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002473/0.6022, allocations: 46.47 kB / 0.6939 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.6022, allocations: 3.938 kB / 0.6939 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.6022, allocations: 0 / 0.6939 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003999/0.6026, allocations: 0.5977 MB / 0.6945 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.6027, allocations: 0 / 0.6945 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005309/0.6032, allocations: 395.3 kB / 0.6948 GB, free: 8.672 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002533/0.6034, allocations: 127.4 kB / 0.695 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.6035, allocations: 3.938 kB / 0.695 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004192/0.604, allocations: 19.97 kB / 0.695 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/0.604, allocations: 7.984 kB / 0.695 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.124e-05/0.604, allocations: 19.97 kB / 0.695 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001341/0.6054, allocations: 0.954 MB / 0.6959 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.6054, allocations: 0 / 0.6959 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007966/0.6062, allocations: 223.6 kB / 0.6962 GB, free: 7.312 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.002905/0.6091, allocations: 1.381 MB / 0.6975 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006274/0.6097, allocations: 224.8 kB / 0.6977 GB, free: 5.695 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.6097, allocations: 8.062 kB / 0.6977 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001515/0.6099, allocations: 59.91 kB / 0.6978 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001741/0.6116, allocations: 342.7 kB / 0.6981 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01163/0.6232, allocations: 8.028 MB / 0.7059 GB, free: 13.01 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004514/0.6237, allocations: 396.1 kB / 0.7063 GB, free: 12.59 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006367/0.6243, allocations: 174.6 kB / 0.7065 GB, free: 12.42 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004122/0.6247, allocations: 295.3 kB / 0.7068 GB, free: 12.13 MB / 0.545 GB Notification: Performance of SimCode: time 1.072e-06/0.6247, allocations: 0 / 0.7068 GB, free: 12.13 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08182/0.7066, allocations: 26.48 MB / 0.7326 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.85/15.56, allocations: 15.8 kB / 0.7326 GB, free: 1.441 MB / 0.5606 GB " [Timeout remaining time 644] (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/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbine_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbine.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.605273350025527] Failed to read output from testmodel.py, exit status != 0: 15.80223334801849 15.818568174 15.232793415 Calling exit ...