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.001804/0.001804, allocations: 79.19 kB / 21.27 MB, free: 388 kB / 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.002252/0.002252, allocations: 163.7 kB / 24.53 MB, free: 3.59 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.488/1.488, allocations: 177.2 MB / 204.9 MB, free: 9.273 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.154/0.154, allocations: 19.7 MB / 281 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.002055/0.002055, allocations: 67.91 kB / 417.6 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3772/0.3792, allocations: 60.45 MB / 478 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.216/0.5952, allocations: 146.8 MB / 0.6102 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006044/0.6012, allocations: 3.357 MB / 0.6134 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004456/0.6017, allocations: 11.88 kB / 0.6134 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009265/0.6026, allocations: 258.4 kB / 0.6137 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001255/0.6039, allocations: 0.5404 MB / 0.6142 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004145/0.608, allocations: 1.541 MB / 0.6157 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001737/0.6098, allocations: 1.247 MB / 0.6169 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005476/0.6103, allocations: 337.9 kB / 0.6173 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009797/0.6113, allocations: 0.6661 MB / 0.6179 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006789/0.612, allocations: 466.2 kB / 0.6184 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.439e-05/0.6121, allocations: 56 kB / 0.6184 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002464/0.6145, allocations: 1.177 MB / 0.6196 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004223/0.6149, allocations: 382.9 kB / 0.6199 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004652/0.6154, allocations: 386.2 kB / 0.6203 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002478/0.6179, allocations: 1.686 MB / 0.6219 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.6179, allocations: 0 / 0.6219 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.372e-06/0.6179, allocations: 0 / 0.6219 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.223e-05/0.6179, allocations: 0 / 0.6219 GB, free: 2.926 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.002132/0.62, allocations: 1.239 MB / 0.6232 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.6201, allocations: 12.03 kB / 0.6232 GB, free: 1.641 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007916/0.6209, allocations: 163.3 kB / 0.6233 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.6219, allocations: 0.5937 MB / 0.6239 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.978e-05/0.6219, allocations: 40.94 kB / 0.6239 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.452e-05/0.622, allocations: 48 kB / 0.624 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/0.6235, allocations: 1.03 MB / 0.625 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.6235, allocations: 3.953 kB / 0.625 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-05/0.6235, allocations: 24 kB / 0.625 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.6236, allocations: 12 kB / 0.625 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000752/0.6243, allocations: 467.7 kB / 0.6255 GB, free: 15.13 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.003665/0.628, allocations: 1.621 MB / 0.6271 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002812/0.6283, allocations: 134.6 kB / 0.6272 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.6284, allocations: 52.84 kB / 0.6272 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002514/0.6286, allocations: 43.95 kB / 0.6273 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/0.6286, allocations: 38.56 kB / 0.6273 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.422e-06/0.6286, allocations: 0 / 0.6273 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0005192/0.6292, allocations: 245.9 kB / 0.6275 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.6292, allocations: 51.41 kB / 0.6276 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001472/0.6307, allocations: 1.133 MB / 0.6287 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.872e-05/0.6307, allocations: 33.7 kB / 0.6287 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004234/0.6312, allocations: 479.5 kB / 0.6292 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.09e-05/0.6312, allocations: 55.53 kB / 0.6292 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001656/0.6314, allocations: 85.97 kB / 0.6293 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.6316, allocations: 321.9 kB / 0.6296 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002269/0.6318, allocations: 126.7 kB / 0.6298 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003294/0.6321, allocations: 250.1 kB / 0.63 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005128/0.6326, allocations: 347.8 kB / 0.6303 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.6326, allocations: 0 / 0.6303 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008225/0.6334, allocations: 457.1 kB / 0.6308 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.6335, allocations: 12.09 kB / 0.6308 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.6335, allocations: 8 kB / 0.6308 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/0.6335, allocations: 7.984 kB / 0.6308 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004812/0.634, allocations: 103.8 kB / 0.6309 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005145/0.6345, allocations: 0.6055 MB / 0.6315 GB, free: 8.711 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004083/0.6349, allocations: 59.59 kB / 0.6315 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.992e-05/0.635, allocations: 20 kB / 0.6316 GB, free: 8.633 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.0004653/0.6354, allocations: 300.7 kB / 0.6318 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.6356, allocations: 79.47 kB / 0.6319 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004417/0.636, allocations: 228.1 kB / 0.6321 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.636, allocations: 0 / 0.6321 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.636, allocations: 0 / 0.6321 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/0.636, allocations: 3.984 kB / 0.6321 GB, free: 8.02 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006294/0.6367, allocations: 421 kB / 0.6325 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.6367, allocations: 3.938 kB / 0.6325 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002556/0.6369, allocations: 47.84 kB / 0.6326 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.6369, allocations: 0 / 0.6326 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.6369, allocations: 8 kB / 0.6326 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004212/0.6374, allocations: 0.6016 MB / 0.6332 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.6374, allocations: 3.938 kB / 0.6332 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005135/0.6379, allocations: 366.9 kB / 0.6335 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001791/0.6381, allocations: 91.44 kB / 0.6336 GB, free: 6.426 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.756e-05/0.6381, allocations: 8 kB / 0.6336 GB, free: 6.418 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003599/0.6385, allocations: 11.98 kB / 0.6336 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.054e-05/0.6385, allocations: 11.98 kB / 0.6337 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.882e-05/0.6385, allocations: 16.12 kB / 0.6337 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001094/0.6396, allocations: 0.7919 MB / 0.6344 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6396, allocations: 0 / 0.6344 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008452/0.6405, allocations: 243.4 kB / 0.6347 GB, free: 5.355 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.001932/0.6424, allocations: 0.5686 MB / 0.6352 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005489/0.643, allocations: 228.6 kB / 0.6354 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.643, allocations: 4.062 kB / 0.6355 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.6431, allocations: 63.91 kB / 0.6355 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008784/0.644, allocations: 166.7 kB / 0.6357 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002601/0.6466, allocations: 1.529 MB / 0.6372 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004873/0.6471, allocations: 395.8 kB / 0.6375 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003934/0.6475, allocations: 140.9 kB / 0.6377 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.6476, allocations: 56.48 kB / 0.6377 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of SimCode: time 7.11e-07/0.6476, allocations: 0 / 0.6377 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of Templates: time 0.3784/1.026, allocations: 11.45 MB / 0.6489 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 -s cvode -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.2446682699956] Failed to read output from testmodel.py, exit status != 0: 1.0355476050172001 1.044606397 0.424403999 Calling exit ...