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.001406/0.001406, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001638/0.001638, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.421/1.421, allocations: 207.7 MB / 234.6 MB, free: 9.797 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.3127/0.3127, allocations: 49.61 MB / 336.4 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: translateModel(ThermoPower.Test.GasComponents.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine") translateModel(ThermoPower.Test.GasComponents.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine") [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.002495/0.002495, allocations: 67.91 kB / 476.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1265, allocations: 62.43 MB / 0.5266 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.4293/0.5558, allocations: 147.4 MB / 0.6706 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006078/0.5619, allocations: 3.498 MB / 0.674 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005164/0.5624, allocations: 15.88 kB / 0.674 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.5634, allocations: 254.4 kB / 0.6743 GB, free: 13.72 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.001312/0.5647, allocations: 0.4937 MB / 0.6748 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004531/0.5693, allocations: 1.574 MB / 0.6763 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001881/0.5712, allocations: 1.259 MB / 0.6775 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000742/0.5719, allocations: 329.9 kB / 0.6778 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001035/0.5729, allocations: 0.4983 MB / 0.6783 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009382/0.5739, allocations: 458.3 kB / 0.6788 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001768/0.5741, allocations: 56 kB / 0.6788 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003039/0.5771, allocations: 1.232 MB / 0.68 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005435/0.5776, allocations: 379 kB / 0.6804 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007359/0.5784, allocations: 378.1 kB / 0.6807 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003348/0.5817, allocations: 1.716 MB / 0.6824 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.5817, allocations: 0 / 0.6824 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.893e-06/0.5817, allocations: 3.938 kB / 0.6824 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.354e-05/0.5818, allocations: 0 / 0.6824 GB, free: 5.363 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.002402/0.5842, allocations: 1.219 MB / 0.6836 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.5842, allocations: 11.97 kB / 0.6836 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007922/0.585, allocations: 164.1 kB / 0.6838 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.5861, allocations: 0.5794 MB / 0.6843 GB, free: 3.332 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.034e-05/0.5862, allocations: 37 kB / 0.6844 GB, free: 3.297 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.519e-05/0.5863, allocations: 48 kB / 0.6844 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/0.5876, allocations: 1.034 MB / 0.6854 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/0.5876, allocations: 0 / 0.6854 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-05/0.5877, allocations: 27.94 kB / 0.6855 GB, free: 2.07 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.5877, allocations: 12 kB / 0.6855 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000764/0.5885, allocations: 463.7 kB / 0.6859 GB, free: 1.605 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.003934/0.5924, allocations: 1.609 MB / 0.6875 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003047/0.5927, allocations: 126.5 kB / 0.6876 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.5928, allocations: 52.92 kB / 0.6877 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002491/0.5931, allocations: 47.97 kB / 0.6877 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/0.5931, allocations: 42.55 kB / 0.6877 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.623e-06/0.5931, allocations: 0 / 0.6877 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0005654/0.5937, allocations: 237.4 kB / 0.688 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.5938, allocations: 51.41 kB / 0.688 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00145/0.5952, allocations: 1.11 MB / 0.6891 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.236e-05/0.5953, allocations: 33.7 kB / 0.6891 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004067/0.5957, allocations: 471.5 kB / 0.6896 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.477e-05/0.5957, allocations: 63.52 kB / 0.6896 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.5959, allocations: 81.98 kB / 0.6897 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.596, allocations: 329.9 kB / 0.69 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/0.5962, allocations: 126.6 kB / 0.6902 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003318/0.5966, allocations: 249.4 kB / 0.6904 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004791/0.597, allocations: 328.9 kB / 0.6907 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.597, allocations: 4 kB / 0.6907 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008314/0.5979, allocations: 460.6 kB / 0.6911 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.5979, allocations: 8 kB / 0.6912 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.5979, allocations: 9.969 kB / 0.6912 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.212e-05/0.5979, allocations: 12 kB / 0.6912 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000486/0.5984, allocations: 103.9 kB / 0.6913 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000479/0.5989, allocations: 0.6055 MB / 0.6919 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004134/0.5993, allocations: 55.55 kB / 0.6919 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.008e-05/0.5994, allocations: 23.98 kB / 0.6919 GB, free: 11.16 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.0004758/0.5999, allocations: 298.3 kB / 0.6922 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/0.6, allocations: 79.47 kB / 0.6923 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004568/0.6004, allocations: 224.1 kB / 0.6925 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.6004, allocations: 4 kB / 0.6925 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.6005, allocations: 1.562 kB / 0.6925 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.6005, allocations: 0 / 0.6925 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006583/0.6011, allocations: 420.9 kB / 0.6929 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.6011, allocations: 0 / 0.6929 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002354/0.6014, allocations: 47.91 kB / 0.693 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.6014, allocations: 0 / 0.693 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.6014, allocations: 7.938 kB / 0.693 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000425/0.6018, allocations: 0.5977 MB / 0.6936 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.6018, allocations: 0 / 0.6936 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005196/0.6023, allocations: 359 kB / 0.6939 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002019/0.6025, allocations: 99.44 kB / 0.694 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.903e-05/0.6026, allocations: 0 / 0.694 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003733/0.603, allocations: 23.61 kB / 0.694 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.603, allocations: 11.98 kB / 0.694 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.805e-05/0.603, allocations: 19.97 kB / 0.6941 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001058/0.6041, allocations: 0.7723 MB / 0.6948 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6041, allocations: 0 / 0.6948 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009249/0.605, allocations: 247.5 kB / 0.695 GB, free: 7.906 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.002076/0.6071, allocations: 0.554 MB / 0.6956 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006275/0.6077, allocations: 228.5 kB / 0.6958 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.6077, allocations: 4 kB / 0.6958 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.6079, allocations: 59.91 kB / 0.6959 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.6089, allocations: 179.6 kB / 0.696 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00257/0.6115, allocations: 1.518 MB / 0.6975 GB, free: 5.336 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004732/0.6119, allocations: 399.3 kB / 0.6979 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004298/0.6124, allocations: 136.9 kB / 0.698 GB, free: 4.785 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.6125, allocations: 47.44 kB / 0.6981 GB, free: 4.738 MB / 0.5294 GB Notification: Performance of SimCode: time 8.21e-07/0.6125, allocations: 0 / 0.6981 GB, free: 4.738 MB / 0.5294 GB Notification: Performance of Templates: time 0.02389/0.6364, allocations: 12.58 MB / 0.7104 GB, free: 8.137 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.makefile [Timeout 660] (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 & ./ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.823471438139677] Failed to read output from testmodel.py, exit status != 0: 0.6461161579936743 0.660988789 0.07574383900000001 Calling exit ...