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.0013/0.0013, 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.001417/0.001417, allocations: 213.2 kB / 24.48 MB, free: 3.844 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.367/1.367, allocations: 207.7 MB / 235.3 MB, free: 9.816 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.312/0.312, allocations: 49.61 MB / 337.2 MB, free: 3.875 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.002262/0.002262, allocations: 79.89 kB / 477.6 MB, free: 12.28 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.12, allocations: 62.44 MB / 0.5274 GB, free: 13.65 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.4008/0.5208, allocations: 147.5 MB / 0.6714 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005871/0.5267, allocations: 3.46 MB / 0.6748 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004187/0.5271, allocations: 11.94 kB / 0.6748 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009082/0.528, allocations: 254.4 kB / 0.675 GB, free: 13.68 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.001227/0.5292, allocations: 453.7 kB / 0.6755 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004075/0.5333, allocations: 1.504 MB / 0.6769 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001629/0.5349, allocations: 1.227 MB / 0.6781 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004857/0.5354, allocations: 310.5 kB / 0.6784 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006781/0.5361, allocations: 478.4 kB / 0.6789 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005915/0.5367, allocations: 422.3 kB / 0.6793 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.5368, allocations: 56 kB / 0.6794 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002657/0.5394, allocations: 1.232 MB / 0.6806 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003445/0.5398, allocations: 323.1 kB / 0.6809 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004056/0.5402, allocations: 342.5 kB / 0.6812 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003576/0.5438, allocations: 1.596 MB / 0.6827 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.5438, allocations: 0 / 0.6827 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.526e-06/0.5438, allocations: 4 kB / 0.6828 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.821e-05/0.5438, allocations: 3.984 kB / 0.6828 GB, free: 5.766 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.002426/0.5462, allocations: 1.068 MB / 0.6838 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.5463, allocations: 8.031 kB / 0.6838 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007284/0.547, allocations: 147.4 kB / 0.6839 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008333/0.5478, allocations: 470.7 kB / 0.6844 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.053e-05/0.5479, allocations: 37.31 kB / 0.6844 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.323e-05/0.5479, allocations: 51.98 kB / 0.6845 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/0.5493, allocations: 1.046 MB / 0.6855 GB, free: 2.77 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.5494, allocations: 4 kB / 0.6855 GB, free: 2.766 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.139e-05/0.5494, allocations: 26.56 kB / 0.6855 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/0.5494, allocations: 16 kB / 0.6855 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007564/0.5502, allocations: 465 kB / 0.686 GB, free: 2.27 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.003788/0.554, allocations: 1.577 MB / 0.6875 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.5542, allocations: 118.6 kB / 0.6876 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.5543, allocations: 52.84 kB / 0.6877 GB, free: 476 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002258/0.5546, allocations: 55.94 kB / 0.6877 GB, free: 420 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.5546, allocations: 38.56 kB / 0.6878 GB, free: 372 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.5546, allocations: 0 / 0.6878 GB, free: 372 kB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0004941/0.5551, allocations: 222.9 kB / 0.688 GB, free: 144 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.5551, allocations: 55.41 kB / 0.6881 GB, free: 76 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009359/0.5561, allocations: 0.7526 MB / 0.6888 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.569e-05/0.5561, allocations: 29.7 kB / 0.6888 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003201/0.5564, allocations: 407.6 kB / 0.6892 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.918e-05/0.5565, allocations: 55.55 kB / 0.6893 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.5566, allocations: 90.08 kB / 0.6893 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001979/0.5568, allocations: 370.7 kB / 0.6897 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002209/0.557, allocations: 134.6 kB / 0.6898 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003301/0.5574, allocations: 250.3 kB / 0.6901 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004674/0.5578, allocations: 341.7 kB / 0.6904 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.5578, allocations: 7.938 kB / 0.6904 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007391/0.5586, allocations: 448.7 kB / 0.6908 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.5586, allocations: 8.562 kB / 0.6908 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.5586, allocations: 4 kB / 0.6908 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.209e-05/0.5586, allocations: 15.98 kB / 0.6909 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005126/0.5592, allocations: 115.8 kB / 0.691 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004636/0.5596, allocations: 0.6016 MB / 0.6915 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000376/0.56, allocations: 47.66 kB / 0.6916 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.263e-05/0.56, allocations: 27.98 kB / 0.6916 GB, free: 12.22 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.0003556/0.5604, allocations: 245.6 kB / 0.6919 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.5605, allocations: 59.66 kB / 0.6919 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003822/0.5609, allocations: 204.4 kB / 0.6921 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.5609, allocations: 0 / 0.6921 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.5609, allocations: 0.5625 kB / 0.6921 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.5609, allocations: 4 kB / 0.6921 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/0.5621, allocations: 0.6682 MB / 0.6928 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.5621, allocations: 0.6875 kB / 0.6928 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002261/0.5623, allocations: 47.91 kB / 0.6928 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.5623, allocations: 0 / 0.6928 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.5623, allocations: 12.09 kB / 0.6928 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003976/0.5627, allocations: 0.5977 MB / 0.6934 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5627, allocations: 2.875 kB / 0.6934 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000479/0.5632, allocations: 362.3 kB / 0.6938 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/0.5633, allocations: 67.62 kB / 0.6938 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.095e-05/0.5634, allocations: 4 kB / 0.6938 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003549/0.5637, allocations: 23.92 kB / 0.6938 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.817e-05/0.5638, allocations: 11.97 kB / 0.6939 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.45e-05/0.5638, allocations: 20.23 kB / 0.6939 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006459/0.5645, allocations: 0.5222 MB / 0.6944 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.5645, allocations: 0 / 0.6944 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007293/0.5652, allocations: 235.4 kB / 0.6946 GB, free: 9.059 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.001899/0.5671, allocations: 0.5736 MB / 0.6952 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005351/0.5676, allocations: 235.8 kB / 0.6954 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.5676, allocations: 0 / 0.6954 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.5678, allocations: 63.91 kB / 0.6955 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008565/0.5686, allocations: 159.5 kB / 0.6956 GB, free: 8.031 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.5706, allocations: 1.201 MB / 0.6968 GB, free: 6.781 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.5709, allocations: 320.9 kB / 0.6971 GB, free: 6.445 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.571, allocations: 43.38 kB / 0.6971 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of SimCode: time 4.41e-07/0.571, allocations: 0 / 0.6971 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of Templates: time 0.01978/0.5908, allocations: 12.95 MB / 0.7098 GB, free: 9.426 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: 9.057420375291258] Failed to read output from testmodel.py, exit status != 0: 0.5999177000485361 0.614697675 0.06778682600000001 Calling exit ...