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.001337/0.001337, 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.00151/0.00151, allocations: 210.1 kB / 24.49 MB, free: 4.145 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.414/1.414, allocations: 230.6 MB / 258.3 MB, free: 7.953 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.1492/0.1492, allocations: 26.82 MB / 341.5 MB, free: 8.18 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.00214/0.00214, allocations: 67.89 kB / 478.1 MB, free: 3.164 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3102, allocations: 60.48 MB / 0.5259 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.2072/0.5174, allocations: 170.2 MB / 0.6921 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005934/0.5233, allocations: 3.606 MB / 0.6956 GB, free: 6.645 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004599/0.5238, allocations: 7.938 kB / 0.6956 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009679/0.5248, allocations: 286.3 kB / 0.6959 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001318/0.5261, allocations: 493.4 kB / 0.6964 GB, free: 5.871 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003974/0.5301, allocations: 1.451 MB / 0.6978 GB, free: 4.434 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001812/0.5319, allocations: 1.251 MB / 0.699 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000618/0.5325, allocations: 325.6 kB / 0.6993 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009178/0.5334, allocations: 486.3 kB / 0.6998 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007884/0.5342, allocations: 450.3 kB / 0.7002 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001404/0.5343, allocations: 52 kB / 0.7003 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002994/0.5373, allocations: 1.399 MB / 0.7016 GB, free: 496 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003745/0.5377, allocations: 319.2 kB / 0.7019 GB, free: 176 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006159/0.5383, allocations: 422 kB / 0.7023 GB, free: 15.76 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002892/0.5412, allocations: 1.592 MB / 0.7039 GB, free: 14.16 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.5412, allocations: 0 / 0.7039 GB, free: 14.16 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5412, allocations: 0 / 0.7039 GB, free: 14.16 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.832e-05/0.5413, allocations: 0 / 0.7039 GB, free: 14.16 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.002206/0.5435, allocations: 1.083 MB / 0.705 GB, free: 13.05 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.5435, allocations: 12.02 kB / 0.705 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000809/0.5443, allocations: 139.4 kB / 0.7051 GB, free: 12.9 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009792/0.5453, allocations: 478.8 kB / 0.7056 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.408e-05/0.5453, allocations: 41.25 kB / 0.7056 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-05/0.5454, allocations: 51.95 kB / 0.7056 GB, free: 12.31 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.5465, allocations: 0.6119 MB / 0.7062 GB, free: 11.69 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.5465, allocations: 0 / 0.7062 GB, free: 11.69 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.78e-05/0.5466, allocations: 24 kB / 0.7063 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.5466, allocations: 12 kB / 0.7063 GB, free: 11.65 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007953/0.5474, allocations: 481 kB / 0.7067 GB, free: 11.18 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.004305/0.5517, allocations: 2.012 MB / 0.7087 GB, free: 9.07 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.552, allocations: 130.6 kB / 0.7088 GB, free: 8.934 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.5521, allocations: 52.84 kB / 0.7089 GB, free: 8.879 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002524/0.5524, allocations: 43.95 kB / 0.7089 GB, free: 8.836 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/0.5524, allocations: 38.56 kB / 0.709 GB, free: 8.789 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.853e-06/0.5524, allocations: 0 / 0.709 GB, free: 8.789 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0005346/0.5529, allocations: 245 kB / 0.7092 GB, free: 8.543 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.553, allocations: 59.34 kB / 0.7092 GB, free: 8.473 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/0.5543, allocations: 0.985 MB / 0.7102 GB, free: 7.477 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.748e-05/0.5544, allocations: 37.64 kB / 0.7102 GB, free: 7.434 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003538/0.5547, allocations: 399.9 kB / 0.7106 GB, free: 7.039 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.471e-05/0.5548, allocations: 55.53 kB / 0.7107 GB, free: 6.984 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.5549, allocations: 86.03 kB / 0.7108 GB, free: 6.895 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.5551, allocations: 329.9 kB / 0.7111 GB, free: 6.566 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002315/0.5553, allocations: 126.7 kB / 0.7112 GB, free: 6.438 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003689/0.5557, allocations: 258.3 kB / 0.7114 GB, free: 6.121 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004875/0.5562, allocations: 340.7 kB / 0.7118 GB, free: 5.727 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.5562, allocations: 0 / 0.7118 GB, free: 5.727 MB / 0.545 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008117/0.557, allocations: 472.5 kB / 0.7122 GB, free: 5.258 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/0.557, allocations: 14.64 kB / 0.7122 GB, free: 5.246 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.557, allocations: 4 kB / 0.7122 GB, free: 5.242 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.557, allocations: 8 kB / 0.7122 GB, free: 5.234 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005305/0.5576, allocations: 107.8 kB / 0.7123 GB, free: 5.129 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005084/0.5581, allocations: 0.6061 MB / 0.7129 GB, free: 4.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004559/0.5585, allocations: 75.39 kB / 0.713 GB, free: 4.426 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-05/0.5586, allocations: 31.92 kB / 0.713 GB, free: 4.395 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.0003542/0.5589, allocations: 245.6 kB / 0.7133 GB, free: 4.145 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/0.5591, allocations: 79.61 kB / 0.7133 GB, free: 4.066 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004266/0.5595, allocations: 238.8 kB / 0.7136 GB, free: 3.828 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.5595, allocations: 0 / 0.7136 GB, free: 3.828 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.5595, allocations: 0 / 0.7136 GB, free: 3.828 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.5595, allocations: 4 kB / 0.7136 GB, free: 3.824 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/0.5608, allocations: 0.7691 MB / 0.7143 GB, free: 2.996 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.5608, allocations: 0 / 0.7143 GB, free: 2.996 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002418/0.5611, allocations: 52 kB / 0.7144 GB, free: 2.945 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.5611, allocations: 4 kB / 0.7144 GB, free: 2.941 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.5611, allocations: 4 kB / 0.7144 GB, free: 2.938 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00044/0.5615, allocations: 0.5938 MB / 0.715 GB, free: 2.32 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.024e-06/0.5615, allocations: 7.969 kB / 0.715 GB, free: 2.312 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005738/0.5621, allocations: 389.6 kB / 0.7153 GB, free: 1.906 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002155/0.5623, allocations: 95.47 kB / 0.7154 GB, free: 1.812 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.46e-05/0.5624, allocations: 7.938 kB / 0.7154 GB, free: 1.805 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003999/0.5628, allocations: 15.98 kB / 0.7155 GB, free: 1.789 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.389e-05/0.5628, allocations: 15.97 kB / 0.7155 GB, free: 1.773 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.688e-05/0.5629, allocations: 19.98 kB / 0.7155 GB, free: 1.754 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009602/0.5638, allocations: 0.7098 MB / 0.7162 GB, free: 1.047 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5638, allocations: 0 / 0.7162 GB, free: 1.047 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008253/0.5647, allocations: 215.6 kB / 0.7164 GB, free: 0.8359 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.001866/0.5665, allocations: 0.5241 MB / 0.7169 GB, free: 448 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005498/0.5671, allocations: 236.6 kB / 0.7171 GB, free: 212 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/0.5671, allocations: 8 kB / 0.7171 GB, free: 204 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.5672, allocations: 63.91 kB / 0.7172 GB, free: 140 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/0.5687, allocations: 319 kB / 0.7175 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.5707, allocations: 1.234 MB / 0.7187 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005986/0.5713, allocations: 0.9135 MB / 0.7196 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.5714, allocations: 59.42 kB / 0.7197 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of SimCode: time 6.91e-07/0.5714, allocations: 4 kB / 0.7197 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of Templates: time 0.2294/0.8008, allocations: 15.15 MB / 0.7345 GB, free: 193.6 MB / 0.5606 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: 10.003720193984918] Failed to read output from testmodel.py, exit status != 0: 0.8092578299110755 0.821062469 0.27705037600000004 Calling exit ...