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.001624/0.001624, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001874/0.001874, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.483/1.483, allocations: 207.6 MB / 235.3 MB, free: 9.996 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.3227/0.3227, allocations: 49.56 MB / 337.1 MB, free: 4.105 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.003631/0.003631, allocations: 75.89 kB / 477.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1653, allocations: 62.42 MB / 0.5273 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.4314/0.5967, allocations: 171.3 MB / 0.6947 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005565/0.6022, allocations: 3.798 MB / 0.6984 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004169/0.6027, allocations: 15.88 kB / 0.6984 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008542/0.6035, allocations: 274.3 kB / 0.6987 GB, free: 6.328 MB / 0.5294 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.001012/0.6045, allocations: 449.7 kB / 0.6991 GB, free: 5.887 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003832/0.6084, allocations: 1.515 MB / 0.7006 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001673/0.61, allocations: 1.224 MB / 0.7018 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005027/0.6105, allocations: 322.5 kB / 0.7021 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006844/0.6112, allocations: 474.4 kB / 0.7025 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006224/0.6118, allocations: 450.4 kB / 0.703 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.595e-05/0.6119, allocations: 56 kB / 0.703 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002953/0.6149, allocations: 1.505 MB / 0.7045 GB, free: 364 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003337/0.6152, allocations: 323.1 kB / 0.7048 GB, free: 40 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004542/0.6157, allocations: 406.1 kB / 0.7052 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002382/0.6181, allocations: 1.624 MB / 0.7068 GB, free: 14.02 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.6181, allocations: 4 kB / 0.7068 GB, free: 14.01 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.422e-06/0.6181, allocations: 0 / 0.7068 GB, free: 14.01 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.219e-05/0.6181, allocations: 0 / 0.7068 GB, free: 14.01 MB / 0.545 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.002111/0.6202, allocations: 1.076 MB / 0.7078 GB, free: 12.9 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.6202, allocations: 12.03 kB / 0.7078 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000726/0.621, allocations: 140.1 kB / 0.708 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008564/0.6218, allocations: 462.7 kB / 0.7084 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.043e-05/0.6219, allocations: 37.31 kB / 0.7084 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.185e-05/0.6219, allocations: 59.98 kB / 0.7085 GB, free: 12.18 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.6229, allocations: 0.612 MB / 0.7091 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.623, allocations: 0 / 0.7091 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.021e-05/0.623, allocations: 23.94 kB / 0.7091 GB, free: 11.53 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.04e-05/0.623, allocations: 16 kB / 0.7091 GB, free: 11.51 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007289/0.6238, allocations: 472.9 kB / 0.7096 GB, free: 11.05 MB / 0.545 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.00395/0.6277, allocations: 2.009 MB / 0.7115 GB, free: 8.941 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000269/0.628, allocations: 124.2 kB / 0.7117 GB, free: 8.812 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.6281, allocations: 56.81 kB / 0.7117 GB, free: 8.754 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002333/0.6283, allocations: 47.97 kB / 0.7118 GB, free: 8.707 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.789e-05/0.6284, allocations: 41.5 kB / 0.7118 GB, free: 8.66 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.944e-06/0.6284, allocations: 0 / 0.7118 GB, free: 8.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.000519/0.6289, allocations: 242 kB / 0.712 GB, free: 8.418 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.6289, allocations: 55.41 kB / 0.7121 GB, free: 8.352 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/0.6302, allocations: 0.9771 MB / 0.713 GB, free: 7.367 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.762e-05/0.6302, allocations: 29.7 kB / 0.7131 GB, free: 7.332 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003385/0.6305, allocations: 403.9 kB / 0.7134 GB, free: 6.934 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.89e-05/0.6306, allocations: 55.53 kB / 0.7135 GB, free: 6.879 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.6307, allocations: 89.97 kB / 0.7136 GB, free: 6.785 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.6309, allocations: 329.9 kB / 0.7139 GB, free: 6.457 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002249/0.6311, allocations: 130.6 kB / 0.714 GB, free: 6.328 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003207/0.6314, allocations: 254.3 kB / 0.7143 GB, free: 6.016 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004854/0.6319, allocations: 341.7 kB / 0.7146 GB, free: 5.617 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.6319, allocations: 0 / 0.7146 GB, free: 5.617 MB / 0.545 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007816/0.6327, allocations: 473.1 kB / 0.715 GB, free: 5.148 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.6327, allocations: 8 kB / 0.7151 GB, free: 5.141 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.6327, allocations: 4 kB / 0.7151 GB, free: 5.137 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.6327, allocations: 11.94 kB / 0.7151 GB, free: 5.125 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005355/0.6333, allocations: 103.8 kB / 0.7152 GB, free: 5.023 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004545/0.6337, allocations: 0.6016 MB / 0.7158 GB, free: 4.398 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004384/0.6342, allocations: 83.38 kB / 0.7158 GB, free: 4.316 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.327e-05/0.6342, allocations: 24.12 kB / 0.7159 GB, free: 4.293 MB / 0.545 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.0003869/0.6346, allocations: 245.6 kB / 0.7161 GB, free: 4.043 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/0.6348, allocations: 79.53 kB / 0.7162 GB, free: 3.965 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004151/0.6352, allocations: 217.1 kB / 0.7164 GB, free: 3.746 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.6352, allocations: 4 kB / 0.7164 GB, free: 3.742 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.6352, allocations: 0 / 0.7164 GB, free: 3.742 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.6352, allocations: 0 / 0.7164 GB, free: 3.742 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/0.6365, allocations: 0.7768 MB / 0.7171 GB, free: 2.906 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.6365, allocations: 0 / 0.7171 GB, free: 2.906 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002481/0.6367, allocations: 51.91 kB / 0.7172 GB, free: 2.855 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.6368, allocations: 0 / 0.7172 GB, free: 2.855 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.6368, allocations: 4 kB / 0.7172 GB, free: 2.852 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003924/0.6372, allocations: 0.6086 MB / 0.7178 GB, free: 2.223 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6372, allocations: 4 kB / 0.7178 GB, free: 2.219 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005012/0.6377, allocations: 373.6 kB / 0.7181 GB, free: 1.828 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002173/0.6379, allocations: 103.6 kB / 0.7182 GB, free: 1.727 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.475e-05/0.638, allocations: 7.984 kB / 0.7183 GB, free: 1.719 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003717/0.6383, allocations: 15.98 kB / 0.7183 GB, free: 1.703 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.184e-05/0.6384, allocations: 16.02 kB / 0.7183 GB, free: 1.688 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-05/0.6384, allocations: 15.98 kB / 0.7183 GB, free: 1.672 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008948/0.6393, allocations: 0.6942 MB / 0.719 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.6393, allocations: 0 / 0.719 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007325/0.64, allocations: 219.6 kB / 0.7192 GB, free: 0.7656 MB / 0.545 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.001858/0.6419, allocations: 0.5531 MB / 0.7197 GB, free: 216 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005884/0.6425, allocations: 225 kB / 0.7199 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.6425, allocations: 8.062 kB / 0.7199 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.6426, allocations: 67.8 kB / 0.72 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001562/0.6442, allocations: 331.1 kB / 0.7203 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/0.6463, allocations: 1.226 MB / 0.7215 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006265/0.647, allocations: 0.9135 MB / 0.7224 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.6471, allocations: 55.44 kB / 0.7225 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of SimCode: time 4.9e-07/0.6471, allocations: 0 / 0.7225 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of Templates: time 0.02328/0.6704, allocations: 15.08 MB / 0.7372 GB, free: 14.22 MB / 0.5762 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: 10.761924803024158] Failed to read output from testmodel.py, exit status != 0: 0.6811708139721304 0.6940847259999999 0.072826236 Calling exit ...