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.001686/0.001686, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001982/0.001982, allocations: 209.2 kB / 24.48 MB, free: 3.863 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.437/1.437, allocations: 230.6 MB / 258.2 MB, free: 7.82 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.1463/0.1463, allocations: 26.84 MB / 341.5 MB, free: 8.008 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.002083/0.002083, allocations: 71.88 kB / 478 MB, free: 3.031 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.292, allocations: 60.48 MB / 0.5259 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.1866/0.4786, allocations: 146.9 MB / 0.6693 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00543/0.484, allocations: 3.303 MB / 0.6725 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003415/0.4843, allocations: 7.938 kB / 0.6725 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008435/0.4852, allocations: 254.4 kB / 0.6728 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001048/0.4862, allocations: 0.4936 MB / 0.6732 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003749/0.49, allocations: 1.443 MB / 0.6747 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001496/0.4915, allocations: 1.235 MB / 0.6759 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000474/0.4919, allocations: 333.5 kB / 0.6762 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006622/0.4926, allocations: 490.3 kB / 0.6766 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000592/0.4932, allocations: 422.3 kB / 0.6771 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.4933, allocations: 56 kB / 0.6771 GB, free: 9.457 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002382/0.4957, allocations: 1.173 MB / 0.6783 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003329/0.496, allocations: 323.1 kB / 0.6786 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003972/0.4964, allocations: 346.5 kB / 0.6789 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002199/0.4986, allocations: 1.576 MB / 0.6804 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.4986, allocations: 4 kB / 0.6804 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.814e-06/0.4986, allocations: 0 / 0.6804 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.424e-05/0.4986, allocations: 4 kB / 0.6804 GB, free: 6.039 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.001847/0.5005, allocations: 1.076 MB / 0.6815 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.5005, allocations: 12.03 kB / 0.6815 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007295/0.5012, allocations: 143.4 kB / 0.6816 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008313/0.5021, allocations: 470.8 kB / 0.6821 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.121e-05/0.5021, allocations: 41.31 kB / 0.6821 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.649e-05/0.5022, allocations: 51.95 kB / 0.6822 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/0.5034, allocations: 1.043 MB / 0.6832 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.5034, allocations: 4 kB / 0.6832 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.974e-05/0.5035, allocations: 20 kB / 0.6832 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.5035, allocations: 15.94 kB / 0.6832 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007467/0.5043, allocations: 472.9 kB / 0.6837 GB, free: 2.531 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.003654/0.5079, allocations: 1.578 MB / 0.6852 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002584/0.5082, allocations: 126.5 kB / 0.6853 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.5083, allocations: 64.84 kB / 0.6854 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002218/0.5085, allocations: 47.89 kB / 0.6854 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.5085, allocations: 38.56 kB / 0.6855 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.793e-06/0.5085, allocations: 0 / 0.6855 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0004893/0.509, allocations: 221.2 kB / 0.6857 GB, free: 400 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.5091, allocations: 59.34 kB / 0.6858 GB, free: 328 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009457/0.51, allocations: 0.7643 MB / 0.6865 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.964e-05/0.5101, allocations: 33.7 kB / 0.6865 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003282/0.5104, allocations: 407.6 kB / 0.6869 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.643e-05/0.5105, allocations: 63.55 kB / 0.687 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/0.5106, allocations: 86.06 kB / 0.6871 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002059/0.5108, allocations: 366.8 kB / 0.6874 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002289/0.511, allocations: 130.7 kB / 0.6875 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003357/0.5114, allocations: 256.3 kB / 0.6878 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004842/0.5118, allocations: 333.7 kB / 0.6881 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.5119, allocations: 4 kB / 0.6881 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007496/0.5126, allocations: 460 kB / 0.6885 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.5126, allocations: 7.938 kB / 0.6886 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.5126, allocations: 12.03 kB / 0.6886 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.5127, allocations: 4 kB / 0.6886 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005426/0.5132, allocations: 115.8 kB / 0.6887 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004505/0.5136, allocations: 0.6055 MB / 0.6893 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003886/0.514, allocations: 51.66 kB / 0.6893 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.026e-05/0.5141, allocations: 20 kB / 0.6893 GB, free: 12.46 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.0003814/0.5145, allocations: 253.6 kB / 0.6896 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.5146, allocations: 59.62 kB / 0.6896 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000394/0.515, allocations: 206.1 kB / 0.6898 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.515, allocations: 0 / 0.6898 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.515, allocations: 0 / 0.6898 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.515, allocations: 7.938 kB / 0.6898 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.5161, allocations: 0.6565 MB / 0.6905 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.5161, allocations: 0 / 0.6905 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002381/0.5164, allocations: 47.97 kB / 0.6905 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.5164, allocations: 4.094 kB / 0.6905 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.5164, allocations: 4 kB / 0.6905 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004038/0.5168, allocations: 0.6054 MB / 0.6911 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5168, allocations: 0 / 0.6911 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004816/0.5173, allocations: 383.3 kB / 0.6915 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/0.5174, allocations: 71.48 kB / 0.6916 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.3e-05/0.5175, allocations: 8 kB / 0.6916 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003521/0.5178, allocations: 19.92 kB / 0.6916 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.5179, allocations: 20.12 kB / 0.6916 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/0.5179, allocations: 15.98 kB / 0.6916 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006541/0.5186, allocations: 0.53 MB / 0.6921 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5186, allocations: 0 / 0.6921 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007386/0.5193, allocations: 227.4 kB / 0.6924 GB, free: 9.266 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.001859/0.5212, allocations: 0.5591 MB / 0.6929 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005388/0.5217, allocations: 232.6 kB / 0.6931 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5217, allocations: 0 / 0.6931 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.5219, allocations: 63.92 kB / 0.6932 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008513/0.5227, allocations: 148.8 kB / 0.6933 GB, free: 8.418 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001924/0.5246, allocations: 1.203 MB / 0.6945 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.525, allocations: 325 kB / 0.6948 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.5251, allocations: 47.42 kB / 0.6949 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of SimCode: time 3.81e-07/0.5251, allocations: 0 / 0.6949 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of Templates: time 0.01878/0.5439, allocations: 13.03 MB / 0.7076 GB, free: 9.762 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: 8.886146973003633] Failed to read output from testmodel.py, exit status != 0: 0.5531152850016952 0.569183816 0.067325091 Calling exit ...