Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001362/0.001362, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001484/0.001484, allocations: 211.5 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.448/1.448, allocations: 230.6 MB / 258.3 MB, free: 7.73 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1507/0.1507, allocations: 26.85 MB / 341.5 MB, free: 7.961 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(ThermoPower.Test.GasComponents.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine") translateModel(ThermoPower.Test.GasComponents.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine") [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 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.002205/0.002205, allocations: 67.89 kB / 478 MB, free: 3.008 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.298, allocations: 60.49 MB / 0.5259 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.1882/0.4863, allocations: 146.8 MB / 0.6692 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00601/0.4923, allocations: 3.369 MB / 0.6725 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004429/0.4927, allocations: 7.938 kB / 0.6725 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008526/0.4936, allocations: 254.4 kB / 0.6728 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001152/0.4947, allocations: 0.5404 MB / 0.6733 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004142/0.4989, allocations: 1.523 MB / 0.6748 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00179/0.5007, allocations: 1.278 MB / 0.676 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005461/0.5012, allocations: 333.5 kB / 0.6763 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007989/0.502, allocations: 0.5099 MB / 0.6768 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006703/0.5027, allocations: 470.3 kB / 0.6773 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.5028, allocations: 56 kB / 0.6773 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002577/0.5054, allocations: 1.177 MB / 0.6785 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004534/0.5058, allocations: 382.9 kB / 0.6789 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004817/0.5063, allocations: 378.2 kB / 0.6792 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002644/0.509, allocations: 1.693 MB / 0.6809 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.509, allocations: 4 kB / 0.6809 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.794e-06/0.509, allocations: 0 / 0.6809 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.56e-05/0.509, allocations: 0 / 0.6809 GB, free: 5.504 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.002157/0.5111, allocations: 1.239 MB / 0.6821 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.5112, allocations: 8.031 kB / 0.6821 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007653/0.5119, allocations: 171.3 kB / 0.6823 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.513, allocations: 0.5898 MB / 0.6828 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.107e-05/0.5131, allocations: 37 kB / 0.6829 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.313e-05/0.5131, allocations: 48 kB / 0.6829 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.5145, allocations: 1.03 MB / 0.6839 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.5146, allocations: 7.953 kB / 0.6839 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.212e-05/0.5146, allocations: 24 kB / 0.684 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.5146, allocations: 15.94 kB / 0.684 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007718/0.5154, allocations: 471.7 kB / 0.6844 GB, free: 1.699 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.003724/0.5191, allocations: 1.616 MB / 0.686 GB, free: 40 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/0.5194, allocations: 130.6 kB / 0.6861 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.89e-05/0.5195, allocations: 44.84 kB / 0.6862 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002314/0.5198, allocations: 55.89 kB / 0.6862 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.5198, allocations: 38.56 kB / 0.6863 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.963e-06/0.5198, allocations: 0 / 0.6863 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0005179/0.5203, allocations: 241.1 kB / 0.6865 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.5203, allocations: 55.66 kB / 0.6865 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001484/0.5218, allocations: 1.118 MB / 0.6876 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.906e-05/0.5219, allocations: 33.7 kB / 0.6877 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004239/0.5223, allocations: 479.5 kB / 0.6881 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.319e-05/0.5224, allocations: 55.53 kB / 0.6882 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.5225, allocations: 85.97 kB / 0.6882 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.5227, allocations: 329.9 kB / 0.6886 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/0.5229, allocations: 130.6 kB / 0.6887 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003229/0.5232, allocations: 249.4 kB / 0.6889 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004673/0.5237, allocations: 340.1 kB / 0.6893 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.5237, allocations: 0 / 0.6893 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007784/0.5245, allocations: 460.6 kB / 0.6897 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.5245, allocations: 11.98 kB / 0.6897 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.5245, allocations: 4 kB / 0.6897 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.5245, allocations: 8 kB / 0.6897 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004705/0.525, allocations: 100.4 kB / 0.6898 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004442/0.5254, allocations: 0.6133 MB / 0.6904 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004001/0.5258, allocations: 59.59 kB / 0.6905 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.732e-05/0.5259, allocations: 16 kB / 0.6905 GB, free: 11.22 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.0004374/0.5263, allocations: 304.9 kB / 0.6908 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.5265, allocations: 79.56 kB / 0.6908 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004182/0.5269, allocations: 228 kB / 0.6911 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.5269, allocations: 7.984 kB / 0.6911 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.5269, allocations: 4.094 kB / 0.6911 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.5269, allocations: 0 / 0.6911 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006202/0.5275, allocations: 421 kB / 0.6915 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.5275, allocations: 3.938 kB / 0.6915 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002849/0.5278, allocations: 51.91 kB / 0.6915 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.5278, allocations: 0 / 0.6915 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.5278, allocations: 0 / 0.6915 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004134/0.5282, allocations: 0.5977 MB / 0.6921 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.5282, allocations: 0 / 0.6921 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000571/0.5288, allocations: 371 kB / 0.6925 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002332/0.529, allocations: 103.5 kB / 0.6926 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.284e-05/0.5291, allocations: 0 / 0.6926 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003686/0.5295, allocations: 15.98 kB / 0.6926 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.801e-05/0.5295, allocations: 11.97 kB / 0.6926 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.701e-05/0.5295, allocations: 15.98 kB / 0.6926 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001064/0.5306, allocations: 0.7879 MB / 0.6934 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.5306, allocations: 0 / 0.6934 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007818/0.5314, allocations: 247.4 kB / 0.6936 GB, free: 7.93 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.001935/0.5333, allocations: 0.5641 MB / 0.6942 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005568/0.5339, allocations: 219.7 kB / 0.6944 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.5339, allocations: 0 / 0.6944 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.534, allocations: 63.91 kB / 0.6944 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009194/0.535, allocations: 163 kB / 0.6946 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002637/0.5376, allocations: 1.574 MB / 0.6961 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005041/0.5381, allocations: 399.4 kB / 0.6965 GB, free: 5.047 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001696/0.5383, allocations: 55.42 kB / 0.6966 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of SimCode: time 6.31e-07/0.5383, allocations: 0 / 0.6966 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of Templates: time 0.02426/0.5625, allocations: 15.15 MB / 0.7114 GB, free: 5.848 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.014452856965363] Failed to read output from testmodel.py, exit status != 0: 0.5718665439635515 0.587745493 0.07532584299999995 Calling exit ...