Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbineStodola.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.001385/0.001385, 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.001627/0.001627, allocations: 210 kB / 23.73 MB, free: 4.387 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.544/1.544, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.1681/0.1681, allocations: 26.83 MB / 340.7 MB, free: 7.984 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.TestGasTurbineStodola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbineStodola") translateModel(ThermoPower.Test.GasComponents.TestGasTurbineStodola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbineStodola") [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.002261/0.002261, allocations: 71.88 kB / 477.3 MB, free: 3.02 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3702, allocations: 60.48 MB / 0.5251 GB, free: 9.668 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.2111/0.5813, allocations: 146.9 MB / 0.6686 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006324/0.5876, allocations: 3.299 MB / 0.6718 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005193/0.5881, allocations: 11.88 kB / 0.6718 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001012/0.5891, allocations: 258.4 kB / 0.672 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001377/0.5905, allocations: 497.5 kB / 0.6725 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004416/0.5949, allocations: 1.442 MB / 0.6739 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001808/0.5967, allocations: 1.239 MB / 0.6751 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008688/0.5976, allocations: 332.7 kB / 0.6755 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001081/0.5987, allocations: 490.3 kB / 0.6759 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009275/0.5996, allocations: 418.4 kB / 0.6763 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001543/0.5998, allocations: 56 kB / 0.6764 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002782/0.6026, allocations: 1.181 MB / 0.6775 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004126/0.603, allocations: 319.1 kB / 0.6778 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007083/0.6037, allocations: 342.5 kB / 0.6782 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00299/0.6067, allocations: 1.577 MB / 0.6797 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.6067, allocations: 3.984 kB / 0.6797 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6067, allocations: 0 / 0.6797 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.266e-05/0.6067, allocations: 4 kB / 0.6797 GB, free: 6 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.002545/0.6093, allocations: 1.076 MB / 0.6808 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.6093, allocations: 8.031 kB / 0.6808 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008705/0.6102, allocations: 147.4 kB / 0.6809 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000993/0.6112, allocations: 474.8 kB / 0.6814 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.204e-05/0.6112, allocations: 37.31 kB / 0.6814 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-05/0.6113, allocations: 51.95 kB / 0.6814 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/0.6128, allocations: 1.042 MB / 0.6825 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.6128, allocations: 0 / 0.6825 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.071e-05/0.6129, allocations: 24 kB / 0.6825 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.6129, allocations: 19.94 kB / 0.6825 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008058/0.6137, allocations: 469 kB / 0.6829 GB, free: 2.492 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.004082/0.6178, allocations: 1.581 MB / 0.6845 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002767/0.618, allocations: 122.6 kB / 0.6846 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.6182, allocations: 52.84 kB / 0.6847 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002334/0.6184, allocations: 55.83 kB / 0.6847 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.6184, allocations: 38.56 kB / 0.6847 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.6184, allocations: 0 / 0.6847 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0005137/0.6189, allocations: 221.3 kB / 0.685 GB, free: 364 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.051e-05/0.619, allocations: 55.41 kB / 0.685 GB, free: 296 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.6201, allocations: 0.7682 MB / 0.6858 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.364e-05/0.6201, allocations: 29.7 kB / 0.6858 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003825/0.6205, allocations: 403.6 kB / 0.6862 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.127e-05/0.6206, allocations: 67.55 kB / 0.6862 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.6207, allocations: 90 kB / 0.6863 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.6209, allocations: 366.8 kB / 0.6867 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002316/0.6211, allocations: 130.6 kB / 0.6868 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003323/0.6215, allocations: 250.3 kB / 0.687 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004789/0.6219, allocations: 343.9 kB / 0.6874 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.6219, allocations: 4 kB / 0.6874 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000766/0.6227, allocations: 451.1 kB / 0.6878 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.6227, allocations: 11.94 kB / 0.6878 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.6227, allocations: 4 kB / 0.6878 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/0.6228, allocations: 8.562 kB / 0.6878 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005339/0.6233, allocations: 111.9 kB / 0.6879 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005654/0.6239, allocations: 0.6094 MB / 0.6885 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004064/0.6243, allocations: 51.66 kB / 0.6886 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.611e-05/0.6243, allocations: 20 kB / 0.6886 GB, free: 12.43 MB / 0.5294 GB Warning: Assuming fixed start value for the following 1 variables: ConstantSpeed1.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Angle of flange with respect to support (= flange.phi - support.phi)\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (48): * Single equations (assignments): 47 * 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.0003989/0.6247, allocations: 257.6 kB / 0.6888 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.6248, allocations: 59.62 kB / 0.6889 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004935/0.6253, allocations: 213.1 kB / 0.6891 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.6253, allocations: 4 kB / 0.6891 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.6253, allocations: 0 / 0.6891 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.6253, allocations: 3.938 kB / 0.6891 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001223/0.6266, allocations: 0.6639 MB / 0.6898 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.6266, allocations: 0 / 0.6898 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002296/0.6268, allocations: 43.91 kB / 0.6898 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.6268, allocations: 4 kB / 0.6898 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.6268, allocations: 8 kB / 0.6898 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003937/0.6272, allocations: 0.6056 MB / 0.6904 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.6272, allocations: 0 / 0.6904 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004887/0.6277, allocations: 369.6 kB / 0.6908 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001675/0.6279, allocations: 75.52 kB / 0.6908 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.734e-05/0.6279, allocations: 4 kB / 0.6908 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003632/0.6283, allocations: 19.98 kB / 0.6908 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.6284, allocations: 11.97 kB / 0.6909 GB, free: 10 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-05/0.6284, allocations: 19.98 kB / 0.6909 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006955/0.6291, allocations: 0.5302 MB / 0.6914 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.6291, allocations: 0 / 0.6914 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007817/0.6299, allocations: 235.3 kB / 0.6916 GB, free: 9.227 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (ConstantSpeed1.phi) * 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 (16): * Single equations (assignments): 15 * 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.002049/0.6319, allocations: 0.5559 MB / 0.6922 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005827/0.6325, allocations: 228.6 kB / 0.6924 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.6325, allocations: 0 / 0.6924 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.6327, allocations: 64.17 kB / 0.6924 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009181/0.6336, allocations: 153.9 kB / 0.6926 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002319/0.6359, allocations: 1.166 MB / 0.6937 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005174/0.6364, allocations: 325 kB / 0.694 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004255/0.6368, allocations: 100.3 kB / 0.6941 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.637, allocations: 39.44 kB / 0.6942 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of SimCode: time 8.42e-07/0.637, allocations: 0 / 0.6942 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of Templates: time 0.02182/0.6588, allocations: 11.33 MB / 0.7052 GB, free: 11.49 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbineStodola.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbineStodola.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbineStodola -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.716915108263493] Failed to read output from testmodel.py, exit status != 0: 0.6681449543684721 0.683049577 0.073120738 Calling exit ...