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.001461/0.001461, allocations: 79.86 kB / 20.53 MB, free: 1.352 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.00161/0.00161, allocations: 168.8 kB / 23.79 MB, free: 4.508 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.47/1.47, allocations: 177.2 MB / 204.1 MB, free: 9.293 MB / 190.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.1385/0.1385, allocations: 19.71 MB / 280.3 MB, free: 13.06 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.002277/0.002277, allocations: 63.91 kB / 416.8 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.3, allocations: 60.46 MB / 477.3 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.1971/0.4971, allocations: 146.7 MB / 0.6094 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005571/0.5027, allocations: 3.361 MB / 0.6127 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003919/0.5031, allocations: 11.88 kB / 0.6127 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000891/0.504, allocations: 258.4 kB / 0.613 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001086/0.5051, allocations: 0.5287 MB / 0.6135 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003924/0.509, allocations: 1.539 MB / 0.615 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001554/0.5105, allocations: 1.243 MB / 0.6162 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004967/0.511, allocations: 333.8 kB / 0.6165 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009114/0.512, allocations: 0.6738 MB / 0.6172 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006408/0.5126, allocations: 466.3 kB / 0.6176 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.646e-05/0.5127, allocations: 59.94 kB / 0.6177 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002351/0.515, allocations: 1.185 MB / 0.6188 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004095/0.5155, allocations: 371 kB / 0.6192 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004622/0.5159, allocations: 386.1 kB / 0.6195 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0024/0.5183, allocations: 1.69 MB / 0.6212 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.5183, allocations: 0 / 0.6212 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.024e-06/0.5183, allocations: 4 kB / 0.6212 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.364e-05/0.5183, allocations: 0 / 0.6212 GB, free: 2.918 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002144/0.5205, allocations: 1.239 MB / 0.6224 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.5205, allocations: 12.03 kB / 0.6224 GB, free: 1.633 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007656/0.5213, allocations: 167.3 kB / 0.6226 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009943/0.5223, allocations: 0.5859 MB / 0.6232 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.042e-05/0.5223, allocations: 37 kB / 0.6232 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.133e-05/0.5224, allocations: 48 kB / 0.6232 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/0.5238, allocations: 1.038 MB / 0.6242 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.5238, allocations: 3.953 kB / 0.6243 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.979e-05/0.5238, allocations: 24 kB / 0.6243 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/0.5238, allocations: 16 kB / 0.6243 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007417/0.5246, allocations: 459.8 kB / 0.6247 GB, free: 15.12 MB / 0.5294 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.003793/0.5284, allocations: 1.625 MB / 0.6263 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002964/0.5287, allocations: 130.6 kB / 0.6264 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.5288, allocations: 52.59 kB / 0.6265 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002508/0.529, allocations: 51.95 kB / 0.6265 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.345e-05/0.5291, allocations: 38.56 kB / 0.6266 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.843e-06/0.5291, allocations: 3.938 kB / 0.6266 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0005352/0.5296, allocations: 241.4 kB / 0.6268 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.5297, allocations: 51.41 kB / 0.6269 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001482/0.5311, allocations: 1.122 MB / 0.628 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.839e-05/0.5312, allocations: 33.7 kB / 0.628 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000439/0.5316, allocations: 475.5 kB / 0.6284 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.874e-05/0.5317, allocations: 59.52 kB / 0.6285 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.5318, allocations: 85.97 kB / 0.6286 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.532, allocations: 329.9 kB / 0.6289 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000221/0.5322, allocations: 130.6 kB / 0.629 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000317/0.5325, allocations: 250 kB / 0.6293 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004867/0.533, allocations: 340.1 kB / 0.6296 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.533, allocations: 0 / 0.6296 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007562/0.5338, allocations: 460.6 kB / 0.63 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.5338, allocations: 8 kB / 0.63 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.5338, allocations: 4 kB / 0.63 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.5338, allocations: 4 kB / 0.63 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004818/0.5343, allocations: 116.3 kB / 0.6301 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004479/0.5348, allocations: 0.6055 MB / 0.6307 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003885/0.5351, allocations: 59.61 kB / 0.6308 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.904e-05/0.5352, allocations: 19.98 kB / 0.6308 GB, free: 8.625 MB / 0.5294 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.0004464/0.5356, allocations: 293.6 kB / 0.6311 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.5358, allocations: 79.47 kB / 0.6312 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004406/0.5362, allocations: 228 kB / 0.6314 GB, free: 8.02 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.5362, allocations: 0 / 0.6314 GB, free: 8.02 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.5362, allocations: 4.094 kB / 0.6314 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.5362, allocations: 4.078 kB / 0.6314 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006295/0.5369, allocations: 421 kB / 0.6318 GB, free: 7.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.5369, allocations: 0 / 0.6318 GB, free: 7.57 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002457/0.5371, allocations: 51.89 kB / 0.6318 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.5371, allocations: 0 / 0.6318 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.5371, allocations: 7.938 kB / 0.6319 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003783/0.5375, allocations: 0.6016 MB / 0.6324 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.5375, allocations: 0 / 0.6324 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004732/0.538, allocations: 363 kB / 0.6328 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000173/0.5382, allocations: 99.59 kB / 0.6329 GB, free: 6.418 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.371e-05/0.5382, allocations: 4 kB / 0.6329 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003647/0.5386, allocations: 15.98 kB / 0.6329 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/0.5386, allocations: 7.984 kB / 0.6329 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.788e-05/0.5387, allocations: 19.97 kB / 0.6329 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009727/0.5396, allocations: 0.7879 MB / 0.6337 GB, free: 5.59 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5396, allocations: 0 / 0.6337 GB, free: 5.59 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007673/0.5404, allocations: 243.4 kB / 0.6339 GB, free: 5.352 MB / 0.5294 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.001898/0.5423, allocations: 0.5714 MB / 0.6345 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005243/0.5428, allocations: 219.7 kB / 0.6347 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.5428, allocations: 3.938 kB / 0.6347 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.543, allocations: 59.98 kB / 0.6348 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008611/0.5438, allocations: 166.3 kB / 0.6349 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00234/0.5462, allocations: 1.533 MB / 0.6364 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004664/0.5466, allocations: 406.7 kB / 0.6368 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003738/0.547, allocations: 140.9 kB / 0.6369 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.5471, allocations: 48.5 kB / 0.637 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of SimCode: time 4.91e-07/0.5471, allocations: 0 / 0.637 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of Templates: time 0.2458/0.7929, allocations: 11.47 MB / 0.6482 GB, free: 165.7 MB / 0.5294 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: 5.638012120500207] Failed to read output from testmodel.py, exit status != 0: 0.8014977388083935 0.809995762 0.28938730700000004 Calling exit ...