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.001369/0.001369, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.002353/0.002353, allocations: 196.6 kB / 23.72 MB, free: 4.492 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.494/1.494, allocations: 230.6 MB / 257.5 MB, free: 7.777 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.1647/0.1647, allocations: 26.85 MB / 340.8 MB, free: 7.973 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.002091/0.002091, allocations: 67.89 kB / 477.3 MB, free: 3.016 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.3769, allocations: 60.48 MB / 0.5251 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.1967/0.5737, allocations: 146.8 MB / 0.6685 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006508/0.5802, allocations: 3.369 MB / 0.6718 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006455/0.5808, allocations: 7.938 kB / 0.6718 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001146/0.582, allocations: 254.4 kB / 0.672 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001585/0.5836, allocations: 0.5443 MB / 0.6726 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004695/0.5883, allocations: 1.529 MB / 0.674 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00212/0.5904, allocations: 1.282 MB / 0.6753 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008997/0.5913, allocations: 333.5 kB / 0.6756 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001679/0.593, allocations: 0.5061 MB / 0.6761 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001218/0.5942, allocations: 462.3 kB / 0.6765 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003096/0.5945, allocations: 56 kB / 0.6766 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003654/0.5981, allocations: 1.177 MB / 0.6778 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005754/0.5987, allocations: 386.9 kB / 0.6781 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009423/0.5997, allocations: 382.2 kB / 0.6785 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005107/0.6048, allocations: 1.693 MB / 0.6801 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.6048, allocations: 0 / 0.6801 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.344e-06/0.6048, allocations: 0 / 0.6801 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.192e-05/0.6048, allocations: 0 / 0.6801 GB, free: 5.52 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.003954/0.6088, allocations: 1.235 MB / 0.6813 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.6088, allocations: 8.031 kB / 0.6814 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009578/0.6098, allocations: 163.3 kB / 0.6815 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001434/0.6112, allocations: 0.6014 MB / 0.6821 GB, free: 3.457 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.595e-05/0.6113, allocations: 37 kB / 0.6821 GB, free: 3.418 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.6114, allocations: 48 kB / 0.6822 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001825/0.6132, allocations: 1.03 MB / 0.6832 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.325e-05/0.6133, allocations: 7.953 kB / 0.6832 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.184e-05/0.6134, allocations: 20 kB / 0.6832 GB, free: 2.199 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.6134, allocations: 12 kB / 0.6832 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008937/0.6143, allocations: 467.7 kB / 0.6837 GB, free: 1.727 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.004347/0.6186, allocations: 1.628 MB / 0.6853 GB, free: 56 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003182/0.6189, allocations: 134.6 kB / 0.6854 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.6191, allocations: 44.84 kB / 0.6854 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002885/0.6193, allocations: 51.89 kB / 0.6855 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.991e-05/0.6194, allocations: 42.56 kB / 0.6855 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 2.185e-06/0.6194, allocations: 0 / 0.6855 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0006067/0.62, allocations: 237.2 kB / 0.6857 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.6201, allocations: 55.59 kB / 0.6858 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00164/0.6217, allocations: 1.129 MB / 0.6869 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.395e-05/0.6218, allocations: 29.7 kB / 0.6869 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004311/0.6222, allocations: 471.6 kB / 0.6874 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.38e-05/0.6223, allocations: 67.5 kB / 0.6874 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/0.6224, allocations: 81.97 kB / 0.6875 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.6226, allocations: 325.9 kB / 0.6878 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002347/0.6228, allocations: 130.6 kB / 0.688 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003612/0.6232, allocations: 241.5 kB / 0.6882 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005108/0.6237, allocations: 348.8 kB / 0.6885 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.6237, allocations: 0 / 0.6885 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008585/0.6246, allocations: 455.6 kB / 0.689 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/0.6246, allocations: 19.06 kB / 0.689 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.6246, allocations: 4 kB / 0.689 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/0.6246, allocations: 8 kB / 0.689 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004766/0.6251, allocations: 103.8 kB / 0.6891 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004687/0.6256, allocations: 0.6055 MB / 0.6897 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004189/0.626, allocations: 55.61 kB / 0.6897 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.629e-05/0.6261, allocations: 23.98 kB / 0.6897 GB, free: 11.23 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.0004812/0.6265, allocations: 301.7 kB / 0.69 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.6267, allocations: 83.55 kB / 0.6901 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004775/0.6272, allocations: 220.1 kB / 0.6903 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.6272, allocations: 4 kB / 0.6903 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.6272, allocations: 3.938 kB / 0.6903 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.6272, allocations: 0 / 0.6903 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006706/0.6279, allocations: 417 kB / 0.6907 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.6279, allocations: 0 / 0.6907 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002608/0.6281, allocations: 55.83 kB / 0.6908 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.6281, allocations: 4 kB / 0.6908 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.6282, allocations: 4 kB / 0.6908 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000425/0.6286, allocations: 0.5977 MB / 0.6914 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.6286, allocations: 0 / 0.6914 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005405/0.6291, allocations: 370.6 kB / 0.6917 GB, free: 9.117 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002541/0.6294, allocations: 107.4 kB / 0.6918 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.039e-05/0.6295, allocations: 0 / 0.6918 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003636/0.6298, allocations: 15.98 kB / 0.6918 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.852e-05/0.6298, allocations: 7.984 kB / 0.6919 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.289e-05/0.6299, allocations: 20.12 kB / 0.6919 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001152/0.631, allocations: 0.7919 MB / 0.6926 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.631, allocations: 0 / 0.6926 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008481/0.6319, allocations: 247.4 kB / 0.6929 GB, free: 7.941 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.002036/0.6339, allocations: 0.5479 MB / 0.6934 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006058/0.6345, allocations: 224.7 kB / 0.6936 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.6345, allocations: 4.062 kB / 0.6936 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.6347, allocations: 59.91 kB / 0.6937 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009732/0.6357, allocations: 174.2 kB / 0.6939 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002768/0.6385, allocations: 1.529 MB / 0.6954 GB, free: 5.527 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005666/0.639, allocations: 403.6 kB / 0.6957 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004506/0.6395, allocations: 144.9 kB / 0.6959 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.6396, allocations: 47.44 kB / 0.6959 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of SimCode: time 1.012e-06/0.6396, allocations: 0 / 0.6959 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of Templates: time 0.02437/0.664, allocations: 12.52 MB / 0.7081 GB, free: 8.527 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: 5.667752008885145] Failed to read output from testmodel.py, exit status != 0: 0.6750535219907761 0.69829907 0.08874480300000001 Calling exit ...