Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.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.001936/0.001936, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.002183/0.002183, allocations: 210 kB / 24.5 MB, free: 4.133 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.444/1.444, allocations: 230.6 MB / 258.3 MB, free: 8.234 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.1485/0.1485, allocations: 26.82 MB / 341.5 MB, free: 8.25 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.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine") translateModel(ThermoPower.Test.GasComponents.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine") [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.002137/0.002137, allocations: 67.89 kB / 478.1 MB, free: 3.215 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3146, allocations: 60.48 MB / 0.5259 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.1977/0.5123, allocations: 170.1 MB / 0.692 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005724/0.5181, allocations: 3.665 MB / 0.6956 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004239/0.5185, allocations: 11.88 kB / 0.6956 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008758/0.5194, allocations: 282.3 kB / 0.6959 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001223/0.5206, allocations: 0.5404 MB / 0.6964 GB, free: 5.863 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00393/0.5245, allocations: 1.525 MB / 0.6979 GB, free: 4.355 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001776/0.5263, allocations: 1.286 MB / 0.6992 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005575/0.5268, allocations: 337.5 kB / 0.6995 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007824/0.5276, allocations: 0.5022 MB / 0.7 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007074/0.5283, allocations: 498.2 kB / 0.7004 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.645e-05/0.5284, allocations: 56 kB / 0.7005 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002917/0.5313, allocations: 1.399 MB / 0.7019 GB, free: 288 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004135/0.5318, allocations: 387 kB / 0.7022 GB, free: 15.9 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005209/0.5323, allocations: 461.6 kB / 0.7027 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002651/0.5349, allocations: 1.7 MB / 0.7043 GB, free: 13.75 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.499e-05/0.5349, allocations: 4 kB / 0.7043 GB, free: 13.74 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5349, allocations: 0 / 0.7043 GB, free: 13.74 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.678e-05/0.535, allocations: 0 / 0.7043 GB, free: 13.74 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002299/0.5373, allocations: 1.242 MB / 0.7056 GB, free: 12.46 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.5373, allocations: 8.031 kB / 0.7056 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007994/0.5381, allocations: 171.2 kB / 0.7057 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.5392, allocations: 0.595 MB / 0.7063 GB, free: 11.67 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.558e-05/0.5392, allocations: 37 kB / 0.7063 GB, free: 11.63 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.229e-05/0.5393, allocations: 48 kB / 0.7064 GB, free: 11.58 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.5403, allocations: 0.5995 MB / 0.707 GB, free: 10.97 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.5403, allocations: 3.953 kB / 0.707 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.38e-05/0.5404, allocations: 32 kB / 0.707 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.5404, allocations: 12 kB / 0.707 GB, free: 10.92 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007634/0.5412, allocations: 467.7 kB / 0.7075 GB, free: 10.46 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.004236/0.5454, allocations: 2.042 MB / 0.7095 GB, free: 8.332 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002853/0.5457, allocations: 134.6 kB / 0.7096 GB, free: 8.191 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.989e-05/0.5458, allocations: 44.84 kB / 0.7096 GB, free: 8.145 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002543/0.5461, allocations: 48.2 kB / 0.7097 GB, free: 8.098 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.5461, allocations: 46.5 kB / 0.7097 GB, free: 8.043 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 2.104e-06/0.5461, allocations: 0 / 0.7097 GB, free: 8.043 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0005726/0.5467, allocations: 265 kB / 0.71 GB, free: 7.777 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.5467, allocations: 55.41 kB / 0.71 GB, free: 7.711 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001759/0.5485, allocations: 1.348 MB / 0.7113 GB, free: 6.34 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.771e-05/0.5485, allocations: 33.7 kB / 0.7114 GB, free: 6.301 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004273/0.5489, allocations: 467.8 kB / 0.7118 GB, free: 5.84 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.476e-05/0.549, allocations: 59.52 kB / 0.7119 GB, free: 5.781 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.5491, allocations: 78.03 kB / 0.712 GB, free: 5.699 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.5493, allocations: 326 kB / 0.7123 GB, free: 5.375 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002259/0.5495, allocations: 130.6 kB / 0.7124 GB, free: 5.246 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000317/0.5498, allocations: 249.4 kB / 0.7126 GB, free: 4.941 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004822/0.5503, allocations: 336.2 kB / 0.7129 GB, free: 4.555 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.5503, allocations: 4 kB / 0.713 GB, free: 4.551 MB / 0.545 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008056/0.5511, allocations: 480.5 kB / 0.7134 GB, free: 4.074 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.5512, allocations: 8 kB / 0.7134 GB, free: 4.066 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.5512, allocations: 4 kB / 0.7134 GB, free: 4.062 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.502e-05/0.5512, allocations: 11.94 kB / 0.7134 GB, free: 4.051 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004762/0.5517, allocations: 99.88 kB / 0.7135 GB, free: 3.953 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004493/0.5521, allocations: 0.606 MB / 0.7141 GB, free: 3.324 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004578/0.5526, allocations: 79.39 kB / 0.7142 GB, free: 3.246 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.584e-05/0.5526, allocations: 19.98 kB / 0.7142 GB, free: 3.227 MB / 0.545 GB Warning: Assuming fixed start value for the following 1 variables: Inertia1.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Absolute rotation angle of component\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (47): * Single equations (assignments): 46 * 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.0004492/0.5531, allocations: 301.5 kB / 0.7145 GB, free: 2.922 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001542/0.5532, allocations: 99.39 kB / 0.7146 GB, free: 2.824 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000443/0.5537, allocations: 257.6 kB / 0.7148 GB, free: 2.57 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.5537, allocations: 4 kB / 0.7148 GB, free: 2.566 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.5537, allocations: 0 / 0.7148 GB, free: 2.566 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.5537, allocations: 4.078 kB / 0.7148 GB, free: 2.562 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007511/0.5544, allocations: 0.5325 MB / 0.7154 GB, free: 1.988 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.5544, allocations: 0 / 0.7154 GB, free: 1.988 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002365/0.5547, allocations: 43.97 kB / 0.7154 GB, free: 1.945 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.5547, allocations: 0 / 0.7154 GB, free: 1.945 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.5547, allocations: 3.984 kB / 0.7154 GB, free: 1.941 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000401/0.5551, allocations: 0.5977 MB / 0.716 GB, free: 1.32 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.5551, allocations: 0 / 0.716 GB, free: 1.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005574/0.5556, allocations: 387.2 kB / 0.7164 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002906/0.5559, allocations: 123.3 kB / 0.7165 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.813e-05/0.556, allocations: 4 kB / 0.7165 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003981/0.5564, allocations: 16.12 kB / 0.7165 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.042e-05/0.5565, allocations: 19.92 kB / 0.7165 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.751e-05/0.5565, allocations: 19.92 kB / 0.7165 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001269/0.5578, allocations: 0.9543 MB / 0.7175 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.5578, allocations: 0 / 0.7175 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007732/0.5585, allocations: 223.6 kB / 0.7177 GB, free: 15.56 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Inertia1.phi,Inertia1.w) * 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 (14): * Single equations (assignments): 13 * 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.001795/0.5603, allocations: 0.5342 MB / 0.7182 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005776/0.5609, allocations: 223.9 kB / 0.7184 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.5609, allocations: 0 / 0.7184 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.5611, allocations: 59.91 kB / 0.7185 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001583/0.5626, allocations: 346.6 kB / 0.7188 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002635/0.5653, allocations: 1.598 MB / 0.7204 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007067/0.566, allocations: 0.9918 MB / 0.7213 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002057/0.5662, allocations: 63.42 kB / 0.7214 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of SimCode: time 4.71e-07/0.5662, allocations: 0 / 0.7214 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of Templates: time 0.224/0.7902, allocations: 17.24 MB / 0.7382 GB, free: 193.4 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.16705936100334] Failed to read output from testmodel.py, exit status != 0: 0.7993863860610873 0.8100188389999999 0.27240311100000003 Calling exit ...