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.001485/0.001485, allocations: 84.3 kB / 20.68 MB, free: 1.035 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.001538/0.001538, allocations: 168.8 kB / 23.95 MB, free: 4.172 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.452/1.452, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.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.1407/0.1407, allocations: 19.74 MB / 280.4 MB, free: 12.92 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: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 417 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.642e-05/2.844e-05, allocations: 6.219 kB / 417 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.3535/0.3535, allocations: 146.8 MB / 0.5506 GB, free: 10.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005336/0.3588, allocations: 3.368 MB / 0.5539 GB, free: 7.391 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002883/0.3591, allocations: 7.938 kB / 0.5539 GB, free: 7.383 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008266/0.36, allocations: 262.2 kB / 0.5541 GB, free: 7.125 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001067/0.361, allocations: 0.5594 MB / 0.5547 GB, free: 6.562 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003823/0.3649, allocations: 1.548 MB / 0.5562 GB, free: 5.023 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001571/0.3664, allocations: 1.282 MB / 0.5574 GB, free: 3.734 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000501/0.3669, allocations: 329.9 kB / 0.5577 GB, free: 3.41 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008782/0.3678, allocations: 0.6584 MB / 0.5584 GB, free: 2.75 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006063/0.3684, allocations: 422.9 kB / 0.5588 GB, free: 2.336 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001109/0.3685, allocations: 56 kB / 0.5588 GB, free: 2.281 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002415/0.3709, allocations: 1.203 MB / 0.56 GB, free: 1.078 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004313/0.3714, allocations: 386.9 kB / 0.5604 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004382/0.3718, allocations: 315.2 kB / 0.5607 GB, free: 400 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002708/0.3745, allocations: 1.792 MB / 0.5624 GB, free: 14.59 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.3745, allocations: 3.984 kB / 0.5624 GB, free: 14.59 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3745, allocations: 0 / 0.5624 GB, free: 14.59 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.81e-05/0.3745, allocations: 0 / 0.5624 GB, free: 14.59 MB / 462.1 MB 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.002054/0.3766, allocations: 1.227 MB / 0.5636 GB, free: 13.33 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.3766, allocations: 12.03 kB / 0.5637 GB, free: 13.32 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007985/0.3774, allocations: 159.3 kB / 0.5638 GB, free: 13.16 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.3784, allocations: 0.5897 MB / 0.5644 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.015e-05/0.3785, allocations: 37 kB / 0.5644 GB, free: 12.5 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.3786, allocations: 51.98 kB / 0.5645 GB, free: 12.45 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.38, allocations: 1.034 MB / 0.5655 GB, free: 11.3 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.38, allocations: 3 kB / 0.5655 GB, free: 11.3 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.707e-05/0.3801, allocations: 24 kB / 0.5655 GB, free: 11.28 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.684e-05/0.3801, allocations: 15.94 kB / 0.5655 GB, free: 11.26 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008137/0.381, allocations: 463.7 kB / 0.566 GB, free: 10.81 MB / 462.1 MB 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.0039/0.3849, allocations: 1.621 MB / 0.5675 GB, free: 9.145 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002865/0.3851, allocations: 130.5 kB / 0.5677 GB, free: 9.008 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.931e-05/0.3852, allocations: 52.97 kB / 0.5677 GB, free: 8.953 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000254/0.3855, allocations: 51.95 kB / 0.5678 GB, free: 8.902 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.3855, allocations: 34.56 kB / 0.5678 GB, free: 8.859 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 1.933e-06/0.3855, allocations: 0 / 0.5678 GB, free: 8.859 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005381/0.3861, allocations: 241.3 kB / 0.568 GB, free: 8.617 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.802e-05/0.3861, allocations: 55.41 kB / 0.5681 GB, free: 8.551 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/0.3876, allocations: 1.122 MB / 0.5692 GB, free: 7.418 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.441e-05/0.3876, allocations: 33.7 kB / 0.5692 GB, free: 7.379 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004277/0.3881, allocations: 479.5 kB / 0.5697 GB, free: 6.902 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.392e-05/0.3881, allocations: 55.58 kB / 0.5697 GB, free: 6.848 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/0.3883, allocations: 86.02 kB / 0.5698 GB, free: 6.758 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.3884, allocations: 322 kB / 0.5701 GB, free: 6.438 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002473/0.3887, allocations: 126.7 kB / 0.5702 GB, free: 6.312 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003607/0.3891, allocations: 257.9 kB / 0.5705 GB, free: 6.004 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005111/0.3896, allocations: 341.8 kB / 0.5708 GB, free: 5.613 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.3896, allocations: 0 / 0.5708 GB, free: 5.613 MB / 462.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008088/0.3904, allocations: 464.6 kB / 0.5712 GB, free: 5.152 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.3904, allocations: 8 kB / 0.5713 GB, free: 5.145 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.3904, allocations: 4 kB / 0.5713 GB, free: 5.141 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.885e-05/0.3904, allocations: 8.516 kB / 0.5713 GB, free: 5.133 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004847/0.3909, allocations: 103.9 kB / 0.5714 GB, free: 5.031 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004916/0.3914, allocations: 0.6055 MB / 0.572 GB, free: 4.402 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004013/0.3918, allocations: 59.59 kB / 0.572 GB, free: 4.344 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.131e-05/0.3919, allocations: 23.94 kB / 0.572 GB, free: 4.32 MB / 462.1 MB 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.0004185/0.3923, allocations: 293.6 kB / 0.5723 GB, free: 4.023 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.3924, allocations: 75.53 kB / 0.5724 GB, free: 3.949 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004409/0.3929, allocations: 233.6 kB / 0.5726 GB, free: 3.715 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.3929, allocations: 7.938 kB / 0.5726 GB, free: 3.707 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3929, allocations: 0 / 0.5726 GB, free: 3.707 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.3929, allocations: 3.984 kB / 0.5726 GB, free: 3.703 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006481/0.3935, allocations: 424.9 kB / 0.573 GB, free: 3.258 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.3935, allocations: 6.188 kB / 0.573 GB, free: 3.254 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002475/0.3938, allocations: 43.91 kB / 0.5731 GB, free: 3.211 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.3938, allocations: 0 / 0.5731 GB, free: 3.211 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.3938, allocations: 8 kB / 0.5731 GB, free: 3.203 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004041/0.3942, allocations: 0.6016 MB / 0.5737 GB, free: 2.578 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3942, allocations: 4.094 kB / 0.5737 GB, free: 2.574 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005164/0.3947, allocations: 367 kB / 0.574 GB, free: 2.199 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001866/0.3949, allocations: 91.44 kB / 0.5741 GB, free: 2.109 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.087e-05/0.395, allocations: 8 kB / 0.5741 GB, free: 2.102 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003832/0.3954, allocations: 11.98 kB / 0.5741 GB, free: 2.09 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.245e-05/0.3954, allocations: 7.984 kB / 0.5741 GB, free: 2.082 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.287e-05/0.3955, allocations: 19.97 kB / 0.5742 GB, free: 2.062 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001032/0.3965, allocations: 0.7879 MB / 0.5749 GB, free: 1.277 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3965, allocations: 0 / 0.5749 GB, free: 1.277 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007981/0.3973, allocations: 247.3 kB / 0.5752 GB, free: 1.035 MB / 462.1 MB 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.001978/0.3993, allocations: 0.5639 MB / 0.5757 GB, free: 0.625 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005307/0.3998, allocations: 227 kB / 0.5759 GB, free: 416 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.3998, allocations: 0 / 0.5759 GB, free: 416 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.4, allocations: 64.97 kB / 0.576 GB, free: 352 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.401, allocations: 169.7 kB / 0.5762 GB, free: 188 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002406/0.4034, allocations: 1.45 MB / 0.5776 GB, free: 14.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004708/0.4039, allocations: 406.7 kB / 0.578 GB, free: 14.28 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003904/0.4043, allocations: 132.9 kB / 0.5781 GB, free: 14.14 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.4044, allocations: 52.48 kB / 0.5781 GB, free: 14.09 MB / 478.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4044, allocations: 4 kB / 0.5781 GB, free: 14.09 MB / 478.1 MB Notification: Performance of Templates: time 0.02249/0.4269, allocations: 11.42 MB / 0.5893 GB, free: 2.785 MB / 478.1 MB " [Timeout remaining time 660] 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.244726255536079] Failed to read output from testmodel.py, exit status != 0: 0.4360555484890938 0.45124258999999994 0.07335050999999994 Calling exit ...