Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.001374/0.001374, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001587/0.001587, allocations: 212.2 kB / 23.73 MB, free: 4.16 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.424/1.424, allocations: 207.7 MB / 234.6 MB, free: 9.801 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.3118/0.3118, allocations: 49.6 MB / 336.4 MB, free: 3.879 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.TestGasTurbineStodola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola") translateModel(ThermoPower.Test.GasComponents.TestGasTurbineStodola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola") [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.002616/0.002616, allocations: 78.86 kB / 476.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1376, allocations: 62.43 MB / 0.5266 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.4403/0.5779, allocations: 147.5 MB / 0.6707 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006189/0.5841, allocations: 3.463 MB / 0.6741 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006552/0.5847, allocations: 7.938 kB / 0.6741 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00121/0.5859, allocations: 254.4 kB / 0.6743 GB, free: 13.71 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.001462/0.5874, allocations: 461.6 kB / 0.6747 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004406/0.5918, allocations: 1.503 MB / 0.6762 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001828/0.5936, allocations: 1.224 MB / 0.6774 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000619/0.5943, allocations: 314.5 kB / 0.6777 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009383/0.5952, allocations: 482.3 kB / 0.6782 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008925/0.5961, allocations: 422.4 kB / 0.6786 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001612/0.5963, allocations: 56 kB / 0.6786 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002939/0.5992, allocations: 1.228 MB / 0.6798 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004236/0.5996, allocations: 327.1 kB / 0.6801 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006075/0.6002, allocations: 342.6 kB / 0.6805 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003339/0.6036, allocations: 1.596 MB / 0.682 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.6036, allocations: 0 / 0.682 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.954e-06/0.6036, allocations: 0 / 0.682 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.002e-05/0.6036, allocations: 7.984 kB / 0.682 GB, free: 5.781 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.00272/0.6063, allocations: 1.068 MB / 0.6831 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.6064, allocations: 8.031 kB / 0.6831 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008485/0.6072, allocations: 147.4 kB / 0.6832 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.6083, allocations: 466.7 kB / 0.6837 GB, free: 4.043 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.337e-05/0.6083, allocations: 39.44 kB / 0.6837 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.43e-05/0.6084, allocations: 48 kB / 0.6837 GB, free: 3.957 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.6098, allocations: 1.039 MB / 0.6848 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.52e-05/0.6098, allocations: 0 / 0.6848 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.287e-05/0.6099, allocations: 27.94 kB / 0.6848 GB, free: 2.773 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.6099, allocations: 16 kB / 0.6848 GB, free: 2.758 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008396/0.6108, allocations: 472.9 kB / 0.6853 GB, free: 2.293 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.004205/0.615, allocations: 1.581 MB / 0.6868 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00027/0.6152, allocations: 122.6 kB / 0.6869 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.6153, allocations: 52.84 kB / 0.687 GB, free: 492 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002331/0.6156, allocations: 47.95 kB / 0.687 GB, free: 444 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.6156, allocations: 38.56 kB / 0.687 GB, free: 396 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.823e-06/0.6156, allocations: 0 / 0.687 GB, free: 396 kB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.000534/0.6161, allocations: 225.2 kB / 0.6873 GB, free: 164 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.6162, allocations: 51.41 kB / 0.6873 GB, free: 100 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009883/0.6172, allocations: 0.7565 MB / 0.688 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.7e-05/0.6172, allocations: 25.7 kB / 0.6881 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003483/0.6176, allocations: 411.6 kB / 0.6885 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.057e-05/0.6176, allocations: 55.55 kB / 0.6885 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.6178, allocations: 82.08 kB / 0.6886 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002016/0.618, allocations: 374.7 kB / 0.689 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002501/0.6182, allocations: 138.6 kB / 0.6891 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00032/0.6185, allocations: 250.3 kB / 0.6893 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004938/0.619, allocations: 349.6 kB / 0.6897 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.619, allocations: 0 / 0.6897 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008359/0.6199, allocations: 452.7 kB / 0.6901 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.6199, allocations: 7.938 kB / 0.6901 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.6199, allocations: 8 kB / 0.6901 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.6199, allocations: 8.547 kB / 0.6901 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005312/0.6205, allocations: 119.8 kB / 0.6902 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004706/0.6209, allocations: 0.6033 MB / 0.6908 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004493/0.6214, allocations: 47.72 kB / 0.6909 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-05/0.6214, allocations: 24.53 kB / 0.6909 GB, free: 12.24 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.0005039/0.622, allocations: 245.6 kB / 0.6911 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/0.6221, allocations: 63.56 kB / 0.6912 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004644/0.6226, allocations: 209.3 kB / 0.6914 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.6226, allocations: 0 / 0.6914 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.6226, allocations: 0 / 0.6914 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.6226, allocations: 0 / 0.6914 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/0.6241, allocations: 0.6643 MB / 0.692 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.6241, allocations: 4 kB / 0.692 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002349/0.6243, allocations: 39.97 kB / 0.6921 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.6243, allocations: 4 kB / 0.6921 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.6243, allocations: 7.438 kB / 0.6921 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004152/0.6247, allocations: 0.6055 MB / 0.6927 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.6247, allocations: 4.031 kB / 0.6927 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005256/0.6253, allocations: 363 kB / 0.693 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001691/0.6254, allocations: 63.62 kB / 0.6931 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.23e-05/0.6255, allocations: 8 kB / 0.6931 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000379/0.6259, allocations: 19.92 kB / 0.6931 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.205e-05/0.6259, allocations: 15.97 kB / 0.6931 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.923e-05/0.626, allocations: 15.98 kB / 0.6931 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006865/0.6267, allocations: 0.5185 MB / 0.6936 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6267, allocations: 4 kB / 0.6937 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008429/0.6275, allocations: 235.4 kB / 0.6939 GB, free: 9.078 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.00211/0.6296, allocations: 0.5684 MB / 0.6944 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006316/0.6302, allocations: 240.1 kB / 0.6947 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/0.6303, allocations: 4 kB / 0.6947 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.6304, allocations: 63.91 kB / 0.6947 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009652/0.6314, allocations: 159.4 kB / 0.6949 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002189/0.6336, allocations: 1.154 MB / 0.696 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004161/0.634, allocations: 325 kB / 0.6963 GB, free: 6.512 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003925/0.6344, allocations: 100.3 kB / 0.6964 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.6345, allocations: 39.44 kB / 0.6964 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of SimCode: time 8.61e-07/0.6345, allocations: 3.938 kB / 0.6965 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of Templates: time 0.02233/0.6568, allocations: 11.41 MB / 0.7076 GB, free: 10.94 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.795125974342227] Failed to read output from testmodel.py, exit status != 0: 0.6680485922843218 0.685546209 0.07813623600000001 Calling exit ...